Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
index 3dcfad209381d3bf107ba0a4f9d117c120ac5267..59a5be7b5e9115dcb8a869596c6b843b5fad90b3 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller.h |
@@ -23,6 +23,7 @@ |
#include "base/memory/scoped_vector.h" |
#include "build/build_config.h" |
#include "chrome/browser/ui/app_icon_loader.h" |
+#include "chrome/browser/ui/app_list/app_list_controller_delegate.h" |
#include "chrome/browser/ui/ash/app_sync_ui_state_observer.h" |
#include "chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item.h" |
#include "chrome/browser/ui/ash/launcher/chrome_launcher_types.h" |
@@ -381,7 +382,7 @@ class ChromeLauncherController |
return app_window_controllers_[0].get(); |
} |
- bool CanPin(const std::string& app_id); |
+ AppListControllerDelegate::Pinnable GetPinnable(const std::string& app_id); |
xiyuan
2016/04/26 21:00:23
nit: We might want find a better home for Pinnable
khmel
2016/04/26 21:11:31
Right, it looks a little odd to have it here.
|
protected: |
// Creates a new app shortcut item and controller on the shelf at |index|. |