OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_VIEW_LISTENER_H_ | 5 #ifndef ASH_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_ |
6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_ | 6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
10 | 10 |
11 namespace aura_shell { | 11 namespace ash { |
12 | 12 |
13 class AppListItemView; | 13 class AppListItemView; |
14 | 14 |
15 class ASH_EXPORT AppListItemViewListener { | 15 class ASH_EXPORT AppListItemViewListener { |
16 public: | 16 public: |
17 // Invoked when an AppListeItemModelView is activated by click or enter key. | 17 // Invoked when an AppListeItemModelView is activated by click or enter key. |
18 virtual void AppListItemActivated(AppListItemView* sender, | 18 virtual void AppListItemActivated(AppListItemView* sender, |
19 int event_flags) = 0; | 19 int event_flags) = 0; |
20 | 20 |
21 protected: | 21 protected: |
22 virtual ~AppListItemViewListener() {} | 22 virtual ~AppListItemViewListener() {} |
23 }; | 23 }; |
24 | 24 |
25 } // namespace aura_shell | 25 } // namespace ash |
26 | 26 |
27 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_ | 27 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_LISTENER_H_ |
OLD | NEW |