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

Issue 32563004: [mac] Support adding the launcher to the Dock when Dashboard.app is present. (Closed)

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

Description

[mac] Support adding the launcher to the Dock when Dashboard.app is present. Dashboard has a special tile-type of "dashboard-tile" (rather than "file-tile"), and no file-data, when it is present in a user's Dock. dock::AddIcon(..) currently emits an error when encountering these dock tiles. This CL will detect the case of a Dock tile with no file-data, and substitute a dummy path (the empty string) to align with the source data dictionary. For the App Launcher, this CL also adds some error handling for dock::AddIcon. This allows the app launcher creation code to pop up the Finder window when adding the icon to the Dock fails. BUG=309941 TEST=Drag "Dashboard" from /Applications to the Dock, and enable the app launcher in a fresh Chrome install. You should get an app launcher added to the Dock. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230360

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -11 lines) Patch
M chrome/browser/mac/dock.h View 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/mac/dock.mm View 7 chunks +12 lines, -8 lines 0 comments Download
M chrome/browser/web_applications/web_app_mac.mm View 1 chunk +12 lines, -2 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
tapted
mark: please review for chrome/browser/mac benwells: please review for chrome/browser/web_applications Thanks!
7 years, 2 months ago (2013-10-22 04:05:42 UTC) #1
benwells
lgtm
7 years, 1 month ago (2013-10-22 07:38:27 UTC) #2
tapted
+thakis Nico, are you comfortable reviewing this change? Mark is OOO this week.. hoping to ...
7 years, 1 month ago (2013-10-22 23:06:25 UTC) #3
Nico
This lgtm. One question below (but code is fine): https://codereview.chromium.org/32563004/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/32563004/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode504 chrome/browser/web_applications/web_app_mac.mm:504: ...
7 years, 1 month ago (2013-10-23 00:21:10 UTC) #4
tapted
Thanks Nico! https://codereview.chromium.org/32563004/diff/1/chrome/browser/web_applications/web_app_mac.mm File chrome/browser/web_applications/web_app_mac.mm (right): https://codereview.chromium.org/32563004/diff/1/chrome/browser/web_applications/web_app_mac.mm#newcode504 chrome/browser/web_applications/web_app_mac.mm:504: } On 2013/10/23 00:21:11, Nico wrote: > ...
7 years, 1 month ago (2013-10-23 00:59:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/32563004/1
7 years, 1 month ago (2013-10-23 01:05:29 UTC) #6
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=92067
7 years, 1 month ago (2013-10-23 07:08:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/32563004/1
7 years, 1 month ago (2013-10-23 07:20:10 UTC) #8
commit-bot: I haz the power
7 years, 1 month ago (2013-10-23 07:23:17 UTC) #9
Message was sent while issue was closed.
Change committed as 230360

Powered by Google App Engine
This is Rietveld 408576698