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

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

Issue 2249583002: Revert "Enable ash window cycle UI by default." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/wm/window_cycle_controller.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; 71 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order";
72 72
73 // Enables software based mirroring. 73 // Enables software based mirroring.
74 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; 74 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring";
75 75
76 // Enables touch view testing. 76 // Enables touch view testing.
77 // TODO(skuhne): Remove DEBUG_TOGGLE_TOUCH_VIEW accelerator once this flag is 77 // TODO(skuhne): Remove DEBUG_TOGGLE_TOUCH_VIEW accelerator once this flag is
78 // removed. 78 // removed.
79 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing"; 79 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing";
80 80
81 // Enables the window cycling UI (more visual feedback for alt-tab).
82 const char kAshEnableWindowCycleUi[] = "ash-enable-window-cycle-ui";
83
81 // Hides notifications that are irrelevant to Chrome OS device factory testing, 84 // Hides notifications that are irrelevant to Chrome OS device factory testing,
82 // such as battery level updates. 85 // such as battery level updates.
83 const char kAshHideNotificationsForFactory[] = 86 const char kAshHideNotificationsForFactory[] =
84 "ash-hide-notifications-for-factory"; 87 "ash-hide-notifications-for-factory";
85 88
86 // Sets a window size, optional position, and optional scale factor. 89 // Sets a window size, optional position, and optional scale factor.
87 // "1024x768" creates a window of size 1024x768. 90 // "1024x768" creates a window of size 1024x768.
88 // "100+200-1024x768" positions the window at 100,200. 91 // "100+200-1024x768" positions the window at 100,200.
89 // "1024x768*2" sets the scale factor to 2 for a high DPI display. 92 // "1024x768*2" sets the scale factor to 2 for a high DPI display.
90 // "800,0+800-800x800" for two displays at 800x800 resolution. 93 // "800,0+800-800x800" for two displays at 800x800 resolution.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 149
147 return base::SysInfo::IsRunningOnChromeOS() || 150 return base::SysInfo::IsRunningOnChromeOS() ||
148 base::CommandLine::ForCurrentProcess()->HasSwitch( 151 base::CommandLine::ForCurrentProcess()->HasSwitch(
149 kAshConstrainPointerToRoot); 152 kAshConstrainPointerToRoot);
150 } 153 }
151 154
152 #endif 155 #endif
153 156
154 } // namespace switches 157 } // namespace switches
155 } // namespace ash 158 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/common/wm/window_cycle_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698