diff options
Diffstat (limited to 'content/renderer/render_process.h')
-rw-r--r-- | content/renderer/render_process.h | 9 |
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. |