chrome: Support configuration of renderer prefs (see issue #2969)

This commit is contained in:
Marshall Greenblatt
2021-04-17 21:12:54 -04:00
parent 9756e15a23
commit cf1074cf49
8 changed files with 154 additions and 107 deletions

View File

@@ -246,6 +246,10 @@ class CefBrowserHostBase : public CefBrowserHost,
return request_context_;
}
bool is_views_hosted() const { return is_views_hosted_; }
SkColor GetBackgroundColor() const;
// Returns true if windowless rendering is enabled.
virtual bool IsWindowless() const;
// Accessors that must be called on the UI thread.
content::WebContents* GetWebContents() const;