summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 19:25:03 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-17 19:25:03 +0000
commit81963adc402cc76c450b164b6bcfef041a73b96f (patch)
tree1633f08c78f76045b0ef3d129b34b38a8363e524 /chrome
parent3fec3f7d264152d76f4ff14ad725a2ec391a5311 (diff)
downloadchromium_src-81963adc402cc76c450b164b6bcfef041a73b96f.zip
chromium_src-81963adc402cc76c450b164b6bcfef041a73b96f.tar.gz
chromium_src-81963adc402cc76c450b164b6bcfef041a73b96f.tar.bz2
browser: Add include rules to prevent people including from chrome/browser/ui/views.
Whitelist some includes for now until they are fixed. BUG=125846 TEST= run ./tools/checkdeps/checkdeps.py, it should succeed. R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10407025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/DEPS37
-rw-r--r--chrome/browser/ui/views/DEPS3
2 files changed, 40 insertions, 0 deletions
diff --git a/chrome/browser/DEPS b/chrome/browser/DEPS
index a203210..5f24856 100644
--- a/chrome/browser/DEPS
+++ b/chrome/browser/DEPS
@@ -41,6 +41,43 @@ include_rules = [
"-content/common",
+ "-chrome/browser/ui/views",
+ # TODO(tfarina): Remove all these. crbug.com/125846.
+ # DO NOT ADD ANY MORE ITEMS TO THE LIST BELOW!
+ "+chrome/browser/ui/views/ash/brightness_controller_chromeos.h",
+ "+chrome/browser/ui/views/ash/caps_lock_handler.h",
+ "+chrome/browser/ui/views/ash/chrome_shell_delegate.h",
+ "+chrome/browser/ui/views/ash/ime_controller_chromeos.h",
+ "+chrome/browser/ui/views/ash/key_rewriter.h",
+ "+chrome/browser/ui/views/ash/launcher/chrome_launcher_controller.h",
+ "+chrome/browser/ui/views/ash/panel_view_aura.h",
+ "+chrome/browser/ui/views/ash/screenshot_taker.h",
+ "+chrome/browser/ui/views/ash/user_gesture_handler.h",
+ "+chrome/browser/ui/views/ash/volume_controller_chromeos.h",
+ "+chrome/browser/ui/views/bookmarks/bookmark_bar_view.h",
+ "+chrome/browser/ui/views/browser_actions_container.h",
+ "+chrome/browser/ui/views/chrome_views_delegate.h",
+ "+chrome/browser/ui/views/constrained_window_views.h",
+ "+chrome/browser/ui/views/event_utils.h",
+ "+chrome/browser/ui/views/extensions/extension_dialog.h",
+ "+chrome/browser/ui/views/extensions/extension_dialog_observer.h",
+ "+chrome/browser/ui/views/extensions/extension_popup.h",
+ "+chrome/browser/ui/views/extensions/extension_view.h",
+ "+chrome/browser/ui/views/frame/browser_view.h",
+ "+chrome/browser/ui/views/infobars/infobar_container_view.h",
+ "+chrome/browser/ui/views/location_bar/location_bar_view.h",
+ "+chrome/browser/ui/views/location_bar/location_icon_view.h",
+ "+chrome/browser/ui/views/notifications/balloon_view.h",
+ "+chrome/browser/ui/views/notifications/balloon_view_host.h",
+ "+chrome/browser/ui/views/page_info_bubble_view.h",
+ "+chrome/browser/ui/views/reload_button.h",
+ "+chrome/browser/ui/views/select_file_dialog_extension.h",
+ "+chrome/browser/ui/views/tab_contents/render_view_context_menu_views.h",
+ "+chrome/browser/ui/views/toolbar_view.h",
+ "+chrome/browser/ui/views/unhandled_keyboard_event_handler.h",
+ "+chrome/browser/ui/views/web_dialog_view.h",
+ # DO NOT ADD ANY MORE ITEMS TO THE ABOVE LIST!
+
# Other libraries.
"+chrome/third_party/mozilla_security_manager",
"+libxml", # For search engine definition parsing.
diff --git a/chrome/browser/ui/views/DEPS b/chrome/browser/ui/views/DEPS
new file mode 100644
index 0000000..374d2a1
--- /dev/null
+++ b/chrome/browser/ui/views/DEPS
@@ -0,0 +1,3 @@
+include_rules = [
+ "+chrome/browser/ui/views"
+]