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

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: 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
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..d956ff5d81c47f225584c3953c223f5231c2fd96 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(OS_LINUX)
// 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(OS_LINUX)
// These flags indicate to the browser whether the renderer believes it is
// able to perform the corresponding action.

Powered by Google App Engine
This is Rietveld 408576698