summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/DEPS
blob: 0e0663e26980fdf8bc26726e69cbd5795630d238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
include_rules = [
  "+cc/switches.h", # For cc command line switches.
  "+components/display_compositor",
  "+components/variations",
  "+services/ui/public",
  "+third_party/zlib",
  "+ui/latency",

  # The renderer_host files should only call upwards in the layering via the
  # delegate interfaces.
  "-content/browser/frame_host",
  "-content/browser/web_contents",
  "-content/public/browser/web_contents.h",
  "-content/public/browser/web_contents_delegate.h",
  "-content/public/browser/web_contents_view.h",
]

specific_include_rules = {
  ".*_(unit|browser)test\.(cc|mm)": [
    "+components/rappor/test_rappor_service.h",
    "+content/browser/frame_host",
    "+content/browser/web_contents",
    "+content/public/browser/web_contents.h",
    "+content/public/browser/web_contents_view.h",
  ],
  "render_process_host_impl\.cc": [
    "+content/browser/frame_host/render_frame_message_filter.h",
  ],
  "render_widget_host_view_mac\.mm": [
    "+content/browser/frame_host",
    "+content/public/browser/web_contents.h",
  ],
  "ime_adapter_android\.cc": [
    "+content/browser/frame_host",
    "+content/public/browser/web_contents.h",
  ],
  # TODO(nasko): Remove these exceptions once we've untangled the dependency
  # of RenderViewHost on the FrameTree.
  "render_view_host_impl\.(cc|h)": [
    "+content/browser/frame_host/frame_tree.h",
  ],
  "render_widget_host_view_aura\.cc": [
    "+content/browser/frame_host",
  ],
  "render_widget_host_view_event_handler\.cc": [
    "+content/browser/frame_host",
  ],
  # TODO(kenrb): RenderWidgetHostViewChildFrame should eventually be moved
  # to content/renderer_host, at which time this can be removed.
  # RenderWidgetHostViewGuest dependency is needed to allow for routing mouse
  # events to the correct owner RenderWidgetHostViewBase. It should be removed
  # when all inner WebContents are based on OOPIF structure (as opposed to
  # BrowserPlugin).
  "render_widget_host_input_event_router.cc": [
    "+content/browser/frame_host/render_widget_host_view_child_frame.h",
    "+content/browser/frame_host/render_widget_host_view_guest.h",
  ],
  "touch_selection_controller_client_child_frame\.cc": [
    "+content/browser/frame_host/render_widget_host_view_child_frame.h",
  ],
}