blob: 6829f944fc0458e46e2f3ad90f11776fbfbf1e2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
#define CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
#pragma once
#include "base/scoped_ptr.h"
#include "chrome/browser/status_icons/status_icon.h"
class Profile;
class StatusTray;
// Manages the set of status tray icons and associated UI.
class StatusTrayManager : private StatusIcon::Observer {
public:
StatusTrayManager();
virtual ~StatusTrayManager();
void Init(Profile* profile);
private:
// Overriden from StatusIcon::Observer:
virtual void OnClicked();
scoped_ptr<StatusTray> status_tray_;
Profile* profile_;
};
#endif // CHROME_BROWSER_STATUS_ICONS_STATUS_TRAY_MANAGER_H_
|