diff options
author | xji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-09 00:00:29 +0000 |
---|---|---|
committer | xji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-09 00:00:29 +0000 |
commit | e062a62215d4b73936ff6628933c95acea206847 (patch) | |
tree | 4ae3b0b1331277eb3f69d079323e8524e6b83985 /content/common | |
parent | c19956259e34880d33ace2dd243458a8bcd3cceb (diff) | |
download | chromium_src-e062a62215d4b73936ff6628933c95acea206847.zip chromium_src-e062a62215d4b73936ff6628933c95acea206847.tar.gz chromium_src-e062a62215d4b73936ff6628933c95acea206847.tar.bz2 |
To minimize the risk to LTR users, we are thinking to enable this feature first to chromium win by command line flag. (This and corresponding changset in webkit should be removed after this feature is enabled without command line flag).
This is chromium side's change that
1. adds command-line flag: --enable-visual-word-movement
2. passes this per-page setting to WebCore::Settings through WebPreferences.
The dependent WebKit change is in
http://trac.webkit.org/changeset/99255
workflow:
1. adds command line flag --enable-visual-word-movement, pass it to WebCore::Settings through WebPreferences.
2. (WebKit) in FrameSelection::modifyMovingLeft|Right, when 'visualWordMovementEnabled' is true in page's Settings, trigger visual word movement instead of logical one.
Review URL: http://codereview.chromium.org/8400078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109133 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/view_messages.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 269c0a2..ce9ea3e 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -244,6 +244,7 @@ IPC_STRUCT_TRAITS_BEGIN(WebPreferences) IPC_STRUCT_TRAITS_MEMBER(allow_displaying_insecure_content) IPC_STRUCT_TRAITS_MEMBER(allow_running_insecure_content) IPC_STRUCT_TRAITS_MEMBER(enable_scroll_animator) + IPC_STRUCT_TRAITS_MEMBER(visual_word_movement_enabled) IPC_STRUCT_TRAITS_END() IPC_STRUCT_TRAITS_BEGIN(WebMenuItem) |