Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: chrome/browser/ui/ash/launcher/launcher_item_controller.h

Issue 2747983002: arc: Fix crash on deferred app launch. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698