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

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 on left or right edge 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 const char kAshEnableAudioDeviceMenu[] = 65 const char kAshEnableAudioDeviceMenu[] =
66 "ash-enable-audio-device-menu"; 66 "ash-enable-audio-device-menu";
67 67
68 // Enable advanced gestures (e.g. for window management). 68 // Enable advanced gestures (e.g. for window management).
69 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; 69 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
70 70
71 // Always enable brightness control. Used by machines that don't report their 71 // Always enable brightness control. Used by machines that don't report their
72 // main monitor as internal. 72 // main monitor as internal.
73 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; 73 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
74 74
75 // Enable the gutter area on a desktop.
flackr 2013/05/31 14:23:45 s/gutter/dock.
varkha 2013/05/31 23:33:42 Done.
76 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
77
75 // Enable immersive fullscreen mode, regardless of default setting. 78 // Enable immersive fullscreen mode, regardless of default setting.
76 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; 79 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen";
77 80
78 #if defined(OS_CHROMEOS) 81 #if defined(OS_CHROMEOS)
79 // Enable compositor based mirroring. 82 // Enable compositor based mirroring.
80 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; 83 const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring";
81 #endif 84 #endif
82 85
83 #if defined(OS_LINUX) 86 #if defined(OS_LINUX)
84 // Enable memory monitoring. 87 // Enable memory monitoring.
(...skipping 67 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