Chromium Code Reviews| Index: chrome/browser/ui/app_list/arc/arc_app_item.h |
| diff --git a/chrome/browser/ui/app_list/arc/arc_app_item.h b/chrome/browser/ui/app_list/arc/arc_app_item.h |
| index 22342bd5d6c207b8a10f21bc07e2801b0cb89908..1f87d24e75c164598088678b0ec53192b49c97f8 100644 |
| --- a/chrome/browser/ui/app_list/arc/arc_app_item.h |
| +++ b/chrome/browser/ui/app_list/arc/arc_app_item.h |
| @@ -12,6 +12,8 @@ |
| #include "chrome/browser/ui/app_list/arc/arc_app_icon.h" |
| #include "ui/app_list/app_list_item.h" |
| +class AppListControllerDelegate; |
| + |
| namespace content { |
| class BrowserContext; |
| } // content |
| @@ -43,7 +45,15 @@ class ArcAppItem : public app_list::AppListItem, |
| // ArcAppIcon::Observer |
| void OnIconUpdated() override; |
| + // AppListControllerDelegate is not properly implemented in tests. Disable |
| + // it for unit_tests. |
| + static void DisableContollerDelegateForTesting(); |
| + |
| + |
|
xiyuan
2015/12/09 17:20:30
nit: nuke one empty line
khmel1
2015/12/10 05:19:04
Done.
|
| private: |
| + // Return the controller for the active desktop type. |
| + AppListControllerDelegate* GetController(); |
| + |
| // Updates the app item's icon, if necessary making it gray. |
| void UpdateIcon(); |