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

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

Issue 11834002: app_list: Split app_list_controller.* into two smaller parts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 class Profile; 10 class Profile;
11 11
12 // Interface to allow the view delegate to call out to whatever is controlling 12 // Interface to allow the view delegate to call out to whatever is controlling
13 // the app list. This will have different implementations for different 13 // the app list. This will have different implementations for different
14 // platforms. 14 // platforms.
15 class AppListControllerDelegate { 15 class AppListControllerDelegate {
16 public: 16 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void ActivateApp(Profile* profile, 48 virtual void ActivateApp(Profile* profile,
49 const std::string& extension_id, 49 const std::string& extension_id,
50 int event_flags) = 0; 50 int event_flags) = 0;
51 51
52 // Launch the app. 52 // Launch the app.
53 virtual void LaunchApp(Profile* profile, 53 virtual void LaunchApp(Profile* profile,
54 const std::string& extension_id, 54 const std::string& extension_id,
55 int event_flags) = 0; 55 int event_flags) = 0;
56 }; 56 };
57 57
58 namespace app_list_controller { 58 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
59
60 // Do any once off initialization needed for the app list.
61 void InitAppList();
62
63 // Show the app list.
64 void ShowAppList();
65
66 } // namespace app_list_controller
67
68 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_controller.cc ('k') | chrome/browser/ui/app_list/app_list_controller_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698