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

Unified Diff: webkit/tools/test_shell/layout_test_controller.cc

Issue 212004: Implement WebKitTabToLinksPreferenceKey for the test_shell.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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: webkit/tools/test_shell/layout_test_controller.cc
===================================================================
--- webkit/tools/test_shell/layout_test_controller.cc (revision 26446)
+++ webkit/tools/test_shell/layout_test_controller.cc (working copy)
@@ -922,6 +922,8 @@
preferences->local_storage_enabled = CppVariantToBool(value);
else if (key == "WebKitOfflineWebApplicationCacheEnabled")
preferences->application_cache_enabled = CppVariantToBool(value);
+ else if (key == "WebKitTabToLinksPreferenceKey")
+ preferences->tabs_to_links = CppVariantToBool(value);
else {
std::string message("Invalid name for preference: ");
message.append(key);

Powered by Google App Engine
This is Rietveld 408576698