Move the |use_osr_next_contents_view| attribute from CefBrowserContext to CefContentBrowserClient.

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1422 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-08-28 15:56:18 +00:00
parent a865b25a2d
commit 935a35f21c
5 changed files with 18 additions and 26 deletions

View File

@@ -58,13 +58,6 @@ class CefBrowserContext : public content::BrowserContext {
bool in_memory,
content::ProtocolHandlerMap* protocol_handlers);
// To disable window rendering call this function with |override|=true
// just before calling WebContents::Create. This will cause
// CefContentBrowserClient::OverrideCreateWebContentsView to create
// a windowless WebContentsView object.
void set_use_osr_next_contents_view(bool override);
bool use_osr_next_contents_view() const;
private:
class CefResourceContext;
@@ -74,8 +67,6 @@ class CefBrowserContext : public content::BrowserContext {
scoped_refptr<content::GeolocationPermissionContext>
geolocation_permission_context_;
bool use_osr_next_contents_view_;
DISALLOW_COPY_AND_ASSIGN(CefBrowserContext);
};