diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 18:13:21 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 18:13:21 +0000 |
commit | e091df891e7e86d0b7fdbfba7e784b9094aed09f (patch) | |
tree | d3ddf7cba52bd2c145f360efb81fc0dfc7b298a6 /chrome/browser/memory_details.cc | |
parent | a867a7ed5b258420d4eafd416e4d295a87af0de0 (diff) | |
download | chromium_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/memory_details.cc')
-rw-r--r-- | chrome/browser/memory_details.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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) |