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

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: Correcting logic to avoid getting stuck on resize Created 7 years, 7 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const char kAshEnableAudioDeviceMenu[] = 78 const char kAshEnableAudioDeviceMenu[] =
79 "ash-enable-audio-device-menu"; 79 "ash-enable-audio-device-menu";
80 80
81 // Enable advanced gestures (e.g. for window management). 81 // Enable advanced gestures (e.g. for window management).
82 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; 82 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
83 83
84 // Always enable brightness control. Used by machines that don't report their 84 // Always enable brightness control. Used by machines that don't report their
85 // main monitor as internal. 85 // main monitor as internal.
86 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; 86 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
87 87
88 // Enable the gutter area on a desktop.
89 const char kAshEnableDockedWindows[] = "ash-enable-docked-windows";
90
88 // Enable immersive fullscreen mode, regardless of default setting. 91 // Enable immersive fullscreen mode, regardless of default setting.
89 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; 92 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen";
90 93
91 #if defined(OS_LINUX) 94 #if defined(OS_LINUX)
92 // Enable memory monitoring. 95 // Enable memory monitoring.
93 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; 96 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
94 #endif 97 #endif
95 98
96 // Enables the Oak tree viewer. 99 // Enables the Oak tree viewer.
97 const char kAshEnableOak[] = "ash-enable-oak"; 100 const char kAshEnableOak[] = "ash-enable-oak";
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 160 }
158 161
159 bool ShowAudioDeviceMenu() { 162 bool ShowAudioDeviceMenu() {
160 return ash::switches::UseNewAudioHandler() && 163 return ash::switches::UseNewAudioHandler() &&
161 CommandLine::ForCurrentProcess()-> 164 CommandLine::ForCurrentProcess()->
162 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu); 165 HasSwitch(ash::switches::kAshEnableAudioDeviceMenu);
163 } 166 }
164 167
165 } // namespace switches 168 } // namespace switches
166 } // namespace ash 169 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/base_layout_manager.cc » ('j') | ash/wm/property_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698