OLD | NEW |
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 ASH_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ | 5 #ifndef UI_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ |
6 #define ASH_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ | 6 #define UI_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/ash_export.h" | 9 #include "ui/app_list/app_list_export.h" |
10 | 10 |
11 namespace ash { | 11 namespace app_list { |
12 | 12 |
13 class ASH_EXPORT AppListItemModelObserver { | 13 class APP_LIST_EXPORT AppListItemModelObserver { |
14 public: | 14 public: |
15 // Invoked after item's icon is changed. | 15 // Invoked after item's icon is changed. |
16 virtual void ItemIconChanged() = 0; | 16 virtual void ItemIconChanged() = 0; |
17 | 17 |
18 // Invoked after item's title is changed. | 18 // Invoked after item's title is changed. |
19 virtual void ItemTitleChanged() = 0; | 19 virtual void ItemTitleChanged() = 0; |
20 | 20 |
21 // Invoked after item's highlighted state is changed. | 21 // Invoked after item's highlighted state is changed. |
22 virtual void ItemHighlightedChanged() = 0; | 22 virtual void ItemHighlightedChanged() = 0; |
23 | 23 |
24 protected: | 24 protected: |
25 virtual ~AppListItemModelObserver() {} | 25 virtual ~AppListItemModelObserver() {} |
26 }; | 26 }; |
27 | 27 |
28 } // namespace ash | 28 } // namespace app_list |
29 | 29 |
30 #endif // ASH_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ | 30 #endif // UI_APP_LIST_APP_LIST_ITEM_MODEL_OBSERVER_H_ |
OLD | NEW |