OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ |
6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "chrome/browser/status_icons/status_tray.h" | 9 #include "chrome/browser/status_icons/status_tray.h" |
10 | 10 |
11 class StatusTrayMac : public StatusTray { | 11 class StatusTrayMac : public StatusTray { |
12 public: | 12 public: |
13 StatusTrayMac(); | 13 StatusTrayMac(); |
14 | 14 |
15 protected: | 15 protected: |
16 // Factory method for creating a status icon. | 16 // Factory method for creating a status icon. |
17 virtual StatusIcon* CreatePlatformStatusIcon( | 17 StatusIcon* CreatePlatformStatusIcon(StatusIconType type, |
18 StatusIconType type, | 18 const gfx::ImageSkia& image, |
19 const gfx::ImageSkia& image, | 19 const base::string16& tool_tip) override; |
20 const base::string16& tool_tip) override; | |
21 | 20 |
22 private: | 21 private: |
23 DISALLOW_COPY_AND_ASSIGN(StatusTrayMac); | 22 DISALLOW_COPY_AND_ASSIGN(StatusTrayMac); |
24 }; | 23 }; |
25 | 24 |
26 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ | 25 #endif // CHROME_BROWSER_UI_COCOA_STATUS_ICONS_STATUS_TRAY_MAC_H_ |
27 | 26 |
OLD | NEW |