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

Unified Diff: content/browser/android/content_startup_flags.cc

Issue 481683003: Support for Adaptive Handle Orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits. Created 5 years, 4 months 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/browser/android/content_startup_flags.cc
diff --git a/content/browser/android/content_startup_flags.cc b/content/browser/android/content_startup_flags.cc
index ebd585bcaf3426eb88dcbdcfffadaa9eed7d08b3..5515b74a0c99308807a0ba812814a4e2ade18cf5 100644
--- a/content/browser/android/content_startup_flags.cc
+++ b/content/browser/android/content_startup_flags.cc
@@ -66,6 +66,8 @@ void SetContentCommandLineFlags(bool single_process,
// TODO(jdduke): Use the proper SDK version when available, crbug.com/466749.
if (base::android::BuildInfo::GetInstance()->sdk_int() >
base::android::SDK_VERSION_LOLLIPOP_MR1) {
+ parsed_command_line->AppendSwitch(
+ switches::kEnableAdaptiveHandleOrientation);
parsed_command_line->AppendSwitch(switches::kEnableLongpressDragSelection);
parsed_command_line->AppendSwitchASCII(
switches::kTouchTextSelectionStrategy, "direction");

Powered by Google App Engine
This is Rietveld 408576698