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

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

Issue 83163002: [Aura] Adding Writing direction to the context menu for Aura. (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 49bd74f61f28f7ba0b523571ffcb744b36948e63..8d756bd78f150e829b7ac4c542969469232b5ad5 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) || defined(TOOLKIT_GTK)
+#if defined(OS_MACOSX) || defined(TOOLKIT_GTK) || defined(USE_AURA)
// Writing direction menu items.
- // Currently only used on OS X and Linux.
+ // Currently only used on OS X, Linux Gtk and Aura.
int writing_direction_default;
int writing_direction_left_to_right;
int writing_direction_right_to_left;
-#endif // OS_MACOSX || defined(TOOLKIT_GTK)
+#endif // OS_MACOSX || TOOLKIT_GTK || USE_AURA
// 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