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

Issue 2686543002: Add "usages" field to Image in WebApk.proto (Closed)

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

Description

Add "usages" field to Image in WebApk.proto "usages" field is used by Chrome to specify intended usages for the image sent in a WebAPK proto. An image can have multiple usages, e.g. "primary icon" and "badge icon". At most two images can have non-empty "usages" fields: the image most suitable for primary icon, and the image most suitable for badge icon. The "usages" field in the proto and manifest.icon.purpose defined in the W3C Web Manifest specification are different. - "usages" is used by Chrome to distinguish the image most suitable for primary icon and the image most suitable for badge icon from other images, and from each other. - manifest.icon.purpose is used by Web developers to specify intended usage for the images. BUG=649771 Review-Url: https://codereview.chromium.org/2686543002 Cr-Commit-Position: refs/heads/master@{#449255} Committed: https://chromium.googlesource.com/chromium/src/+/fb90fb92c0ce0e549112e9dfbeaeb2309aad883d

Patch Set 1 #

Total comments: 10

Patch Set 2 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M chrome/browser/android/webapk/webapk.proto View 1 2 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 34 (23 generated)
F
Hi Dominick & Peter, PTAL. Thanks!
3 years, 10 months ago (2017-02-07 11:53:47 UTC) #4
pkotwicz
Passing this over to Glenn who is a server expert https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto File chrome/browser/android/webapk/webapk.proto (right): https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto#newcode92 ...
3 years, 10 months ago (2017-02-07 14:38:06 UTC) #10
hartmanng
https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto File chrome/browser/android/webapk/webapk.proto (right): https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto#newcode75 chrome/browser/android/webapk/webapk.proto:75: enum Usage { It could be useful to have ...
3 years, 10 months ago (2017-02-07 14:53:22 UTC) #11
hartmanng
https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto File chrome/browser/android/webapk/webapk.proto (right): https://codereview.chromium.org/2686543002/diff/1/chrome/browser/android/webapk/webapk.proto#newcode76 chrome/browser/android/webapk/webapk.proto:76: PRIMARY_ICON = 1; On 2017/02/07 14:53:22, hartmanng wrote: > ...
3 years, 10 months ago (2017-02-07 18:18:29 UTC) #12
dominickn
Will rs lg when hartmanng is happy.
3 years, 10 months ago (2017-02-07 22:14:26 UTC) #13
F
Thanks Dominick, Glenn, and Peter! PTAL I've updated the the CL description and code comments ...
3 years, 10 months ago (2017-02-08 15:32:15 UTC) #22
hartmanng
lgtm
3 years, 10 months ago (2017-02-08 15:42:49 UTC) #23
pkotwicz
LGTM. I have added bullet points to your CL description to make it clearer :)
3 years, 10 months ago (2017-02-08 19:18:52 UTC) #27
dominickn
rs lgtm
3 years, 10 months ago (2017-02-08 23:23:20 UTC) #29
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/2686543002/60001
3 years, 10 months ago (2017-02-09 10:35:04 UTC) #31
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 10:39:19 UTC) #34
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/fb90fb92c0ce0e549112e9dfbeae...

Powered by Google App Engine
This is Rietveld 408576698