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

Unified Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.cc

Issue 8400078: Chrome: enable move cursor by word in visual order for windows by command line flag (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc
===================================================================
--- chrome/browser/tab_contents/render_view_host_delegate_helper.cc (revision 107605)
+++ chrome/browser/tab_contents/render_view_host_delegate_helper.cc (working copy)
@@ -492,6 +492,9 @@
} else {
web_prefs.user_style_sheet_enabled = false;
}
+
+ web_prefs.visual_word_movement_enabled =
+ command_line.HasSwitch(switches::kEnableVisualWordMovement);
}
{ // Certain GPU features might have been blacklisted.
« no previous file with comments | « no previous file | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698