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

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

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: Aura-CrOS-Win Created 7 years 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.cc
diff --git a/content/public/common/context_menu_params.cc b/content/public/common/context_menu_params.cc
index a267fb2698b24c808f80288b3143fe38d2eaf52b..b51b288eb3cc27409f8faa3a1a23b6159b4148c4 100644
--- a/content/public/common/context_menu_params.cc
+++ b/content/public/common/context_menu_params.cc
@@ -25,14 +25,14 @@ ContextMenuParams::ContextMenuParams()
speech_input_enabled(false),
spellcheck_enabled(false),
is_editable(false),
-#if defined(OS_MACOSX) || defined(TOOLKIT_GTK)
+#if defined(OS_MACOSX) || defined(TOOLKIT_GTK) || defined(USE_AURA)
writing_direction_default(
blink::WebContextMenuData::CheckableMenuItemDisabled),
writing_direction_left_to_right(
blink::WebContextMenuData::CheckableMenuItemEnabled),
writing_direction_right_to_left(
blink::WebContextMenuData::CheckableMenuItemEnabled),
-#endif // OS_MACOSX || defined(TOOLKIT_GTK)
+#endif // OS_MACOSX || TOOLKIT_GTK || USE_AURA
edit_flags(0),
referrer_policy(blink::WebReferrerPolicyDefault) {
}

Powered by Google App Engine
This is Rietveld 408576698