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

Side by Side Diff: chrome/browser/status_icons/status_tray_manager.h

Issue 661454: Initial implementation of status tray functionality (mac-only, currently). (Closed)
Patch Set: more changes per review feedback Created 10 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
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
6 #define CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
7
8 #include "base/scoped_ptr.h"
9 #include "chrome/browser/status_icons/status_icon.h"
10
11 class Profile;
12 class StatusTray;
13
14 // Manages the set of status tray icons and associated UI.
15 class StatusTrayManager : private StatusIcon::StatusIconObserver {
16 public:
17 StatusTrayManager();
18 virtual ~StatusTrayManager();
19
20 void Init(Profile* profile);
21
22 private:
23 // StatusIcon::StatusIconObserver callbacks
24 virtual void OnClicked();
25
26 scoped_ptr<StatusTray> status_tray_;
27 Profile* profile_;
28 };
29
30 #endif // CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/status_icons/status_tray.cc ('k') | chrome/browser/status_icons/status_tray_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698