OLD | NEW |
| (Empty) |
1 // Copyright 2014 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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ | |
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ | |
7 | |
8 namespace app_list { | |
9 class AppListView; | |
10 } | |
11 | |
12 class AppListControllerDelegate; | |
13 | |
14 // Allows platform-specific hooks for the AppListShower. | |
15 class AppListShowerDelegate { | |
16 public: | |
17 virtual AppListControllerDelegate* GetControllerDelegateForCreate() = 0; | |
18 virtual void OnViewCreated() = 0; | |
19 virtual void OnViewDismissed() = 0; | |
20 virtual void MoveNearCursor(app_list::AppListView* view) = 0; | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_DELEGATE_H_ | |
OLD | NEW |