Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Issue 311293002: Ensure ephemeral apps have dock icons on mac (Closed)

Created:
6 years, 6 months ago by tmdiep
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Ensure ephemeral apps have dock icons on mac App shims are now created for ephemeral apps in the user data directory to ensure that they have dock icons. App shims are not copied to the Applications folder as ephemeral apps should be hidden from the OS. BUG=375027 TEST=Launch an app ephemerally and ensure it has a dock icon, but does not appear in Spotlight search results. Install the app fully and ensure it now has both a dock icon and appears in Spotlight. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276436

Patch Set 1 #

Total comments: 1

Patch Set 2 : Addressed review comment #

Total comments: 5

Patch Set 3 : Addressed review comments #

Patch Set 4 : Use new enum instead of hidden #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -14 lines) Patch
M chrome/browser/apps/shortcut_manager.cc View 1 2 3 3 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/extensions/extension_ui_util.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_ui_util.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/web_applications/web_app_win.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tmdiep
jackhou: for web_app* benwells: for c/b/a and c/b/e Thanks in advance. jack: I was able ...
6 years, 6 months ago (2014-06-05 06:36:22 UTC) #1
jackhou1
lgtm https://codereview.chromium.org/311293002/diff/1/chrome/browser/extensions/extension_ui_util.h File chrome/browser/extensions/extension_ui_util.h (right): https://codereview.chromium.org/311293002/diff/1/chrome/browser/extensions/extension_ui_util.h#newcode27 chrome/browser/extensions/extension_ui_util.h:27: bool ShouldDisplayInAppLauncherIgnoreEphemeral( Maybe ShouldDisplayInAppLauncherIncludingEphemeral would be clearer.
6 years, 6 months ago (2014-06-05 06:58:19 UTC) #2
benwells
setn from phonr On Jun 5, 2014 4:36 PM, <[email protected]> wrote: > Reviewers: jackhou1, benwells, ...
6 years, 6 months ago (2014-06-05 08:59:23 UTC) #3
benwells
https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc File chrome/browser/apps/shortcut_manager.cc (right): https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc#newcode49 chrome/browser/apps/shortcut_manager.cc:49: creation_locations.hidden = true; I think this will have some ...
6 years, 6 months ago (2014-06-05 09:27:42 UTC) #4
tmdiep
+mgiuca: Is NoDisplay=true in .desktop files supposed to hide the app from unity search? https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc ...
6 years, 6 months ago (2014-06-06 02:49:56 UTC) #5
Matt Giuca
https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc File chrome/browser/apps/shortcut_manager.cc (right): https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc#newcode49 chrome/browser/apps/shortcut_manager.cc:49: creation_locations.hidden = true; Yeah, NoDisplay=true is what you want ...
6 years, 6 months ago (2014-06-06 05:50:17 UTC) #6
tmdiep
On 2014/06/06 05:50:17, Matt Giuca wrote: > https://codereview.chromium.org/311293002/diff/40001/chrome/browser/apps/shortcut_manager.cc#newcode49 > chrome/browser/apps/shortcut_manager.cc:49: creation_locations.hidden = true; > Yeah, ...
6 years, 6 months ago (2014-06-06 06:23:20 UTC) #7
Matt Giuca
On 2014/06/06 06:23:20, tmdiep wrote: > On 2014/06/06 05:50:17, Matt Giuca wrote: > > > ...
6 years, 6 months ago (2014-06-10 00:58:39 UTC) #8
tmdiep
Patch has now been rebased on: https://codereview.chromium.org/320503004 Uses the new enum value introduced in the ...
6 years, 6 months ago (2014-06-10 01:47:32 UTC) #9
Matt Giuca
Windows / Linux LGTM.
6 years, 6 months ago (2014-06-10 03:01:34 UTC) #10
benwells
lgtm
6 years, 6 months ago (2014-06-10 07:55:25 UTC) #11
tmdiep
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-11 07:42:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/311293002/100001
6 years, 6 months ago (2014-06-11 07:44:43 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 13:47:41 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-11 17:15:01 UTC) #15
Message was sent while issue was closed.
Change committed as 276436

Powered by Google App Engine
This is Rietveld 408576698