Index: chrome/browser/ui/ash/launcher/launcher_item_controller.h |
diff --git a/chrome/browser/ui/ash/launcher/launcher_item_controller.h b/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
index 57c2352def3cbb60c887f96f62c400d1a3c13253..81d1c327a5798ca6968308764627fa68af97c9ed 100644 |
--- a/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
+++ b/chrome/browser/ui/ash/launcher/launcher_item_controller.h |
@@ -56,6 +56,9 @@ class LauncherItemController : public ash::mojom::ShelfItemDelegate { |
// Returns nullptr if class is not AppWindowLauncherItemController. |
virtual AppWindowLauncherItemController* AsAppWindowLauncherItemController(); |
+ // Returns true if controller represents a shortcut. |
+ virtual bool IsShortcut() const; |
+ |
private: |
// The application id; empty if there is no app associated with the item. |
const std::string app_id_; |