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