diff options
author | sanjoy.pal@samsung.com <sanjoy.pal@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-21 13:10:11 +0000 |
---|---|---|
committer | sanjoy.pal@samsung.com <sanjoy.pal@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-21 13:10:11 +0000 |
commit | 40c2c91e0ae053925e2018465516fd24d259c990 (patch) | |
tree | 32589195e9d00e5d39ed090d98488f45362e4f1d /content/common/view_messages.h | |
parent | 3f43f4dfdf6232235863feb5c70bab10304dbb86 (diff) | |
download | chromium_src-40c2c91e0ae053925e2018465516fd24d259c990.zip chromium_src-40c2c91e0ae053925e2018465516fd24d259c990.tar.gz chromium_src-40c2c91e0ae053925e2018465516fd24d259c990.tar.bz2 |
Adding Writing direction to the context menu for linux gtk.
Blink side change is here https://codereview.chromium.org/66313007/
This CL takes care of the context menu on Linux Gtk. Most of the changes are copied from Writing direction context menu entry implementation on MacOSX. There seems to be no way to change writing direction on Aura. I would like create a separate CL to implement the same on Aura.
BUG=91178
TBR=cpu@chromium.org
Review URL: https://codereview.chromium.org/73963004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/view_messages.h')
-rw-r--r-- | content/common/view_messages.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index df630d3..e85ae75 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -180,11 +180,11 @@ IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) IPC_STRUCT_TRAITS_MEMBER(speech_input_enabled) IPC_STRUCT_TRAITS_MEMBER(spellcheck_enabled) IPC_STRUCT_TRAITS_MEMBER(is_editable) -#if defined(OS_MACOSX) +#if defined(OS_MACOSX) || defined(TOOLKIT_GTK) IPC_STRUCT_TRAITS_MEMBER(writing_direction_default) IPC_STRUCT_TRAITS_MEMBER(writing_direction_left_to_right) IPC_STRUCT_TRAITS_MEMBER(writing_direction_right_to_left) -#endif // OS_MACOSX +#endif // OS_MACOSX || defined(TOOLKIT_GTK) IPC_STRUCT_TRAITS_MEMBER(edit_flags) IPC_STRUCT_TRAITS_MEMBER(security_info) IPC_STRUCT_TRAITS_MEMBER(frame_charset) |