| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_APP_LIST_ARC_ARC_APP_ITEM_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_ITEM_H_ |
| 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_ITEM_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_ITEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/memory/scoped_vector.h" | |
| 12 #include "chrome/browser/ui/app_list/app_context_menu_delegate.h" | 11 #include "chrome/browser/ui/app_list/app_context_menu_delegate.h" |
| 13 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h" | 12 #include "chrome/browser/ui/app_list/arc/arc_app_icon.h" |
| 14 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" | 13 #include "chrome/browser/ui/app_list/chrome_app_list_item.h" |
| 15 #include "ui/app_list/app_list_item.h" | 14 #include "ui/app_list/app_list_item.h" |
| 16 | 15 |
| 17 class ArcAppContextMenu; | 16 class ArcAppContextMenu; |
| 18 class Profile; | 17 class Profile; |
| 19 | 18 |
| 20 // ArcAppItem represents an ARC app in app list. | 19 // ArcAppItem represents an ARC app in app list. |
| 21 class ArcAppItem : public ChromeAppListItem, | 20 class ArcAppItem : public ChromeAppListItem, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 49 // Updates the app item's icon, if necessary making it gray. | 48 // Updates the app item's icon, if necessary making it gray. |
| 50 void UpdateIcon(); | 49 void UpdateIcon(); |
| 51 | 50 |
| 52 std::unique_ptr<ArcAppIcon> arc_app_icon_; | 51 std::unique_ptr<ArcAppIcon> arc_app_icon_; |
| 53 std::unique_ptr<ArcAppContextMenu> context_menu_; | 52 std::unique_ptr<ArcAppContextMenu> context_menu_; |
| 54 | 53 |
| 55 DISALLOW_COPY_AND_ASSIGN(ArcAppItem); | 54 DISALLOW_COPY_AND_ASSIGN(ArcAppItem); |
| 56 }; | 55 }; |
| 57 | 56 |
| 58 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_ITEM_H_ | 57 #endif // CHROME_BROWSER_UI_APP_LIST_ARC_ARC_APP_ITEM_H_ |
| OLD | NEW |