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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

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: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 1b0004246dc7b7b47bda70d9185a2f4108914da6..dc861865737c94d0ef012e72496f93359ca9eeb1 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -788,6 +788,11 @@ void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
m_settings->setPinchOverlayScrollbarThickness(thickness);
}
+void WebSettingsImpl::setDefaultBackgroundColor(WebColor color)
+{
+ m_settings->setDefaultBackgroundColor(color);
+}
+
void WebSettingsImpl::setUseSolidColorScrollbars(bool enabled)
{
m_settings->setUseSolidColorScrollbars(enabled);

Powered by Google App Engine
This is Rietveld 408576698