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

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

Issue 637083002: 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: rebased 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 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

Powered by Google App Engine
This is Rietveld 408576698