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 9e4a0092fae17dbb8618cd16afe3b1287c59d957..6123893e371f2f0a5aed9d5b74c7cbb6d53c8821 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -72,6 +72,7 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// RenderWidgetHostView implementation. |
virtual void SetBackgroundOpaque(bool opaque) override; |
virtual bool GetBackgroundOpaque() override; |
+ virtual void SetBackgroundColor(SkColor color) override; |
virtual ui::TextInputClient* GetTextInputClient() override; |
virtual bool IsShowingContextMenu() const override; |
virtual void SetShowingContextMenu(bool showing_menu) override; |
@@ -382,6 +383,9 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// When false, the background of the web content is not fully opaque. |
bool background_opaque_; |
+ // The initial background color for opaque windows. |
+ 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 |
// mouse position just as mouse lock was entered; the movement they report |