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

Side by Side Diff: ash/ash_switches.cc

Issue 10947046: Eliminate kAshNotifyDisabled and SystemNotification (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 // Constrains the pointer movement within a root window on desktop. 10 // Constrains the pointer movement within a root window on desktop.
11 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root"; 11 const char kAshConstrainPointerToRoot[] = "ash-constrain-pointer-to-root";
12 12
13 // Enable keyboard shortcuts useful for debugging. 13 // Enable keyboard shortcuts useful for debugging.
14 const char kAshDebugShortcuts[] = "ash-debug-shortcuts"; 14 const char kAshDebugShortcuts[] = "ash-debug-shortcuts";
15 15
16 // Disables Workspace2. 16 // Disables Workspace2.
17 const char kAshDisableWorkspace2[] = "ash-disable-workspace2"; 17 const char kAshDisableWorkspace2[] = "ash-disable-workspace2";
18 18
19 // Disables boot animation v2, go back to v1. 19 // Disables boot animation v2, go back to v1.
20 const char kAshDisableBootAnimation2[] = "ash-disable-boot-animation2"; 20 const char kAshDisableBootAnimation2[] = "ash-disable-boot-animation2";
21 21
22 // Enable advanced gestures (e.g. for window management). 22 // Enable advanced gestures (e.g. for window management).
23 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures"; 23 const char kAshEnableAdvancedGestures[] = "ash-enable-advanced-gestures";
24 24
25 // Enables the Oak tree viewer. 25 // Enables the Oak tree viewer.
26 const char kAshEnableOak[] = "ash-enable-oak"; 26 const char kAshEnableOak[] = "ash-enable-oak";
27 27
28 // Disable using Ash notifications.
29 const char kAshNotifyDisabled[] = "ash-notify-disabled";
30
31 // Specifies the layout mode and offsets for the secondary display for 28 // Specifies the layout mode and offsets for the secondary display for
32 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT, 29 // testing. The format is "<t|r|b|l>,<offset>" where t=TOP, r=RIGHT,
33 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display 30 // b=BOTTOM and L=LEFT. For example, 'r,-100' means the secondary display
34 // is positioned on the right with -100 offset. (above than primary) 31 // is positioned on the right with -100 offset. (above than primary)
35 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout"; 32 const char kAshSecondaryDisplayLayout[] = "ash-secondary-display-layout";
36 33
37 // Enables the heads-up display for tracking touch points. 34 // Enables the heads-up display for tracking touch points.
38 const char kAshTouchHud[] = "ash-touch-hud"; 35 const char kAshTouchHud[] = "ash-touch-hud";
39 36
40 // If present animations are disabled. 37 // If present animations are disabled.
41 const char kAshWindowAnimationsDisabled[] = "ash-window-animations-disabled"; 38 const char kAshWindowAnimationsDisabled[] = "ash-window-animations-disabled";
42 39
43 // Use Google-style dialog box frames. 40 // Use Google-style dialog box frames.
44 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames"; 41 const char kAuraGoogleDialogFrames[] = "aura-google-dialog-frames";
45 42
46 // (Most) Chrome OS hardware reports ACPI power button releases correctly. 43 // (Most) Chrome OS hardware reports ACPI power button releases correctly.
47 // Standard hardware reports releases immediately after presses. If set, we 44 // Standard hardware reports releases immediately after presses. If set, we
48 // lock the screen or shutdown the system immediately in response to a press 45 // lock the screen or shutdown the system immediately in response to a press
49 // instead of displaying an interactive animation. 46 // instead of displaying an interactive animation.
50 const char kAuraLegacyPowerButton[] = "aura-legacy-power-button"; 47 const char kAuraLegacyPowerButton[] = "aura-legacy-power-button";
51 48
52 // Avoid drawing drop shadows under windows. 49 // Avoid drawing drop shadows under windows.
53 const char kAuraNoShadows[] = "aura-no-shadows"; 50 const char kAuraNoShadows[] = "aura-no-shadows";
54 51
55 } // namespace switches 52 } // namespace switches
56 } // namespace ash 53 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698