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

Side by Side Diff: ash/ash_switches.cc

Issue 13896026: Stick windows to sides of workspaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dock with zero width (some tests disabled on Windows) Created 7 years, 6 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
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 const char kAshEnableAudioDeviceMenu[] = 70 const char kAshEnableAudioDeviceMenu[] =
71 "ash-enable-audio-device-menu"; 71 "ash-enable-audio-device-menu";
72 72
73 // Enable advanced gestures (e.g. for window management). 73 // Enable advanced gestures (e.g. for window management).
74 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; 74 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
75 75
76 // Always enable brightness control. Used by machines that don't report their 76 // Always enable brightness control. Used by machines that don't report their
77 // main monitor as internal. 77 // main monitor as internal.
78 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; 78 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
79 79
80 // Enable the dock area on a desktop.
81 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
82
80 // Enable immersive fullscreen mode, regardless of default setting. 83 // Enable immersive fullscreen mode, regardless of default setting.
81 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; 84 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen";
82 85
83 #if defined(OS_LINUX) 86 #if defined(OS_LINUX)
84 // Enable memory monitoring. 87 // Enable memory monitoring.
85 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; 88 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
86 #endif 89 #endif
87 90
88 // Enables the Oak tree viewer. 91 // Enables the Oak tree viewer.
89 const char kAshEnableOak[] = "ash-enable-oak"; 92 const char kAshEnableOak[] = "ash-enable-oak";
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 155 }
153 156
154 bool ShowAudioDeviceMenu() { 157 bool ShowAudioDeviceMenu() {
155 return ash::switches::UseNewAudioHandler() && 158 return ash::switches::UseNewAudioHandler() &&
156 CommandLine::ForCurrentProcess()-> 159 CommandLine::ForCurrentProcess()->
157 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); 160 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu);
158 } 161 }
159 162
160 } // namespace switches 163 } // namespace switches
161 } // namespace ash 164 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698