summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 22:10:07 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-13 22:10:07 +0000
commitdd6f5580bd8d674cd41c9cef96b037dfd52e3fa1 (patch)
treef0c7f898f820702a037ade5357803b8a777e8f6a /chrome_frame
parent4a3637d2d4de60274aa3603b5e79405cbf87b4f8 (diff)
downloadchromium_src-dd6f5580bd8d674cd41c9cef96b037dfd52e3fa1.zip
chromium_src-dd6f5580bd8d674cd41c9cef96b037dfd52e3fa1.tar.gz
chromium_src-dd6f5580bd8d674cd41c9cef96b037dfd52e3fa1.tar.bz2
Enforce that chrome_frame only uses content through its API.
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9382039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/DEPS6
-rw-r--r--chrome_frame/chrome_active_document.cc2
2 files changed, 7 insertions, 1 deletions
diff --git a/chrome_frame/DEPS b/chrome_frame/DEPS
new file mode 100644
index 0000000..37aaf9b
--- /dev/null
+++ b/chrome_frame/DEPS
@@ -0,0 +1,6 @@
+include_rules = [
+ "-content",
+ "+content/public/browser",
+ "+content/public/common",
+ "+content/test",
+]
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc
index d61ae7b..7ee0026 100644
--- a/chrome_frame/chrome_active_document.cc
+++ b/chrome_frame/chrome_active_document.cc
@@ -34,8 +34,8 @@
#include "chrome_frame/buggy_bho_handling.h"
#include "chrome_frame/crash_reporting/crash_metrics.h"
#include "chrome_frame/utils.h"
-#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/invalidate_type.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/common/page_zoom.h"
#include "grit/generated_resources.h"