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

Unified Diff: webkit/glue/webpreferences.cc

Issue 14110006: add --enable-spatial-navigation flag for testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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 | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webpreferences.cc
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc
index b07dd0d3945d8e3997b6fd43a4c6c5f7b857cf0e..4a96d38db3b09f4ddfe34ba2156573d49d54d29b 100644
--- a/webkit/glue/webpreferences.cc
+++ b/webkit/glue/webpreferences.cc
@@ -138,6 +138,7 @@ WebPreferences::WebPreferences()
#else
smart_insert_delete_enabled(false),
#endif
+ spatial_navigation_enabled(false),
cookie_enabled(true)
#if defined(OS_ANDROID)
,
@@ -458,6 +459,9 @@ void WebPreferences::Apply(WebView* web_view) const {
settings->setInitializeAtMinimumPageScale(initialize_at_minimum_page_scale);
settings->setSmartInsertDeleteEnabled(smart_insert_delete_enabled);
+
+ settings->setSpatialNavigationEnabled(spatial_navigation_enabled);
+
settings->setSelectionIncludesAltImageText(true);
#if defined(OS_ANDROID)
« no previous file with comments | « webkit/glue/webpreferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698