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

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

Issue 2142463002: ash: Remove media dependency from ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 4 years, 5 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/wm/lock_state_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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order"; 68 const char kAshEnableStableOverviewOrder[] = "ash-enable-stable-overview-order";
69 69
70 // Enables software based mirroring. 70 // Enables software based mirroring.
71 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; 71 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring";
72 72
73 // Enables touch view testing. 73 // Enables touch view testing.
74 // TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this 74 // TODO(skuhne): Remove TOGGLE_TOUCH_VIEW_TESTING accelerator once this
75 // flag is removed. 75 // flag is removed.
76 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing"; 76 const char kAshEnableTouchViewTesting[] = "ash-enable-touch-view-testing";
77 77
78 // When this flag is set, system sounds will not be played.
79 const char kAshDisableSystemSounds[] = "ash-disable-system-sounds";
80
81 // When this flag is set, system sounds will be played whether the
82 // ChromeVox is enabled or not.
83 const char kAshEnableSystemSounds[] = "ash-enable-system-sounds";
84
85 // Hides notifications that are irrelevant to Chrome OS device factory testing, 78 // Hides notifications that are irrelevant to Chrome OS device factory testing,
86 // such as battery level updates. 79 // such as battery level updates.
87 const char kAshHideNotificationsForFactory[] = 80 const char kAshHideNotificationsForFactory[] =
88 "ash-hide-notifications-for-factory"; 81 "ash-hide-notifications-for-factory";
89 82
90 // Sets a window size, optional position, and optional scale factor. 83 // Sets a window size, optional position, and optional scale factor.
91 // "1024x768" creates a window of size 1024x768. 84 // "1024x768" creates a window of size 1024x768.
92 // "100+200-1024x768" positions the window at 100,200. 85 // "100+200-1024x768" positions the window at 100,200.
93 // "1024x768*2" sets the scale factor to 2 for a high DPI display. 86 // "1024x768*2" sets the scale factor to 2 for a high DPI display.
94 // "800,0+800-800x800" for two displays at 800x800 resolution. 87 // "800,0+800-800x800" for two displays at 800x800 resolution.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 129
137 return base::SysInfo::IsRunningOnChromeOS() || 130 return base::SysInfo::IsRunningOnChromeOS() ||
138 base::CommandLine::ForCurrentProcess()->HasSwitch( 131 base::CommandLine::ForCurrentProcess()->HasSwitch(
139 kAshConstrainPointerToRoot); 132 kAshConstrainPointerToRoot);
140 } 133 }
141 134
142 #endif 135 #endif
143 136
144 } // namespace switches 137 } // namespace switches
145 } // namespace ash 138 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/ash_switches.h ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698