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

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

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Fix test 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
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/palette_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const char kAshDisableTouchExplorationMode[] = 44 const char kAshDisableTouchExplorationMode[] =
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.
55 const char kAshEnablePalette[] = "ash-enable-palette";
56
57 // Enables the palette on every display, instead of only the internal one. 54 // Enables the palette on every display, instead of only the internal one.
58 const char kAshEnablePaletteOnAllDisplays[] = 55 const char kAshEnablePaletteOnAllDisplays[] =
59 "ash-enable-palette-on-all-displays"; 56 "ash-enable-palette-on-all-displays";
60 57
61 // Enables docking windows to the right or left (not to be confused with snapped 58 // Enables docking windows to the right or left (not to be confused with snapped
62 // windows). 59 // windows).
63 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows"; 60 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
64 61
65 // Enables the observation of accelerometer events to enter touch-view mode. 62 // Enables the observation of accelerometer events to enter touch-view mode.
66 const char kAshEnableTouchView[] = "enable-touchview"; 63 const char kAshEnableTouchView[] = "enable-touchview";
67 64
68 // Enables mirrored screen. 65 // Enables mirrored screen.
69 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; 66 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
70 67
68 // Enables the palette next to the status area.
69 const char kAshForceEnablePalette[] = "ash-force-enable-palette";
70
71 // Hides notifications that are irrelevant to Chrome OS device factory testing, 71 // Hides notifications that are irrelevant to Chrome OS device factory testing,
72 // such as battery level updates. 72 // such as battery level updates.
73 const char kAshHideNotificationsForFactory[] = 73 const char kAshHideNotificationsForFactory[] =
74 "ash-hide-notifications-for-factory"; 74 "ash-hide-notifications-for-factory";
75 75
76 // Specifies if Material Design elements in Chrome OS system UI are enabled. 76 // Specifies if Material Design elements in Chrome OS system UI are enabled.
77 // Can be disabled / enabled / experimental allowing to launch incrementally. 77 // Can be disabled / enabled / experimental allowing to launch incrementally.
78 const char kAshMaterialDesign[] = "ash-md"; 78 const char kAshMaterialDesign[] = "ash-md";
79 const char kAshMaterialDesignDisabled[] = "disabled"; 79 const char kAshMaterialDesignDisabled[] = "disabled";
80 const char kAshMaterialDesignEnabled[] = "enabled"; 80 const char kAshMaterialDesignEnabled[] = "enabled";
(...skipping 17 matching lines...) Expand all
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
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/palette_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698