| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_AURA_SHELL_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | |
| 6 #define UI_AURA_SHELL_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "ui/aura_shell/aura_shell_export.h" | |
| 10 | |
| 11 namespace aura_shell { | |
| 12 | |
| 13 class AppListItemModel; | |
| 14 | |
| 15 class AURA_SHELL_EXPORT AppListViewDelegate { | |
| 16 public: | |
| 17 // AppListView owns the delegate. | |
| 18 virtual ~AppListViewDelegate() {} | |
| 19 | |
| 20 // Invoked an AppListeItemModelView is activated by click or enter key. | |
| 21 virtual void OnAppListItemActivated(AppListItemModel* item, | |
| 22 int event_flags) = 0; | |
| 23 }; | |
| 24 | |
| 25 } // namespace aura_shell | |
| 26 | |
| 27 #endif // UI_AURA_SHELL_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ | |
| OLD | NEW |