Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/browser/ui/app_list/app_list_shower_delegate.h

Issue 508813002: Move ownership of the AppListViewDelegate into the AppListService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_views.cc ('k') | chrome/browser/ui/app_list/app_list_shower_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698