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

Unified Diff: content/public/common/context_menu_params.h

Issue 73963004: [Chromium] Adding Writing direction to the context menu for linux gtk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes under TOOLKIT_GTK Created 7 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 | « content/common/view_messages.h ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/context_menu_params.h
diff --git a/content/public/common/context_menu_params.h b/content/public/common/context_menu_params.h
index a64dd9509e24bcc255a0331639c243e85ed5ebec..49bd74f61f28f7ba0b523571ffcb744b36948e63 100644
--- a/content/public/common/context_menu_params.h
+++ b/content/public/common/context_menu_params.h
@@ -124,13 +124,13 @@ struct CONTENT_EXPORT ContextMenuParams {
// Whether context is editable.
bool is_editable;
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(TOOLKIT_GTK)
// Writing direction menu items.
- // Currently only used on OS X.
+ // Currently only used on OS X and Linux.
int writing_direction_default;
int writing_direction_left_to_right;
int writing_direction_right_to_left;
-#endif // OS_MACOSX
+#endif // OS_MACOSX || defined(TOOLKIT_GTK)
// These flags indicate to the browser whether the renderer believes it is
// able to perform the corresponding action.
« no previous file with comments | « content/common/view_messages.h ('k') | content/public/common/context_menu_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698