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

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: Rebase 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
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/workspace/workspace_window_resizer.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 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen"; 82 const char kAshEnableImmersiveFullscreen[] = "ash-enable-immersive-fullscreen";
83 83
84 #if defined(OS_LINUX) 84 #if defined(OS_LINUX)
85 // Enable memory monitoring. 85 // Enable memory monitoring.
86 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor"; 86 const char kAshEnableMemoryMonitor[] = "ash-enable-memory-monitor";
87 #endif 87 #endif
88 88
89 // Enables the Oak tree viewer. 89 // Enables the Oak tree viewer.
90 const char kAshEnableOak[] = "ash-enable-oak"; 90 const char kAshEnableOak[] = "ash-enable-oak";
91 91
92 // Enables "sticky" edges instead of "snap-to-edge"
93 const char kAshEnableStickyEdges[] = "ash-enable-sticky-edges";
94
92 // Enables showing the tray bubble by dragging on the shelf. 95 // Enables showing the tray bubble by dragging on the shelf.
93 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging"; 96 const char kAshEnableTrayDragging[] = "ash-enable-tray-dragging";
94 97
95 // Enable workspace switching via a three finger vertical scroll. 98 // Enable workspace switching via a three finger vertical scroll.
96 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing"; 99 const char kAshEnableWorkspaceScrubbing[] = "ash-enable-workspace-scrubbing";
97 100
98 // Sets a window size, optional position, and optional scale factor. 101 // Sets a window size, optional position, and optional scale factor.
99 // "1024x768" creates a window of size 1024x768. 102 // "1024x768" creates a window of size 1024x768.
100 // "100+200-1024x768" positions the window at 100,200. 103 // "100+200-1024x768" positions the window at 100,200.
101 // "1024x768*2" sets the scale factor to 2 for a high DPI display. 104 // "1024x768*2" sets the scale factor to 2 for a high DPI display.
(...skipping 26 matching lines...) Expand all
128 131
129 #if defined(OS_WIN) 132 #if defined(OS_WIN)
130 // Force Ash to open its root window on the desktop, even on Windows 8 where 133 // Force Ash to open its root window on the desktop, even on Windows 8 where
131 // it would normally end up in metro. 134 // it would normally end up in metro.
132 const char kForceAshToDesktop[] = "ash-force-desktop"; 135 const char kForceAshToDesktop[] = "ash-force-desktop";
133 ; 136 ;
134 #endif 137 #endif
135 138
136 } // namespace switches 139 } // namespace switches
137 } // namespace ash 140 } // namespace ash
OLDNEW
« no previous file with comments | « ash/ash_switches.h ('k') | ash/wm/workspace/workspace_window_resizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698