commit | 39b7e601d9b2503954b4fa3f8af9b745820b8625 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Apr 18 10:30:19 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Apr 18 10:30:19 2013 |
tree | 2c4050e66de446448574243b324c563f6cad10a6 | |
parent | 970f11d957df572901b5801c6446d6a686363da8 [diff] [blame] |
add --enable-spatial-navigation flag for testing This depends on the following blink patch: https://codereview.chromium.org/13811041/ Review URL: https://chromiumcodereview.appspot.com/14110006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194875 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc index 1cc9efeb..72ff14b9 100644 --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc
@@ -592,6 +592,9 @@ command_line.HasSwitch(switches::kEnableDeferredImageDecoding) || cc::switches::IsImplSidePaintingEnabled(); + prefs.spatial_navigation_enabled = command_line.HasSwitch( + switches::kEnableSpatialNavigation); + GetContentClient()->browser()->OverrideWebkitPrefs(rvh, url, &prefs); // Disable compositing in guests until we have compositing path implemented