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

Side by Side Diff: chrome/browser/ui/app_list/search/app_result.cc

Issue 17038002: Separate the NTP app ordering from the app list app ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/app_list/search/app_result.h" 5 #include "chrome/browser/ui/app_list/search/app_result.h"
6 6
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/extension_system_factory.h" 8 #include "chrome/browser/extensions/extension_system_factory.h"
9 #include "chrome/browser/extensions/install_tracker.h" 9 #include "chrome/browser/extensions/install_tracker.h"
10 #include "chrome/browser/extensions/install_tracker_factory.h" 10 #include "chrome/browser/extensions/install_tracker_factory.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 197
198 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} 198 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {}
199 199
200 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { 200 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
201 if (extension->id() != app_id_) 201 if (extension->id() != app_id_)
202 return; 202 return;
203 203
204 NotifyItemUninstalled(); 204 NotifyItemUninstalled();
205 } 205 }
206 206
207 void AppResult::OnAppsReordered() {} 207 void AppResult::OnAppListReordered() {}
208 208
209 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} 209 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {}
210 210
211 void AppResult::OnShutdown() { StopObservingInstall(); } 211 void AppResult::OnShutdown() { StopObservingInstall(); }
212 212
213 } // namespace app_list 213 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698