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

Side by Side Diff: ash/ash_switches.h

Issue 163953007: Refactor the TrayAudio code so that it can be used by other platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory leak by using scoped_ptr in TrayAudio Created 6 years, 10 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Returns true if multiple user icons are allowed in the tray. 95 // Returns true if multiple user icons are allowed in the tray.
96 ASH_EXPORT bool UseMultiUserTray(); 96 ASH_EXPORT bool UseMultiUserTray();
97 97
98 // Returns true if overview mode should be activated for window switching. 98 // Returns true if overview mode should be activated for window switching.
99 ASH_EXPORT bool UseOverviewMode(); 99 ASH_EXPORT bool UseOverviewMode();
100 100
101 // Returns true if docked windows feature is enabled. 101 // Returns true if docked windows feature is enabled.
102 ASH_EXPORT bool UseDockedWindows(); 102 ASH_EXPORT bool UseDockedWindows();
103 103
104 #if defined(OS_CHROMEOS)
105 // Returns true if we should show the audio device switching UI. 104 // Returns true if we should show the audio device switching UI.
106 ASH_EXPORT bool ShowAudioDeviceMenu(); 105 ASH_EXPORT bool ShowAudioDeviceMenu();
107 106
107 #if defined(OS_CHROMEOS)
108 // Returns true if a notification should appear when a low-power USB charger 108 // Returns true if a notification should appear when a low-power USB charger
109 // is connected. 109 // is connected.
110 ASH_EXPORT bool UseUsbChargerNotification(); 110 ASH_EXPORT bool UseUsbChargerNotification();
111 #endif 111 #endif
112 112
113 } // namespace switches 113 } // namespace switches
114 } // namespace ash 114 } // namespace ash
115 115
116 #endif // ASH_ASH_SWITCHES_H_ 116 #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