Index: content/browser/renderer_host/render_widget_host_view_base.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_base.h b/content/browser/renderer_host/render_widget_host_view_base.h |
index 5ce38cedf3381b0e6e1a7bb10121e7f2661cb868..b7e24b5674d80b7ade1bb3e30aa4bb301c65a100 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -69,7 +69,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
~RenderWidgetHostViewBase() override; |
// RenderWidgetHostView implementation. |
- void SetBackgroundOpaque(bool opaque) override; |
+ void SetBackgroundColor(SkColor color) override; |
+ void SetBackgroundColorToDefault() final override; |
bool GetBackgroundOpaque() override; |
ui::TextInputClient* GetTextInputClient() override; |
bool IsShowingContextMenu() const override; |
@@ -380,8 +381,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// autofill...). |
blink::WebPopupType popup_type_; |
- // When false, the background of the web content is not fully opaque. |
- bool background_opaque_; |
+ // The background color of the web content. |
+ SkColor background_color_; |
// While the mouse is locked, the cursor is hidden from the user. Mouse events |
// are still generated. However, the position they report is the last known |