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

Side by Side Diff: ash/common/ash_switches.cc

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: Cleaned up some old variables and spacing changes Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/ash_switches.h" 5 #include "ash/common/ash_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/sys_info.h" 8 #include "base/sys_info.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 29 matching lines...) Expand all
40 // Disable the support for WebContents to lock the screen orientation. 40 // Disable the support for WebContents to lock the screen orientation.
41 const char kAshDisableScreenOrientationLock[] = 41 const char kAshDisableScreenOrientationLock[] =
42 "ash-disable-screen-orientation-lock"; 42 "ash-disable-screen-orientation-lock";
43 43
44 // Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be 44 // Disable the Touch Exploration Mode. Touch Exploration Mode will no longer be
45 // turned on automatically when spoken feedback is enabled when this flag is 45 // turned on automatically when spoken feedback is enabled when this flag is
46 // set. 46 // set.
47 const char kAshDisableTouchExplorationMode[] = 47 const char kAshDisableTouchExplorationMode[] =
48 "ash-disable-touch-exploration-mode"; 48 "ash-disable-touch-exploration-mode";
49 49
50 // Enable the fullscreen app list mode. UI change.
51 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list";
sky 2017/04/07 03:28:18 Reorder all these as well (style guide says declar
newcomer 2017/04/10 16:34:53 Done.
52
50 // Enables key bindings to scroll magnified screen. 53 // Enables key bindings to scroll magnified screen.
51 const char kAshEnableMagnifierKeyScroller[] = 54 const char kAshEnableMagnifierKeyScroller[] =
52 "ash-enable-magnifier-key-scroller"; 55 "ash-enable-magnifier-key-scroller";
53 56
54 // Enables the palette on every display, instead of only the internal one. 57 // Enables the palette on every display, instead of only the internal one.
55 const char kAshEnablePaletteOnAllDisplays[] = 58 const char kAshEnablePaletteOnAllDisplays[] =
56 "ash-enable-palette-on-all-displays"; 59 "ash-enable-palette-on-all-displays";
57 60
58 // Enables the observation of accelerometer events to enter touch-view mode. 61 // Enables the observation of accelerometer events to enter touch-view mode.
59 const char kAshEnableTouchView[] = "enable-touchview"; 62 const char kAshEnableTouchView[] = "enable-touchview";
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 bool ConstrainPointerToRoot() { 113 bool ConstrainPointerToRoot() {
111 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; 114 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
112 115
113 return base::SysInfo::IsRunningOnChromeOS() || 116 return base::SysInfo::IsRunningOnChromeOS() ||
114 base::CommandLine::ForCurrentProcess()->HasSwitch( 117 base::CommandLine::ForCurrentProcess()->HasSwitch(
115 kAshConstrainPointerToRoot); 118 kAshConstrainPointerToRoot);
116 } 119 }
117 120
118 } // namespace switches 121 } // namespace switches
119 } // namespace ash 122 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698