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

Unified Diff: content/public/browser/render_widget_host_view.h

Issue 2466413009: Propagate view background color when changing visible web contents. (Closed)
Patch Set: none Created 4 years, 1 month 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/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 ff3127b69e5307fec8eed08e388902514aeeb873..03924f1730b7d53d322938d5f20851cc15bdbf76 100644
--- a/content/public/browser/render_widget_host_view.h
+++ b/content/public/browser/render_widget_host_view.h
@@ -131,6 +131,7 @@ class CONTENT_EXPORT RenderWidgetHostView {
virtual void SetBackgroundColor(SkColor color) = 0;
// Convenience method to fill the background layer with the default color by
// calling |SetBackgroundColor|.
+ virtual SkColor background_color() = 0;
virtual void SetBackgroundColorToDefault() = 0;
virtual bool GetBackgroundOpaque() = 0;

Powered by Google App Engine
This is Rietveld 408576698