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

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

Issue 1936953002: Don't return installed apps in webstore searches in Launcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address final reviews Created 4 years, 7 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/app_list/search/webstore/webstore_provider.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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // The launch type specifies whether a hosted app should launch as a separate 152 // The launch type specifies whether a hosted app should launch as a separate
153 // window, fullscreened or as a tab. 153 // window, fullscreened or as a tab.
154 extensions::LaunchType GetExtensionLaunchType( 154 extensions::LaunchType GetExtensionLaunchType(
155 Profile* profile, const std::string& app_id); 155 Profile* profile, const std::string& app_id);
156 virtual void SetExtensionLaunchType( 156 virtual void SetExtensionLaunchType(
157 Profile* profile, 157 Profile* profile,
158 const std::string& extension_id, 158 const std::string& extension_id,
159 extensions::LaunchType launch_type); 159 extensions::LaunchType launch_type);
160 160
161 // Returns true if the given extension is installed. 161 // Returns true if the given extension is installed.
162 bool IsExtensionInstalled(Profile* profile, const std::string& app_id); 162 virtual bool IsExtensionInstalled(Profile* profile,
163 const std::string& app_id);
163 164
164 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile); 165 extensions::InstallTracker* GetInstallTrackerFor(Profile* profile);
165 166
166 // Get the list of installed apps for the given profile. 167 // Get the list of installed apps for the given profile.
167 void GetApps(Profile* profile, extensions::ExtensionSet* out_apps); 168 void GetApps(Profile* profile, extensions::ExtensionSet* out_apps);
168 169
169 // Called when a search is started using the app list search box. 170 // Called when a search is started using the app list search box.
170 void OnSearchStarted(); 171 void OnSearchStarted();
171 }; 172 };
172 173
173 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_ 174 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_CONTROLLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/app_list/search/webstore/webstore_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698