From e091df891e7e86d0b7fdbfba7e784b9094aed09f Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Tue, 11 Oct 2011 18:13:21 +0000 Subject: 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 --- chrome/browser/memory_details.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/memory_details.cc') diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc index 8d7faf1..fd49b30 100644 --- a/chrome/browser/memory_details.cc +++ b/chrome/browser/memory_details.cc @@ -22,7 +22,7 @@ #include "content/browser/renderer_host/render_view_host.h" #include "content/browser/tab_contents/navigation_entry.h" #include "content/browser/tab_contents/tab_contents.h" -#include "content/common/bindings_policy.h" +#include "content/public/common/bindings_policy.h" #include "grit/chromium_strings.h" #include "grit/generated_resources.h" #include "ui/base/l10n/l10n_util.h" @@ -165,7 +165,7 @@ void MemoryDetails::CollectChildInfoOnUIThread() { DCHECK(host_delegate); GURL url = host_delegate->GetURL(); content::ViewType::Type type = host_delegate->GetRenderViewType(); - if (host->enabled_bindings() & BindingsPolicy::WEB_UI) { + if (host->enabled_bindings() & content::BINDINGS_POLICY_WEB_UI) { // TODO(erikkay) the type for devtools doesn't actually appear to // be set. if (type == content::ViewType::DEV_TOOLS_UI) -- cgit v1.1