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

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

Issue 55683002: Instantiate AppShimMenuController when app launcher is enabled. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comment Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 513cd1f6a1008914189abfc58189e6cf7986080c..b6911b2fb2afc2df7ce6c5d07de501b0ff1098b7 100644
--- a/chrome/browser/ui/app_list/app_list_service_mac.mm
+++ b/chrome/browser/ui/app_list/app_list_service_mac.mm
@@ -14,6 +14,7 @@
#include "base/lazy_instance.h"
#include "base/memory/singleton.h"
#include "base/message_loop/message_loop.h"
+#import "chrome/browser/app_controller_mac.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_system.h"
@@ -405,6 +406,12 @@ bool AppListServiceMac::IsAppListVisible() const {
![animation_controller_ isClosing];
}
+void AppListServiceMac::EnableAppList(Profile* initial_profile) {
+ AppListServiceImpl::EnableAppList(initial_profile);
+ AppController* controller = [NSApp delegate];
+ [controller initAppShimMenuController];
+}
+
void AppListServiceMac::CreateShortcut() {
CreateAppListShim(GetProfilePath(
g_browser_process->profile_manager()->user_data_dir()));
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_mac.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698