mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -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);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user