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

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

Issue 2280273002: Disable magnification palette tool unless experimental palette features are enabled. (Closed)
Patch Set: Created 4 years, 3 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/system/chromeos/palette/palette_tool.cc » ('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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 unified desktop mode. 54 // Enables unified desktop mode.
55 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop"; 55 const char kAshEnableUnifiedDesktop[] = "ash-enable-unified-desktop";
56 56
57 // Enables the palette next to the status area. 57 // Enables the palette next to the status area.
58 const char kAshEnablePalette[] = "ash-enable-palette"; 58 const char kAshEnablePalette[] = "ash-enable-palette";
59
60 // Enables experimental ash palette tools.
61 const char kAshEnableExperimentalPaletteFeatures[] =
62 "ash-enable-experimental-palette-features";
59 #endif 63 #endif
60 64
61 // Enables the observation of accelerometer events to enter touch-view mode. 65 // Enables the observation of accelerometer events to enter touch-view mode.
62 const char kAshEnableTouchView[] = "enable-touchview"; 66 const char kAshEnableTouchView[] = "enable-touchview";
63 67
64 // Enables mirrored screen. 68 // Enables mirrored screen.
65 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen"; 69 const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
66 70
67 // Enables / disables a stable order between overview sessions, independent of 71 // Enables / disables a stable order between overview sessions, independent of
68 // the MRU order which attempts to preserve relative window positions. 72 // the MRU order which attempts to preserve relative window positions.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 140
137 return base::SysInfo::IsRunningOnChromeOS() || 141 return base::SysInfo::IsRunningOnChromeOS() ||
138 base::CommandLine::ForCurrentProcess()->HasSwitch( 142 base::CommandLine::ForCurrentProcess()->HasSwitch(
139 kAshConstrainPointerToRoot); 143 kAshConstrainPointerToRoot);
140 } 144 }
141 145
142 #endif 146 #endif
143 147
144 } // namespace switches 148 } // namespace switches
145 } // namespace ash 149 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/system/chromeos/palette/palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698