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

Side by Side Diff: ash/ash_switches.cc

Issue 23620060: Try to enable software mirror mode in UI message loop after Init() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 7 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 | Annotate | Revision Log
« no previous file with comments | « ash/ash_switches.h ('k') | ash/display/display_manager.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/ash_switches.h" 5 #include "ash/ash_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace switches { 10 namespace switches {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // Enable memory monitoring. 118 // Enable memory monitoring.
119 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; 119 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
120 #endif 120 #endif
121 121
122 // Enables the Oak tree viewer. 122 // Enables the Oak tree viewer.
123 const char kAshEnableOak[] = "ash-enable-oak"; 123 const char kAshEnableOak[] = "ash-enable-oak";
124 124
125 // Disables overview mode for window switching. 125 // Disables overview mode for window switching.
126 const char kAshDisableOverviewMode[] = "ash-disable-overview-mode"; 126 const char kAshDisableOverviewMode[] = "ash-disable-overview-mode";
127 127
128 // Enables software based mirroring.
129 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring";
130
128 // Enables "sticky" edges instead of "snap-to-edge" 131 // Enables "sticky" edges instead of "snap-to-edge"
129 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges"; 132 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges";
130 133
131 // Enables showing the tray bubble by dragging on the shelf. 134 // Enables showing the tray bubble by dragging on the shelf.
132 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; 135 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
133 136
134 // Forces chrome to use mirror mode when an external display is connected. 137 // Forces chrome to use mirror mode when an external display is connected.
135 const char kAshForceMirrorMode[] = "ash-force-mirror-mode"; 138 const char kAshForceMirrorMode[] = "ash-force-mirror-mode";
136 139
137 // Hides notifications that are irrelevant to Chrome OS device factory testing, 140 // Hides notifications that are irrelevant to Chrome OS device factory testing,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 227 }
225 228
226 bool UseUsbChargerNotification() { 229 bool UseUsbChargerNotification() {
227 return !CommandLine::ForCurrentProcess()-> 230 return !CommandLine::ForCurrentProcess()->
228 HasSwitch(kAshDisableUsbChargerNotification); 231 HasSwitch(kAshDisableUsbChargerNotification);
229 } 232 }
230 #endif 233 #endif
231 234
232 } // namespace switches 235 } // namespace switches
233 } // namespace ash 236 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/display/display_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698