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

Unified Diff: chrome/browser/ui/app_list/app_list_service_mac.mm

Issue 14579006: Start app shim when app launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/app_list_service_mac.mm
diff --git a/chrome/browser/ui/app_list/app_list_service_mac.mm b/chrome/browser/ui/app_list/app_list_service_mac.mm
index 3a45759192ba84773b076c36e05fb26061f19826..4825a4a1a679f899dd127e8725f3ff4018ebf6fb 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
@@ -61,7 +61,8 @@ class AppListServiceMac : public AppListServiceImpl,
virtual void EnableAppList() OVERRIDE;
// AppShimHandler overrides:
- virtual bool OnShimLaunch(apps::AppShimHandler::Host* host) OVERRIDE;
+ virtual bool OnShimLaunch(apps::AppShimHandler::Host* host,
+ bool launch_now) OVERRIDE;
virtual void OnShimClose(apps::AppShimHandler::Host* host) OVERRIDE;
virtual void OnShimFocus(apps::AppShimHandler::Host* host) OVERRIDE;
@@ -271,7 +272,8 @@ NSWindow* AppListServiceMac::GetNativeWindow() {
return [window_controller_ window];
}
-bool AppListServiceMac::OnShimLaunch(apps::AppShimHandler::Host* host) {
+bool AppListServiceMac::OnShimLaunch(apps::AppShimHandler::Host* host,
+ bool launch_now) {
tapted 2013/05/29 04:20:30 I've noticed the app list will need some logic add
ShowForSavedProfile();
observers_.AddObserver(host);
return true;

Powered by Google App Engine
This is Rietveld 408576698