Commit 42d31cf7 authored by Daniel Cheng's avatar Daniel Cheng Committed by Commit Bot

//content: Remove DEPS restriction on frame_host from renderer_host.

Bug: 1091083
Change-Id: Iffe64da78d65205e5fd6d5edf2283d3c62d16f8d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2229779
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774949}
parent 44459698
...@@ -11,7 +11,6 @@ include_rules = [ ...@@ -11,7 +11,6 @@ include_rules = [
# The renderer_host files should only call upwards in the layering via the # The renderer_host files should only call upwards in the layering via the
# delegate interfaces. # delegate interfaces.
"-content/browser/frame_host",
"-content/browser/web_contents", "-content/browser/web_contents",
"-content/public/browser/web_contents.h", "-content/public/browser/web_contents.h",
"-content/public/browser/web_contents_delegate.h", "-content/public/browser/web_contents_delegate.h",
...@@ -21,7 +20,6 @@ include_rules = [ ...@@ -21,7 +20,6 @@ include_rules = [
specific_include_rules = { specific_include_rules = {
".*_(unit|browser)test\.(cc|mm)": [ ".*_(unit|browser)test\.(cc|mm)": [
"+components/rappor/test_rappor_service.h", "+components/rappor/test_rappor_service.h",
"+content/browser/frame_host",
"+content/browser/web_contents", "+content/browser/web_contents",
"+content/public/browser/web_contents.h", "+content/public/browser/web_contents.h",
"+content/public/browser/web_contents_delegate.h", "+content/public/browser/web_contents_delegate.h",
...@@ -35,29 +33,12 @@ specific_include_rules = { ...@@ -35,29 +33,12 @@ specific_include_rules = {
"+components/viz/service", "+components/viz/service",
], ],
"render_process_host_impl\.cc": [ "render_process_host_impl\.cc": [
"+content/browser/frame_host/render_frame_message_filter.h",
"+google_apis/gaia/gaia_switches.h", "+google_apis/gaia/gaia_switches.h",
# TODO(crbug.com/734668): Dependencies on ozone should be removed, as content # TODO(crbug.com/734668): Dependencies on ozone should be removed, as content
# embedded in mus won't be able to talk to the native ozone. # embedded in mus won't be able to talk to the native ozone.
"+ui/ozone/public/ozone_switches.h", "+ui/ozone/public/ozone_switches.h",
], ],
"render_widget_host_view_mac\.mm": [ "render_widget_host_view_mac\.mm": [
"+content/browser/frame_host",
"+content/public/browser/web_contents.h", "+content/public/browser/web_contents.h",
], ],
"text_input_client_mac\.mm": [
"+content/browser/frame_host"
],
# 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",
"+content/browser/frame_host/frame_tree_node.h",
],
"render_widget_host_view_aura\.cc": [
"+content/browser/frame_host",
],
"render_widget_host_view_event_handler\.cc": [
"+content/browser/frame_host",
],
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment