OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ASH_COMMON_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ | 5 #ifndef ASH_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ |
6 #define ASH_COMMON_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ | 6 #define ASH_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "ash/public/cpp/shelf_application_menu_item.h" | 12 #include "ash/public/cpp/shelf_application_menu_item.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "ui/base/models/simple_menu_model.h" | 14 #include "ui/base/models/simple_menu_model.h" |
15 | 15 |
16 namespace ash { | 16 namespace ash { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 ShelfAppMenuItemList items_; | 54 ShelfAppMenuItemList items_; |
55 | 55 |
56 // The shelf item delegate that created the menu and executes its commands. | 56 // The shelf item delegate that created the menu and executes its commands. |
57 ShelfItemDelegate* delegate_; | 57 ShelfItemDelegate* delegate_; |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(ShelfApplicationMenuModel); | 59 DISALLOW_COPY_AND_ASSIGN(ShelfApplicationMenuModel); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace ash | 62 } // namespace ash |
63 | 63 |
64 #endif // ASH_COMMON_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ | 64 #endif // ASH_SHELF_SHELF_APPLICATION_MENU_MODEL_H_ |
OLD | NEW |