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

Issue 2669133003: Update AddToHomescreenDataFetcher to accept badge icon for WebAPK. (Closed)

Created:
3 years, 10 months ago by F
Modified:
3 years, 10 months ago
Reviewers:
dominickn, pkotwicz
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update AddToHomescreenDataFetcher to accept badge icon for WebAPK. Update AddToHomescreenDataFetcher to accept badge icon if data is requested for WebAPK. As badge icon is processed for notification purpose in NotificationBuilderBase::setSmallIcon, we do not process the badge icon the same way we process the primary/launcher icon. BUG=649771 Review-Url: https://codereview.chromium.org/2669133003 Cr-Commit-Position: refs/heads/master@{#447870} Committed: https://chromium.googlesource.com/chromium/src/+/f504c224a1f45f413cbe4c0ab0908033ba83ca3e

Patch Set 1 : Format #

Total comments: 23

Patch Set 2 : Addressing comments #

Patch Set 3 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -29 lines) Patch
M chrome/browser/android/shortcut_info.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.h View 1 2 5 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 2 8 chunks +35 lines, -14 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher_unittest.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 1 2 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
F
Hi Dominick & Peter, PTAL. Thanks!
3 years, 10 months ago (2017-02-02 18:12:38 UTC) #9
pkotwicz
I'll take a look after my sheriff shift
3 years, 10 months ago (2017-02-02 18:14:54 UTC) #10
dominickn
https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h File chrome/browser/android/shortcut_info.h (right): https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h#newcode56 chrome/browser/android/shortcut_info.h:56: GURL best_icon_url; Perhaps rename this best_primary_icon_url? https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc ...
3 years, 10 months ago (2017-02-02 19:16:50 UTC) #13
F
Thanks Dominick, PTAL! https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h File chrome/browser/android/shortcut_info.h (right): https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h#newcode56 chrome/browser/android/shortcut_info.h:56: GURL best_icon_url; On 2017/02/02 19:16:50, dominickn ...
3 years, 10 months ago (2017-02-02 21:05:52 UTC) #16
dominickn
https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h File chrome/browser/android/shortcut_info.h (right): https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/shortcut_info.h#newcode56 chrome/browser/android/shortcut_info.h:56: GURL best_icon_url; On 2017/02/02 21:05:51, F wrote: > On ...
3 years, 10 months ago (2017-02-02 21:17:11 UTC) #17
F
Thanks Dominick, PTAL! https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc File chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc (right): https://codereview.chromium.org/2669133003/diff/20001/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#newcode228 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:228: data.badge_icon->deepCopyTo(&shortcut_badge_); On 2017/02/02 21:17:11, dominickn wrote: ...
3 years, 10 months ago (2017-02-02 22:30:42 UTC) #24
dominickn
lgtm, thanks!
3 years, 10 months ago (2017-02-02 23:06:47 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2669133003/80001
3 years, 10 months ago (2017-02-02 23:12:54 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 23:19:41 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f504c224a1f45f413cbe4c0ab090...

Powered by Google App Engine
This is Rietveld 408576698