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

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: rework + fix tests Created 7 years, 4 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {} 145 void AppResult::OnExtensionUnloaded(const extensions::Extension* extension) {}
146 146
147 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) { 147 void AppResult::OnExtensionUninstalled(const extensions::Extension* extension) {
148 if (extension->id() != app_id_) 148 if (extension->id() != app_id_)
149 return; 149 return;
150 150
151 NotifyItemUninstalled(); 151 NotifyItemUninstalled();
152 } 152 }
153 153
154 void AppResult::OnAppsReordered() {} 154 void AppResult::OnAppListReordered() {}
155 155
156 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {} 156 void AppResult::OnAppInstalledToAppList(const std::string& extension_id) {}
157 157
158 void AppResult::OnShutdown() { StopObservingInstall(); } 158 void AppResult::OnShutdown() { StopObservingInstall(); }
159 159
160 } // namespace app_list 160 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698