summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_process.h
diff options
context:
space:
mode:
authorcreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 18:42:04 +0000
committercreis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-15 18:42:04 +0000
commit744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0 (patch)
tree1671691e79cab4bd2ba5339137145adda5eeeb55 /content/renderer/render_process.h
parentb553de8ad8058d912e997ab5182433b7506afce6 (diff)
downloadchromium_src-744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0.zip
chromium_src-744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0.tar.gz
chromium_src-744c2a2d90c3c9a33c818e1ea4b7ccb5010663a0.tar.bz2
Allow browser to handle all WebUI navigations.
BUG=113496 TEST="Google Dashboard" link in Sync settings loads in new process. Review URL: http://codereview.chromium.org/9663045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126949 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_process.h')
-rw-r--r--content/renderer/render_process.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/content/renderer/render_process.h b/content/renderer/render_process.h
index 8ae6611..681b898 100644
--- a/content/renderer/render_process.h
+++ b/content/renderer/render_process.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -48,6 +48,13 @@ class RenderProcess : public ChildProcess {
// Returns true if plugisn should be loaded in-process.
virtual bool UseInProcessPlugins() const = 0;
+ // Keep track of the cumulative set of enabled bindings for this process,
+ // across any view.
+ virtual void AddBindings(int bindings) = 0;
+
+ // The cumulative set of enabled bindings for this process.
+ virtual int GetEnabledBindings() const = 0;
+
// Returns a pointer to the RenderProcess singleton instance. Assuming that
// we're actually a renderer or a renderer test, this static cast will
// be correct.