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

Issue 2939773004: [Android WebAPK] Do not add padding to WebAPK primary icon (Closed)

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

Description

[Android WebAPK] Do not add padding to WebAPK primary icon For non-intranet sites the WebAPK server ignores the icon sent as part of the proto (but not the hash). This CL stops add_to_homescreen_data_fetcher.cc from adding padding to the primary icon. This makes the icon in the add-to-homescreen banner look the same as the one added to app list / homescreen by Google Play. BUG=697228 Review-Url: https://codereview.chromium.org/2939773004 Cr-Commit-Position: refs/heads/master@{#479912} Committed: https://chromium.googlesource.com/chromium/src/+/685bb7c7671afce49cda469ce95d303413cf3694

Patch Set 1 #

Total comments: 1

Patch Set 2 : Merge branch 'reenable_tests000' into reenable_tests00 #

Total comments: 1

Patch Set 3 : Merge branch 'reenable_tests000' into reenable_tests00 #

Patch Set 4 : Merge branch 'master' into reenable_tests0000000000 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
pkotwicz
Xi, can you please take a look? This CL depends on https://codereview.chromium.org/2937823002/
3 years, 6 months ago (2017-06-14 00:16:02 UTC) #2
pkotwicz
The goal of the CL is to make the behavior of add_to_homescreen_data_fetcher.cc in this scenario ...
3 years, 6 months ago (2017-06-14 00:28:04 UTC) #3
Xi Han
lgtm https://codereview.chromium.org/2939773004/diff/1/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/2939773004/diff/1/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#newcode250 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:250: } New line here:)
3 years, 6 months ago (2017-06-14 16:58:27 UTC) #4
pkotwicz
Dominick, can you please take a look?
3 years, 6 months ago (2017-06-15 02:38:50 UTC) #7
dominickn
https://codereview.chromium.org/2939773004/diff/40001/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/2939773004/diff/40001/chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc#newcode247 chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc:247: if (webapk_compatible) { The multiple returns here are a ...
3 years, 6 months ago (2017-06-15 03:01:27 UTC) #8
pkotwicz
Dominick, can you please take another look? I addressed your (one and only) comment :)
3 years, 6 months ago (2017-06-15 03:53:41 UTC) #9
dominickn
lgtm, thanks
3 years, 6 months ago (2017-06-15 03:55:29 UTC) #10
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/2939773004/80001
3 years, 6 months ago (2017-06-15 22:22:53 UTC) #13
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 01:58:15 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/685bb7c7671afce49cda469ce95d...

Powered by Google App Engine
This is Rietveld 408576698