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

Issue 55683002: Instantiate AppShimMenuController when app launcher is enabled. (Mac) (Closed)

Created:
7 years, 1 month ago by jackhou1
Modified:
7 years, 1 month ago
Reviewers:
tapted, benwells, Nico
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Visibility:
Public.

Description

Instantiate AppShimMenuController when app launcher is enabled. (Mac) Currently the AppShimMenuController is only instantiated if app shims are enabled at startup. It's possible to enable app shims while Chrome is running by enabling the app launcher. In this case v2 apps don't get their own menu bar until Chrome is restarted. This CL exposes InitAppShimMenuController in AppController, which is called by AppListServiceMac when the app list is enabled. BUG=314890 TEST=Start with app shims not enabled. Enable app shims (e.g. enable the app launcher). Start an app. The app should have its own menu bar. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233190

Patch Set 1 #

Total comments: 2

Patch Set 2 : Lazy initialize menu items #

Patch Set 3 : Expose InitAppShimMenuController in AppController #

Total comments: 3

Patch Set 4 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M chrome/browser/app_controller_mac.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/app_controller_mac.mm View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.mm View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
jackhou1
7 years, 1 month ago (2013-11-01 05:58:18 UTC) #1
benwells
On 2013/11/01 05:58:18, jackhou1 wrote: lgtm
7 years, 1 month ago (2013-11-01 06:03:59 UTC) #2
jackhou1
thakis, please review for OWNERS
7 years, 1 month ago (2013-11-01 06:05:14 UTC) #3
Nico
https://codereview.chromium.org/55683002/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/55683002/diff/1/chrome/browser/app_controller_mac.mm#oldcode684 chrome/browser/app_controller_mac.mm:684: if (apps::IsAppShimsEnabled()) I suppose this becomes true some time ...
7 years, 1 month ago (2013-11-01 23:47:59 UTC) #4
jackhou1
+tapted, what do you think? https://codereview.chromium.org/55683002/diff/1/chrome/browser/app_controller_mac.mm File chrome/browser/app_controller_mac.mm (left): https://codereview.chromium.org/55683002/diff/1/chrome/browser/app_controller_mac.mm#oldcode684 chrome/browser/app_controller_mac.mm:684: if (apps::IsAppShimsEnabled()) On 2013/11/01 ...
7 years, 1 month ago (2013-11-04 00:14:29 UTC) #5
Nico
Patch set 3 is what I meant, thanks. tapted is back tomorrow, so if he ...
7 years, 1 month ago (2013-11-04 00:22:57 UTC) #6
tapted
On 2013/11/04 00:14:29, jackhou1 wrote: > +tapted, what do you think? > > https://codereview.chromium.org/55683002/diff/1/chrome/browser/app_controller_mac.mm > ...
7 years, 1 month ago (2013-11-04 00:46:40 UTC) #7
tapted
ugh - must have hit some hotkey On 2013/11/04 00:46:40, tapted wrote: > On 2013/11/04 ...
7 years, 1 month ago (2013-11-04 00:49:26 UTC) #8
jackhou1
https://codereview.chromium.org/55683002/diff/110001/chrome/browser/ui/app_list/app_list_service_mac.h File chrome/browser/ui/app_list/app_list_service_mac.h (right): https://codereview.chromium.org/55683002/diff/110001/chrome/browser/ui/app_list/app_list_service_mac.h#newcode46 chrome/browser/ui/app_list/app_list_service_mac.h:46: virtual void EnableAppList(Profile* initial_profile) OVERRIDE; On 2013/11/04 00:49:26, tapted ...
7 years, 1 month ago (2013-11-04 01:31:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/55683002/190001
7 years, 1 month ago (2013-11-04 06:52:18 UTC) #10
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) ui_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_dbg_simulator&number=98453
7 years, 1 month ago (2013-11-04 07:30:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/55683002/190001
7 years, 1 month ago (2013-11-05 02:38:05 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/55683002/190001
7 years, 1 month ago (2013-11-05 03:17:42 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=219325
7 years, 1 month ago (2013-11-05 05:19:51 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/55683002/190001
7 years, 1 month ago (2013-11-06 01:24:37 UTC) #15
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 02:16:45 UTC) #16
Message was sent while issue was closed.
Change committed as 233190

Powered by Google App Engine
This is Rietveld 408576698