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

Unified Diff: Source/WebKit/chromium/src/WebSettingsImpl.cpp

Issue 16799005: Insert pinch zoom virtual viewport layers to graphics layer tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing. Created 7 years, 6 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 | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebSettingsImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebSettingsImpl.cpp b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
index 2bc80914e7418b2278cfb94fd4a0f59b384fcb88..7d6618286a97b2655aa025dc90e785527d3efe21 100644
--- a/Source/WebKit/chromium/src/WebSettingsImpl.cpp
+++ b/Source/WebKit/chromium/src/WebSettingsImpl.cpp
@@ -60,6 +60,7 @@ WebSettingsImpl::WebSettingsImpl(Settings* settings)
, m_deferredImageDecodingEnabled(false)
, m_doubleTapToZoomEnabled(false)
, m_supportDeprecatedTargetDensityDPI(false)
+ , m_pinchOverlayScrollbarThickness(0)
{
ASSERT(settings);
}
@@ -683,6 +684,11 @@ void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
m_settings->setSmartInsertDeleteEnabled(enabled);
}
+void WebSettingsImpl::setPinchOverlayScrollbarThickness(int thickness)
+{
+ m_pinchOverlayScrollbarThickness = thickness;
+}
+
void WebSettingsImpl::setPinchVirtualViewportEnabled(bool enabled)
{
m_settings->setPinchVirtualViewportEnabled(enabled);
« no previous file with comments | « Source/WebKit/chromium/src/WebSettingsImpl.h ('k') | Source/WebKit/chromium/src/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698