summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_host.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 18:13:21 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-11 18:13:21 +0000
commite091df891e7e86d0b7fdbfba7e784b9094aed09f (patch)
treed3ddf7cba52bd2c145f360efb81fc0dfc7b298a6 /chrome/browser/extensions/extension_host.cc
parenta867a7ed5b258420d4eafd416e4d295a87af0de0 (diff)
downloadchromium_src-e091df891e7e86d0b7fdbfba7e784b9094aed09f.zip
chromium_src-e091df891e7e86d0b7fdbfba7e784b9094aed09f.tar.gz
chromium_src-e091df891e7e86d0b7fdbfba7e784b9094aed09f.tar.bz2
Move BindingsPolicy enum to content\public\common and put it in the content namespace. I've also renamed the value names to match the style that we use in the WebKit API (i.e. all values in an enum start with the enum's name) since it's more readable. As we move other enums to public we should switch them over as well.
BUG=98716 Review URL: http://codereview.chromium.org/8220024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_host.cc')
-rw-r--r--chrome/browser/extensions/extension_host.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index 50e2642..0902ba7 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -44,11 +44,11 @@
#include "content/browser/tab_contents/popup_menu_helper_mac.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/browser/tab_contents/tab_contents_view.h"
-#include "content/common/bindings_policy.h"
#include "content/common/content_client.h"
#include "content/common/native_web_keyboard_event.h"
#include "content/common/notification_service.h"
#include "content/common/view_messages.h"
+#include "content/public/common/bindings_policy.h"
#include "grit/browser_resources.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -145,7 +145,7 @@ ExtensionHost::ExtensionHost(const Extension* extension,
render_view_host_ = new RenderViewHost(site_instance, this, MSG_ROUTING_NONE,
NULL);
if (enable_dom_automation_)
- render_view_host_->AllowBindings(BindingsPolicy::DOM_AUTOMATION);
+ render_view_host_->AllowBindings(content::BINDINGS_POLICY_DOM_AUTOMATION);
// Listen for when the render process' handle is available so we can add it
// to the task manager then.