[email protected] | fece3a7e | 2011-04-19 19:48:35 | [diff] [blame] | 1 | include_rules = [ |
[email protected] | 15dabb7 | 2012-10-04 20:07:29 | [diff] [blame] | 2 | "+cc/switches.h", # For cc command line switches. |
danakj | f595b91 | 2017-06-30 22:37:25 | [diff] [blame] | 3 | "+components/viz/common", |
| 4 | "+components/viz/host", |
| 5 | "+components/viz/service", |
Scott Violet | 2462c1e | 2018-08-23 21:50:52 | [diff] [blame] | 6 | "+services/ws/public", |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 7 | "+third_party/blink/public/platform/web_gesture_curve.h", |
[email protected] | fece3a7e | 2011-04-19 19:48:35 | [diff] [blame] | 8 | "+third_party/zlib", |
Sahel Sharify | a29ee211 | 2017-12-15 23:22:54 | [diff] [blame] | 9 | "+ui/events/gestures/blink/web_gesture_curve_impl.h", |
mfomitchev | 598a769 | 2017-04-11 00:30:31 | [diff] [blame] | 10 | "+ui/latency", |
[email protected] | fcc9037 | 2012-04-17 22:02:42 | [diff] [blame] | 11 | |
| 12 | # The renderer_host files should only call upwards in the layering via the |
| 13 | # delegate interfaces. |
[email protected] | d4a8ca48 | 2013-10-30 21:06:40 | [diff] [blame] | 14 | "-content/browser/frame_host", |
[email protected] | 4432769 | 2013-02-26 21:21:22 | [diff] [blame] | 15 | "-content/browser/web_contents", |
[email protected] | 37b735e | 2013-07-10 16:59:59 | [diff] [blame] | 16 | "-content/public/browser/web_contents.h", |
[email protected] | ba780c1 | 2013-10-01 17:07:06 | [diff] [blame] | 17 | "-content/public/browser/web_contents_delegate.h", |
[email protected] | 37b735e | 2013-07-10 16:59:59 | [diff] [blame] | 18 | "-content/public/browser/web_contents_view.h", |
[email protected] | fece3a7e | 2011-04-19 19:48:35 | [diff] [blame] | 19 | ] |
[email protected] | 4432769 | 2013-02-26 21:21:22 | [diff] [blame] | 20 | |
| 21 | specific_include_rules = { |
lazyboy | 549b3b4 | 2014-10-20 17:16:04 | [diff] [blame] | 22 | ".*_(unit|browser)test\.(cc|mm)": [ |
nzolghadr | 3fddfc5 | 2016-12-13 21:52:12 | [diff] [blame] | 23 | "+components/rappor/test_rappor_service.h", |
[email protected] | d4a8ca48 | 2013-10-30 21:06:40 | [diff] [blame] | 24 | "+content/browser/frame_host", |
[email protected] | 4432769 | 2013-02-26 21:21:22 | [diff] [blame] | 25 | "+content/browser/web_contents", |
[email protected] | 37b735e | 2013-07-10 16:59:59 | [diff] [blame] | 26 | "+content/public/browser/web_contents.h", |
Malay Keshav | 87c42c0 | 2019-01-15 08:37:47 | [diff] [blame] | 27 | "+content/public/browser/web_contents_delegate.h", |
[email protected] | 37b735e | 2013-07-10 16:59:59 | [diff] [blame] | 28 | "+content/public/browser/web_contents_view.h", |
[email protected] | 4432769 | 2013-02-26 21:21:22 | [diff] [blame] | 29 | ], |
Christopher Cameron | a5ff657 | 2019-05-07 01:41:27 | [diff] [blame] | 30 | ".*_mac.*": [ |
| 31 | "+content/app_shim_remote_cocoa", |
Christopher Cameron | 0f7b84ce | 2019-05-30 18:29:37 | [diff] [blame^] | 32 | "+components/remote_cocoa", |
Christopher Cameron | a5ff657 | 2019-05-07 01:41:27 | [diff] [blame] | 33 | ], |
avi | 2dfabeac | 2015-09-01 20:18:04 | [diff] [blame] | 34 | "render_process_host_impl\.cc": [ |
| 35 | "+content/browser/frame_host/render_frame_message_filter.h", |
Elliot Glaysher | 2f18c48 | 2017-08-17 18:18:44 | [diff] [blame] | 36 | # TODO(crbug.com/734668): Dependencies on ozone should be removed, as content |
| 37 | # embedded in mus won't be able to talk to the native ozone. |
| 38 | "+ui/ozone/public/ozone_switches.h", |
avi | 2dfabeac | 2015-09-01 20:18:04 | [diff] [blame] | 39 | ], |
[email protected] | 9c9343b | 2014-03-08 02:56:07 | [diff] [blame] | 40 | "render_widget_host_view_mac\.mm": [ |
| 41 | "+content/browser/frame_host", |
[email protected] | 959be4c | 2014-04-08 15:01:33 | [diff] [blame] | 42 | "+content/public/browser/web_contents.h", |
[email protected] | 9c9343b | 2014-03-08 02:56:07 | [diff] [blame] | 43 | ], |
[email protected] | d4a8ca48 | 2013-10-30 21:06:40 | [diff] [blame] | 44 | # TODO(nasko): Remove these exceptions once we've untangled the dependency |
| 45 | # of RenderViewHost on the FrameTree. |
| 46 | "render_view_host_impl\.(cc|h)": [ |
| 47 | "+content/browser/frame_host/frame_tree.h", |
[email protected] | d4a8ca48 | 2013-10-30 21:06:40 | [diff] [blame] | 48 | ], |
[email protected] | e5e438d6 | 2014-03-27 21:47:16 | [diff] [blame] | 49 | "render_widget_host_view_aura\.cc": [ |
| 50 | "+content/browser/frame_host", |
| 51 | ], |
jonross | 2843ae36 | 2016-10-21 16:48:23 | [diff] [blame] | 52 | "render_widget_host_view_event_handler\.cc": [ |
| 53 | "+content/browser/frame_host", |
| 54 | ], |
ekaramad | 51ca209 | 2016-11-17 06:05:58 | [diff] [blame] | 55 | # RenderWidgetHostViewGuest dependency is needed to allow for routing mouse |
| 56 | # events to the correct owner RenderWidgetHostViewBase. It should be removed |
| 57 | # when all inner WebContents are based on OOPIF structure (as opposed to |
| 58 | # BrowserPlugin). |
Ken Buchanan | daef006b | 2017-08-17 18:32:15 | [diff] [blame] | 59 | # TODO(kenrb, wjmaclean): Remove this when RenderWidgetHostViewGuest is |
| 60 | # deleted. See https://crbug.com/533069. |
kenrb | 89ed041 | 2016-09-14 19:05:48 | [diff] [blame] | 61 | "render_widget_host_input_event_router.cc": [ |
ekaramad | 51ca209 | 2016-11-17 06:05:58 | [diff] [blame] | 62 | "+content/browser/frame_host/render_widget_host_view_guest.h", |
kenrb | 89ed041 | 2016-09-14 19:05:48 | [diff] [blame] | 63 | ], |
Ria Jiang | edcd09ea | 2018-05-07 18:19:44 | [diff] [blame] | 64 | "render_widget_host_view_base\.cc": [ |
| 65 | "+content/browser/frame_host/render_widget_host_view_guest.h", |
| 66 | ], |
[email protected] | 4432769 | 2013-02-26 21:21:22 | [diff] [blame] | 67 | } |