OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_MENU_MODEL_H_ | 5 #ifndef CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_MENU_MODEL_H_ |
6 #define CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_MENU_MODEL_H_ | 6 #define CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_MENU_MODEL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
12 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
13 | 14 |
14 namespace gfx { | 15 namespace gfx { |
15 class Image; | 16 class Image; |
16 } | 17 } |
17 | 18 |
18 class StatusIconMenuModelTest; | 19 class StatusIconMenuModelTest; |
19 | 20 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 ItemStateMap item_states_; | 110 ItemStateMap item_states_; |
110 | 111 |
111 base::ObserverList<Observer> observer_list_; | 112 base::ObserverList<Observer> observer_list_; |
112 | 113 |
113 Delegate* delegate_; | 114 Delegate* delegate_; |
114 | 115 |
115 DISALLOW_COPY_AND_ASSIGN(StatusIconMenuModel); | 116 DISALLOW_COPY_AND_ASSIGN(StatusIconMenuModel); |
116 }; | 117 }; |
117 | 118 |
118 #endif // CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_MENU_MODEL_H_ | 119 #endif // CHROME_BROWSER_STATUS_ICONS_STATUS_ICON_MENU_MODEL_H_ |
OLD | NEW |