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

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: 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 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

Powered by Google App Engine
This is Rietveld 408576698