OLD | NEW |
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 CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ | 5 #ifndef CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ |
6 #define CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ | 6 #define CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "build/build_config.h" |
12 #include "chrome/browser/status_icons/status_icon_menu_model.h" | 13 #include "chrome/browser/status_icons/status_icon_menu_model.h" |
13 | 14 |
14 namespace gfx { | 15 namespace gfx { |
15 class ImageSkia; | 16 class ImageSkia; |
16 } | 17 } |
17 | 18 |
18 namespace message_center { | 19 namespace message_center { |
19 struct NotifierId; | 20 struct NotifierId; |
20 } | 21 } |
21 | 22 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 private: | 80 private: |
80 base::ObserverList<StatusIconObserver> observers_; | 81 base::ObserverList<StatusIconObserver> observers_; |
81 | 82 |
82 // Context menu, if any. | 83 // Context menu, if any. |
83 scoped_ptr<StatusIconMenuModel> context_menu_contents_; | 84 scoped_ptr<StatusIconMenuModel> context_menu_contents_; |
84 | 85 |
85 DISALLOW_COPY_AND_ASSIGN(StatusIcon); | 86 DISALLOW_COPY_AND_ASSIGN(StatusIcon); |
86 }; | 87 }; |
87 | 88 |
88 #endif // CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ | 89 #endif // CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_H_ |
OLD | NEW |