diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-15 00:05:55 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-15 00:05:55 +0000 |
commit | c09163aee7f50d7bd7801343278c8bf68c9fe828 (patch) | |
tree | 0b759630920e71bdbe6fa8c88d008934cc66eb63 /chrome/common/bindings_policy.h | |
parent | 58640fa257d09432b723e9891a3581ddedbee99d (diff) | |
download | chromium_src-c09163aee7f50d7bd7801343278c8bf68c9fe828.zip chromium_src-c09163aee7f50d7bd7801343278c8bf68c9fe828.tar.gz chromium_src-c09163aee7f50d7bd7801343278c8bf68c9fe828.tar.bz2 |
WebUI: Get rid of more references to dom_ui and DOM_UI.
They were found with:
$ git gs dom_ui_
$ git gs ::DOM_UI
BUG=59945
TEST=trybots
Review URL: http://codereview.chromium.org/6520019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/bindings_policy.h')
-rw-r--r-- | chrome/common/bindings_policy.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/bindings_policy.h b/chrome/common/bindings_policy.h index 0df8371..7d0db25 100644 --- a/chrome/common/bindings_policy.h +++ b/chrome/common/bindings_policy.h @@ -13,7 +13,7 @@ class BindingsPolicy { enum { // HTML-based UI bindings that allows he js content to send JSON-encoded // data back to the browser process. - DOM_UI = 1 << 0, + WEB_UI = 1 << 0, // DOM automation bindings that allows the js content to send JSON-encoded // data back to automation in the parent process. (By default this isn't // allowed unless the app has been started up with the --dom-automation @@ -26,8 +26,8 @@ class BindingsPolicy { EXTENSION = 1 << 3, }; - static bool is_dom_ui_enabled(int flags) { - return (flags & DOM_UI) != 0; + static bool is_web_ui_enabled(int flags) { + return (flags & WEB_UI) != 0; } static bool is_dom_automation_enabled(int flags) { return (flags & DOM_AUTOMATION) != 0; |