summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_view_host.h
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 17:25:16 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-09 17:25:16 +0000
commit821825658763d672a40ff332753103108323dbaa (patch)
tree3314c03bdf9cce689e181e6c768146804b7237db /chrome/browser/renderer_host/render_view_host.h
parent145ecbde35f4fb20cf384fdae4453234407c7243 (diff)
downloadchromium_src-821825658763d672a40ff332753103108323dbaa.zip
chromium_src-821825658763d672a40ff332753103108323dbaa.tar.gz
chromium_src-821825658763d672a40ff332753103108323dbaa.tar.bz2
Revert 43962 - Adds a safety check for DOM UI renderers.
(Currently crashing on reliability bot.) We should not be passing web URLs to DOM UI renderers. This CL adds a check to ensure that we only navigate to DOM UI URLs in such renderers. BUG=40575 TEST=none Review URL: http://codereview.chromium.org/1549027 TBR=brettw Review URL: http://codereview.chromium.org/1626012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_view_host.h')
-rw-r--r--chrome/browser/renderer_host/render_view_host.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/renderer_host/render_view_host.h b/chrome/browser/renderer_host/render_view_host.h
index 3492603..0601821 100644
--- a/chrome/browser/renderer_host/render_view_host.h
+++ b/chrome/browser/renderer_host/render_view_host.h
@@ -323,10 +323,6 @@ class RenderViewHost : public RenderWidgetHost {
// should be a combination of values from BindingsPolicy.
void AllowBindings(int binding_flags);
- // Returns a bitwise OR of bindings types that have been enabled for this
- // RenderView. See BindingsPolicy for details.
- int enabled_bindings() { return enabled_bindings_; }
-
// Sets a property with the given name and value on the DOM UI binding object.
// Must call AllowDOMUIBindings() on this renderer first.
void SetDOMUIProperty(const std::string& name, const std::string& value);