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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 988023005: Implementing directional selection strategy in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing review feedback. Created 5 years, 9 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 92e2207aef477fa71748a9c9687e43184293000a..51ef9d82ef304ad657d5b3a637b1dbf69f25ffe2 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -717,6 +717,12 @@ void WebSettingsImpl::setSelectionIncludesAltImageText(bool enabled)
m_settings->setSelectionIncludesAltImageText(enabled);
}
+void WebSettingsImpl::setSelectionStrategy(SelectionStrategyType strategy)
+{
+ m_settings->setSelectionStrategy(static_cast<SelectionStrategy>(strategy));
+}
+
+
void WebSettingsImpl::setSmartInsertDeleteEnabled(bool enabled)
{
m_settings->setSmartInsertDeleteEnabled(enabled);

Powered by Google App Engine
This is Rietveld 408576698