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

Unified Diff: content/public/browser/render_widget_host_view.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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/render_widget_host_view.h
diff --git a/content/public/browser/render_widget_host_view.h b/content/public/browser/render_widget_host_view.h
index 9fe797c755f1d0cc2002b0fdd87f99c3e636efc3..6dca69f839f1f334cd7460d08e5927b08e5c7bd3 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -10,6 +10,7 @@
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkBitmap.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkRegion.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
#include "ui/gfx/native_widget_types.h"
@@ -109,6 +110,9 @@ class CONTENT_EXPORT RenderWidgetHostView {
virtual void SetBackgroundOpaque(bool opaque) = 0;
virtual bool GetBackgroundOpaque() = 0;
+ // Subclasses should override this method to set the initial background color.
+ virtual void SetBackgroundColor(SkColor color) = 0;
sky 2014/10/07 22:03:59 Can SetBackgroundOpaque be removed if you add this
guohui 2014/10/08 18:11:51 Theoretically yes, you could replace SetBackground
guohui 2014/10/08 18:22:33 eh i forgot SkColor has an alpha component, so it
+
// Return value indicates whether the mouse is locked successfully or not.
virtual bool LockMouse() = 0;
virtual void UnlockMouse() = 0;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698