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

Side by Side Diff: ash/ash_switches.cc

Issue 14273008: Add ash-enable-sticky-edges for 'sticky' instead of 'snap' behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
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 namespace ash { 7 namespace ash {
8 namespace switches { 8 namespace switches {
9 9
10 // Enables an animated transition from the boot splash screen (Chrome logo on a 10 // Enables an animated transition from the boot splash screen (Chrome logo on a
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control"; 72 const char kAshEnableBrightnessControl[] = "ash-enable-brightness-control";
73 73
74 #if defined(OS_LINUX) 74 #if defined(OS_LINUX)
75 // Enable memory monitoring. 75 // Enable memory monitoring.
76 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; 76 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
77 #endif 77 #endif
78 78
79 // Enables the Oak tree viewer. 79 // Enables the Oak tree viewer.
80 const char kAshEnableOak[] = "ash-enable-oak"; 80 const char kAshEnableOak[] = "ash-enable-oak";
81 81
82 // Enables "sticky" edges instead of "snap-to-edge"
83 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges";
84
82 // Enables showing the tray bubble by dragging on the shelf. 85 // Enables showing the tray bubble by dragging on the shelf.
83 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; 86 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
84 87
85 // Enable workspace switching via a three finger vertical scroll. 88 // Enable workspace switching via a three finger vertical scroll.
86 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; 89 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing";
87 90
88 // Sets a window size, optional position, and optional scale factor. 91 // Sets a window size, optional position, and optional scale factor.
89 // "1024x768" creates a window of size 1024x768. 92 // "1024x768" creates a window of size 1024x768.
90 // "100+200-1024x768" positions the window at 100,200. 93 // "100+200-1024x768" positions the window at 100,200.
91 // "1024x768*2" sets the scale factor to 2 for a high DPI display. 94 // "1024x768*2" sets the scale factor to 2 for a high DPI display.
(...skipping 27 matching lines...) Expand all
119 122
120 #if defined(OS_WIN) 123 #if defined(OS_WIN)
121 // Force Ash to open its root window on the desktop, even on Windows 8 where 124 // Force Ash to open its root window on the desktop, even on Windows 8 where
122 // it would normally end up in metro. 125 // it would normally end up in metro.
123 const char kForceAshToDesktop[] = "ash-force-desktop"; 126 const char kForceAshToDesktop[] = "ash-force-desktop";
124 ; 127 ;
125 #endif 128 #endif
126 129
127 } // namespace switches 130 } // namespace switches
128 } // namespace ash 131 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/base_layout_manager.cc » ('j') | ash/wm/base_layout_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698