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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 302993003: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attach to proper scrolling layer Created 6 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
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index ecba555084bcb354eff68427872eb6a0669889df..100e88a04ff7e02d4dbb33354520063f445c627f 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -451,6 +451,11 @@ void WebSettingsImpl::setAcceleratedCompositingForOverflowScrollEnabled(bool ena
m_settings->setAcceleratedCompositingForOverflowScrollEnabled(enabled);
}
+void WebSettingsImpl::setCompositedSelectionUpdatesEnabled(bool enabled)
+{
+ m_settings->setCompositedSelectionUpdatesEnabled(enabled);
+}
+
void WebSettingsImpl::setCompositorDrivenAcceleratedScrollingEnabled(bool enabled)
{
m_settings->setCompositorDrivenAcceleratedScrollingEnabled(enabled);
@@ -587,6 +592,11 @@ void WebSettingsImpl::setEnableTouchAdjustment(bool enabled)
m_settings->setTouchAdjustmentEnabled(enabled);
}
+bool WebSettingsImpl::compositedSelectionUpdatesEnabled() const
+{
+ return m_settings->compositedSelectionUpdatesEnabled();
+}
+
bool WebSettingsImpl::scrollAnimatorEnabled() const
{
return m_settings->scrollAnimatorEnabled();

Powered by Google App Engine
This is Rietveld 408576698