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

Side by Side Diff: ash/ash_switches.h

Issue 185143002: Revert of Ash:Shelf - Cleanup of Alternate Shelf (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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.gyp ('k') | ash/ash_switches.cc » ('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 #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"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; 49 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
50 ASH_EXPORT extern const char kAshEnableSystemSounds[]; 50 ASH_EXPORT extern const char kAshEnableSystemSounds[];
51 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; 51 ASH_EXPORT extern const char kAshEnableTouchViewTesting[];
52 ASH_EXPORT extern const char kAshEnableTrayDragging[]; 52 ASH_EXPORT extern const char kAshEnableTrayDragging[];
53 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; 53 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
54 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; 54 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
55 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; 55 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
56 ASH_EXPORT extern const char kAshHostWindowBounds[]; 56 ASH_EXPORT extern const char kAshHostWindowBounds[];
57 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; 57 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[];
58 ASH_EXPORT extern const char kAshTouchHud[]; 58 ASH_EXPORT extern const char kAshTouchHud[];
59 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[];
59 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; 60 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[];
60 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; 61 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
61 #if defined(OS_WIN) 62 #if defined(OS_WIN)
62 ASH_EXPORT extern const char kForceAshToDesktop[]; 63 ASH_EXPORT extern const char kForceAshToDesktop[];
63 #endif 64 #endif
64 65
65 // Returns true if the alternate visual style for the caption buttons (minimize, 66 // Returns true if the alternate visual style for the caption buttons (minimize,
66 // maximize, restore, close) should be used. 67 // maximize, restore, close) should be used.
67 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); 68 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
68 69
70 // Returns true if the alternate shelf layout should be used.
71 ASH_EXPORT bool UseAlternateShelfLayout();
72
69 // Returns true if items can be dragged off the shelf to unpin. 73 // Returns true if items can be dragged off the shelf to unpin.
70 ASH_EXPORT bool UseDragOffShelf(); 74 ASH_EXPORT bool UseDragOffShelf();
71 75
72 // Returns true if all windows (barring frameless apps) can be put into 76 // Returns true if all windows (barring frameless apps) can be put into
73 // immersive fullscreen via <F4>. 77 // immersive fullscreen via <F4>.
74 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); 78 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows();
75 79
76 // Returns true if multiple user icons are allowed in the tray. 80 // Returns true if multiple user icons are allowed in the tray.
77 ASH_EXPORT bool UseMultiUserTray(); 81 ASH_EXPORT bool UseMultiUserTray();
78 82
79 // Returns true if overview mode should be activated for window switching. 83 // Returns true if overview mode should be activated for window switching.
80 ASH_EXPORT bool UseOverviewMode(); 84 ASH_EXPORT bool UseOverviewMode();
81 85
82 // Returns true if docked windows feature is enabled. 86 // Returns true if docked windows feature is enabled.
83 ASH_EXPORT bool UseDockedWindows(); 87 ASH_EXPORT bool UseDockedWindows();
84 88
85 // Returns true if we should show the audio device switching UI. 89 // Returns true if we should show the audio device switching UI.
86 ASH_EXPORT bool ShowAudioDeviceMenu(); 90 ASH_EXPORT bool ShowAudioDeviceMenu();
87 91
88 #if defined(OS_CHROMEOS) 92 #if defined(OS_CHROMEOS)
89 // Returns true if a notification should appear when a low-power USB charger 93 // Returns true if a notification should appear when a low-power USB charger
90 // is connected. 94 // is connected.
91 ASH_EXPORT bool UseUsbChargerNotification(); 95 ASH_EXPORT bool UseUsbChargerNotification();
92 #endif 96 #endif
93 97
94 } // namespace switches 98 } // namespace switches
95 } // namespace ash 99 } // namespace ash
96 100
97 #endif // ASH_ASH_SWITCHES_H_ 101 #endif // ASH_ASH_SWITCHES_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/ash_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698