Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1362)

Unified Diff: content/browser/renderer_host/render_widget_host_view_base.h

Issue 654123004: Revert of Sets the default background color of inline signin and user manager to grey (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0eba5b701cc2aa7916b5e3890096d95faca562e0..9e4a0092fae17dbb8618cd16afe3b1287c59d957 100644
--- a/content/browser/renderer_host/render_widget_host_view_base.h
+++ b/content/browser/renderer_host/render_widget_host_view_base.h
@@ -70,9 +70,8 @@
virtual ~RenderWidgetHostViewBase();
// RenderWidgetHostView implementation.
- virtual void SetBackgroundColor(SkColor color) override;
- virtual void SetBackgroundColorToDefault() final override;
- virtual bool GetBackgroundOpaque() final override;
+ virtual void SetBackgroundOpaque(bool opaque) override;
+ virtual bool GetBackgroundOpaque() override;
virtual ui::TextInputClient* GetTextInputClient() override;
virtual bool IsShowingContextMenu() const override;
virtual void SetShowingContextMenu(bool showing_menu) override;
@@ -380,8 +379,8 @@
// autofill...).
blink::WebPopupType popup_type_;
- // The background color of the web content.
- SkColor background_color_;
+ // 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

Powered by Google App Engine
This is Rietveld 408576698