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 8c205f5e00966f13fe8845675699b77347d9daa3..20ef909e11c53d55553b2db7494e8d51081c93a1 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.h |
+++ b/content/browser/renderer_host/render_widget_host_view_base.h |
@@ -62,8 +62,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
virtual ~RenderWidgetHostViewBase(); |
// RenderWidgetHostView implementation. |
- virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
- virtual const SkBitmap& GetBackground() OVERRIDE; |
+ virtual void SetBackgroundOpaque(bool opaque) OVERRIDE; |
+ virtual const bool GetBackgroundOpaque() OVERRIDE; |
virtual bool IsShowingContextMenu() const OVERRIDE; |
virtual void SetShowingContextMenu(bool showing_menu) OVERRIDE; |
virtual base::string16 GetSelectedText() const OVERRIDE; |
@@ -377,9 +377,8 @@ class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
// autofill...). |
blink::WebPopupType popup_type_; |
- // A custom background to paint behind the web content. This will be tiled |
- // horizontally. Can be null, in which case we fall back to painting white. |
- SkBitmap background_; |
+ // When false, the background of the web content is not fully opaque. |
+ bool background_opaque_; |
// 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 |