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

Unified Diff: content/public/common/web_preferences.h

Issue 2155273002: Make it possible for downstream projects to easily set the default fill color Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fixup Created 4 years, 5 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/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index 3fb1a79406f3f10d2d3f0c9794315c9ddd018197..bf37086472de588bf0fbd1f4473656dad3799452 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -17,6 +17,7 @@
namespace blink {
class WebView;
+typedef unsigned WebColor;
}
namespace content {
@@ -177,6 +178,12 @@ struct CONTENT_EXPORT WebPreferences {
int number_of_cpu_cores;
EditingBehavior editing_behavior;
bool supports_multiple_windows;
+
+ // The color to paint before initial style is applied. This is modified by
+ // downstream products (eg Opera TV) to avoid white screen flashes when
+ // opening new tabs.
+ blink::WebColor default_background_color;
+
bool viewport_enabled;
bool viewport_meta_enabled;
bool shrinks_viewport_contents_to_fit;

Powered by Google App Engine
This is Rietveld 408576698