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

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

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Explicitly initialize properties to false Created 3 years, 10 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "ash-disable-touch-exploration-mode"; 45 "ash-disable-touch-exploration-mode";
46 46
47 // Enables fullscreen app list if Ash is in maximize mode. 47 // Enables fullscreen app list if Ash is in maximize mode.
48 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list"; 48 const char kAshEnableFullscreenAppList[] = "ash-enable-fullscreen-app-list";
49 49
50 // Enables key bindings to scroll magnified screen. 50 // Enables key bindings to scroll magnified screen.
51 const char kAshEnableMagnifierKeyScroller[] = 51 const char kAshEnableMagnifierKeyScroller[] =
52 "ash-enable-magnifier-key-scroller"; 52 "ash-enable-magnifier-key-scroller";
53 53
54 // Enables the palette next to the status area. 54 // Enables the palette next to the status area.
55 const char kAshEnablePalette[] = "ash-enable-palette"; 55 const char kAshForceEnablePalette[] = "ash-force-enable-palette";
James Cook 2017/02/06 23:06:39 nit: alphabetize
jdufault 2017/02/08 02:06:20 Done.
56 56
57 // 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.
58 const char kAshEnablePaletteOnAllDisplays[] = 58 const char kAshEnablePaletteOnAllDisplays[] =
59 "ash-enable-palette-on-all-displays"; 59 "ash-enable-palette-on-all-displays";
60 60
61 // Enables docking windows to the right or left (not to be confused with snapped 61 // Enables docking windows to the right or left (not to be confused with snapped
62 // windows). 62 // windows).
63 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; 63 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
64 64
65 // Enables the observation of accelerometer events to enter touch-view mode. 65 // Enables the observation of accelerometer events to enter touch-view mode.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 kAshConstrainPointerToRoot); 98 kAshConstrainPointerToRoot);
99 } 99 }
100 100
101 bool DockedWindowsEnabled() { 101 bool DockedWindowsEnabled() {
102 return base::CommandLine::ForCurrentProcess()->HasSwitch( 102 return base::CommandLine::ForCurrentProcess()->HasSwitch(
103 ash::switches::kAshEnableDockedWindows); 103 ash::switches::kAshEnableDockedWindows);
104 } 104 }
105 105
106 } // namespace switches 106 } // namespace switches
107 } // namespace ash 107 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698