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

Side by Side Diff: ui/app_list/app_list_model_observer.h

Issue 297643002: Add tiles to the experimental app list start page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac test Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 5 #ifndef UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
6 #define UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 6 #define UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
7 7
8 #include "ui/app_list/app_list_export.h" 8 #include "ui/app_list/app_list_export.h"
9 9
10 namespace app_list { 10 namespace app_list {
11 11
12 class AppListItem; 12 class AppListItem;
13 13
14 class APP_LIST_EXPORT AppListModelObserver { 14 class APP_LIST_EXPORT AppListModelObserver {
15 public: 15 public:
16 // Invoked when AppListModel's status has changed. 16 // Invoked when AppListModel's status has changed.
17 virtual void OnAppListModelStatusChanged() {} 17 virtual void OnAppListModelStatusChanged() {}
18 18
19 // Triggered after |item| has been added to the model. 19 // Triggered after |item| has been added to the model.
20 virtual void OnAppListItemAdded(AppListItem* item) {} 20 virtual void OnAppListItemAdded(AppListItem* item) {}
21 21
22 // Triggered just before an item is deleted from the model. 22 // Triggered just before an item is deleted from the model.
23 virtual void OnAppListItemWillBeDeleted(AppListItem* item) {} 23 virtual void OnAppListItemWillBeDeleted(AppListItem* item) {}
24 24
25 // Triggered just after an item is deleted from the model.
26 virtual void OnAppListItemDeleted() {}
27
25 // Triggered after |item| has moved, changed folders, or changed properties. 28 // Triggered after |item| has moved, changed folders, or changed properties.
26 virtual void OnAppListItemUpdated(AppListItem* item) {} 29 virtual void OnAppListItemUpdated(AppListItem* item) {}
27 30
28 protected: 31 protected:
29 virtual ~AppListModelObserver() {} 32 virtual ~AppListModelObserver() {}
30 }; 33 };
31 34
32 } // namespace app_list 35 } // namespace app_list
33 36
34 #endif // UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_ 37 #endif // UI_APP_LIST_APP_LIST_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_model.cc ('k') | ui/app_list/views/app_list_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698