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

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

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: happy mac 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/app_list/cocoa/apps_search_results_model_bridge.mm » ('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 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/webstore_result.h" 5 #include "chrome/browser/ui/app_list/search/webstore_result.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 void WebstoreResult::OnInstallFailure(const std::string& extension_id) {} 177 void WebstoreResult::OnInstallFailure(const std::string& extension_id) {}
178 178
179 void WebstoreResult::OnExtensionInstalled( 179 void WebstoreResult::OnExtensionInstalled(
180 const extensions::Extension* extension) { 180 const extensions::Extension* extension) {
181 if (extension->id() != app_id_) 181 if (extension->id() != app_id_)
182 return; 182 return;
183 183
184 SetIsInstalling(false); 184 SetIsInstalling(false);
185 UpdateActions(); 185 UpdateActions();
186 NotifyItemInstalled();
186 } 187 }
187 188
188 void WebstoreResult::OnExtensionLoaded( 189 void WebstoreResult::OnExtensionLoaded(
189 const extensions::Extension* extension) {} 190 const extensions::Extension* extension) {}
190 191
191 void WebstoreResult::OnExtensionUnloaded( 192 void WebstoreResult::OnExtensionUnloaded(
192 const extensions::Extension* extension) {} 193 const extensions::Extension* extension) {}
193 194
194 void WebstoreResult::OnExtensionUninstalled( 195 void WebstoreResult::OnExtensionUninstalled(
195 const extensions::Extension* extension) {} 196 const extensions::Extension* extension) {}
196 197
197 void WebstoreResult::OnAppsReordered() {} 198 void WebstoreResult::OnAppsReordered() {}
198 199
199 void WebstoreResult::OnAppInstalledToAppList(const std::string& extension_id) {} 200 void WebstoreResult::OnAppInstalledToAppList(const std::string& extension_id) {}
200 201
201 void WebstoreResult::OnShutdown() { 202 void WebstoreResult::OnShutdown() {
202 StopObservingInstall(); 203 StopObservingInstall();
203 } 204 }
204 205
205 ChromeSearchResultType WebstoreResult::GetType() { 206 ChromeSearchResultType WebstoreResult::GetType() {
206 return SEARCH_WEBSTORE_SEARCH_RESULT; 207 return SEARCH_WEBSTORE_SEARCH_RESULT;
207 } 208 }
208 209
209 } // namespace app_list 210 } // namespace app_list
OLDNEW
« no previous file with comments | « no previous file | ui/app_list/cocoa/apps_search_results_model_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698