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

Side by Side Diff: ash/ash_switches.h

Issue 263083005: Remove "Alternate frame caption button style" command line flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | 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 #ifndef ASH_ASH_SWITCHES_H_ 5 #ifndef ASH_ASH_SWITCHES_H_
6 #define ASH_ASH_SWITCHES_H_ 6 #define ASH_ASH_SWITCHES_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace switches { 13 namespace switches {
14 14
15 // Note: If you add a switch, consider if it needs to be copied to a subsequent 15 // Note: If you add a switch, consider if it needs to be copied to a subsequent
16 // command line if the process executes a new copy of itself. (For example, 16 // command line if the process executes a new copy of itself. (For example,
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) 17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
18 18
19 // Please keep alphabetized. 19 // Please keep alphabetized.
20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; 20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[];
21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[]; 21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[];
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; 22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[];
23 ASH_EXPORT extern const char kAshDebugShortcuts[]; 23 ASH_EXPORT extern const char kAshDebugShortcuts[];
24 ASH_EXPORT extern const char kAshDefaultWallpaperIsOem[]; 24 ASH_EXPORT extern const char kAshDefaultWallpaperIsOem[];
25 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; 25 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[];
26 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; 26 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[];
27 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[];
28 ASH_EXPORT extern const char kAshDisableDockedWindows[]; 27 ASH_EXPORT extern const char kAshDisableDockedWindows[];
29 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[];
30 #if defined(OS_CHROMEOS) 28 #if defined(OS_CHROMEOS)
31 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; 29 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[];
32 #endif 30 #endif
33 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; 31 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
34 ASH_EXPORT extern const char kAshEnableSystemSounds[]; 32 ASH_EXPORT extern const char kAshEnableSystemSounds[];
35 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; 33 ASH_EXPORT extern const char kAshEnableTouchViewTesting[];
36 ASH_EXPORT extern const char kAshEnableTrayDragging[]; 34 ASH_EXPORT extern const char kAshEnableTrayDragging[];
37 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; 35 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
38 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; 36 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
39 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; 37 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
40 ASH_EXPORT extern const char kAshHostWindowBounds[]; 38 ASH_EXPORT extern const char kAshHostWindowBounds[];
41 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; 39 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[];
42 ASH_EXPORT extern const char kAshTouchHud[]; 40 ASH_EXPORT extern const char kAshTouchHud[];
43 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; 41 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[];
44 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; 42 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
45 #if defined(OS_WIN) 43 #if defined(OS_WIN)
46 ASH_EXPORT extern const char kForceAshToDesktop[]; 44 ASH_EXPORT extern const char kForceAshToDesktop[];
47 #endif 45 #endif
48 46
49 // Returns true if the alternate visual style for the caption buttons (minimize,
50 // maximize, restore, close) should be used.
51 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
52
53 // Returns true if items can be dragged off the shelf to unpin. 47 // Returns true if items can be dragged off the shelf to unpin.
54 ASH_EXPORT bool UseDragOffShelf(); 48 ASH_EXPORT bool UseDragOffShelf();
55 49
56 // Returns true if docked windows feature is enabled. 50 // Returns true if docked windows feature is enabled.
57 ASH_EXPORT bool UseDockedWindows(); 51 ASH_EXPORT bool UseDockedWindows();
58 52
59 #if defined(OS_CHROMEOS) 53 #if defined(OS_CHROMEOS)
60 // Returns true if a notification should appear when a low-power USB charger 54 // Returns true if a notification should appear when a low-power USB charger
61 // is connected. 55 // is connected.
62 ASH_EXPORT bool UseUsbChargerNotification(); 56 ASH_EXPORT bool UseUsbChargerNotification();
63 #endif 57 #endif
64 58
65 } // namespace switches 59 } // namespace switches
66 } // namespace ash 60 } // namespace ash
67 61
68 #endif // ASH_ASH_SWITCHES_H_ 62 #endif // ASH_ASH_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698