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

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

Issue 2090133003: Moved methods that don't rely on internal state out of ChromeLauncherController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit changes Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/ui/ash/app_list/app_list_controller_ash.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 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_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/common/extensions/extension_constants.h" 10 #include "chrome/common/extensions/extension_constants.h"
(...skipping 25 matching lines...) Expand all
36 class AppListControllerDelegate { 36 class AppListControllerDelegate {
37 public: 37 public:
38 // Indicates the source of an app list activation, for tracking purposes. 38 // Indicates the source of an app list activation, for tracking purposes.
39 enum AppListSource { 39 enum AppListSource {
40 LAUNCH_FROM_UNKNOWN, 40 LAUNCH_FROM_UNKNOWN,
41 LAUNCH_FROM_APP_LIST, 41 LAUNCH_FROM_APP_LIST,
42 LAUNCH_FROM_APP_LIST_SEARCH 42 LAUNCH_FROM_APP_LIST_SEARCH
43 }; 43 };
44 44
45 // Whether apps can be pinned, and whether pinned apps are editable or fixed. 45 // Whether apps can be pinned, and whether pinned apps are editable or fixed.
46 // TODO(khmel): Find better home for Pinnable enum.
46 enum Pinnable { 47 enum Pinnable {
47 NO_PIN, 48 NO_PIN,
48 PIN_EDITABLE, 49 PIN_EDITABLE,
49 PIN_FIXED 50 PIN_FIXED
50 }; 51 };
51 52
52 virtual ~AppListControllerDelegate(); 53 virtual ~AppListControllerDelegate();
53 54
54 // Whether to force the use of a native desktop widget when the app list 55 // Whether to force the use of a native desktop widget when the app list
55 // window is first created. 56 // window is first created.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile); 169 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile);
169 170
170 // Get the list of installed apps for the given profile. 171 // Get the list of installed apps for the given profile.
171 void GetApps(Profile* profile, extensions::ExtensionSet* out_apps); 172 void GetApps(Profile* profile, extensions::ExtensionSet* out_apps);
172 173
173 // Called when a search is started using the app list search box. 174 // Called when a search is started using the app list search box.
174 void OnSearchStarted(); 175 void OnSearchStarted();
175 }; 176 };
176 177
177 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 178 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/ash/app_list/app_list_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698