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

Side by Side Diff: ash/system/tray/system_tray.h

Issue 115113006: Rename Launcher to Shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 7 years 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/system/status_area_widget.cc ('k') | ash/system/tray/system_tray.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_SYSTEM_TRAY_SYSTEM_TRAY_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/system/tray/system_tray_bubble.h" 9 #include "ash/system/tray/system_tray_bubble.h"
10 #include "ash/system/tray/tray_background_view.h" 10 #include "ash/system/tray/tray_background_view.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Updates the items when the login status of the system changes. 88 // Updates the items when the login status of the system changes.
89 void UpdateAfterLoginStatusChange(user::LoginStatus login_status); 89 void UpdateAfterLoginStatusChange(user::LoginStatus login_status);
90 90
91 // Updates the items when the shelf alignment changes. 91 // Updates the items when the shelf alignment changes.
92 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment); 92 void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment);
93 93
94 // Temporarily hides/unhides the notification bubble. 94 // Temporarily hides/unhides the notification bubble.
95 void SetHideNotifications(bool hidden); 95 void SetHideNotifications(bool hidden);
96 96
97 // Returns true if the launcher should be forced visible when auto-hidden. 97 // Returns true if the shelf should be forced visible when auto-hidden.
98 bool ShouldShowLauncher() const; 98 bool ShouldShowShelf() const;
99 99
100 // Returns true if there is a system bubble (already visible or in the process 100 // Returns true if there is a system bubble (already visible or in the process
101 // of being created). 101 // of being created).
102 bool HasSystemBubble() const; 102 bool HasSystemBubble() const;
103 103
104 // Returns true if there is a notification bubble. 104 // Returns true if there is a notification bubble.
105 bool HasNotificationBubble() const; 105 bool HasNotificationBubble() const;
106 106
107 // Returns true if the system_bubble_ exists and is of type |type|. 107 // Returns true if the system_bubble_ exists and is of type |type|.
108 bool HasSystemBubbleType(internal::SystemTrayBubble::BubbleType type); 108 bool HasSystemBubbleType(internal::SystemTrayBubble::BubbleType type);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 238
239 internal::TrayAccessibility* tray_accessibility_; // not owned 239 internal::TrayAccessibility* tray_accessibility_; // not owned
240 internal::TrayDate* tray_date_; 240 internal::TrayDate* tray_date_;
241 241
242 DISALLOW_COPY_AND_ASSIGN(SystemTray); 242 DISALLOW_COPY_AND_ASSIGN(SystemTray);
243 }; 243 };
244 244
245 } // namespace ash 245 } // namespace ash
246 246
247 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_ 247 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_H_
OLDNEW
« no previous file with comments | « ash/system/status_area_widget.cc ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698