Index: ui/app_list/app_list_item_model.h |
diff --git a/ui/app_list/app_list_item_model.h b/ui/app_list/app_list_item_model.h |
index e9675a83ee1d0aaf10daa8fa5e0945351931048f..1defc5a557f8eb8927713faf6c88c588178213f4 100644 |
--- a/ui/app_list/app_list_item_model.h |
+++ b/ui/app_list/app_list_item_model.h |
@@ -51,6 +51,15 @@ class APP_LIST_EXPORT AppListItemModel { |
void AddObserver(AppListItemModelObserver* observer); |
void RemoveObserver(AppListItemModelObserver* observer); |
+ // Returns a string identifier for the subclass (defaults to ""). |
+ virtual std::string AppType() const; |
+ |
+ // Activates (opens) the item. Does nothing by default. |
+ virtual void Activate(int event_flags); |
+ |
+ // Updates the item (called when the model may have changed). |
+ virtual void Update(); |
+ |
// Returns the context menu model for this item, or NULL if there is currently |
// no menu for the item (e.g. during install). |
// Note the returned menu model is owned by this item. |