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 UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ | 5 #ifndef UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ |
6 #define UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ | 6 #define UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "ui/base/models/menu_model.h" | 12 #include "ui/base/models/menu_model.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class Image; | 15 class Image; |
16 } | 16 } |
17 | 17 |
18 namespace ui { | 18 namespace ui { |
19 | 19 |
20 class ButtonMenuItemModel; | 20 class ButtonMenuItemModel; |
21 | 21 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 MenuModelDelegate* menu_model_delegate_; | 179 MenuModelDelegate* menu_model_delegate_; |
180 | 180 |
181 base::WeakPtrFactory<SimpleMenuModel> method_factory_; | 181 base::WeakPtrFactory<SimpleMenuModel> method_factory_; |
182 | 182 |
183 DISALLOW_COPY_AND_ASSIGN(SimpleMenuModel); | 183 DISALLOW_COPY_AND_ASSIGN(SimpleMenuModel); |
184 }; | 184 }; |
185 | 185 |
186 } // namespace ui | 186 } // namespace ui |
187 | 187 |
188 #endif // UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ | 188 #endif // UI_BASE_MODELS_SIMPLE_MENU_MODEL_H_ |
OLD | NEW |