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

Issue 2714633003: Adds more metadata to the about:webapks page (Closed)

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

Description

Adds more metadata to the about:webapks page Adds the following fields to the about:webapks page fore each WebAPK: - URI - Scope - Manifest URL - Start URL - Display mode - Orientation - Theme color - Background color BUG=696562 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2714633003 Cr-Commit-Position: refs/heads/master@{#454717} Committed: https://chromium.googlesource.com/chromium/src/+/85e97545954dc8828c9e76c1ba3ead10e9a6007e

Patch Set 1 #

Total comments: 12

Patch Set 2 : Adds more metadata to the about:webapks page #

Total comments: 7

Patch Set 3 : Adds more metadata to the about:webapks page #

Total comments: 10

Patch Set 4 : Adds more metadata to the about:webapks page #

Total comments: 4

Patch Set 5 : Adds more metadata to the about:webapks page #

Total comments: 10

Patch Set 6 : Adds more metadata to the about:webapks page #

Total comments: 8

Patch Set 7 : Adds more metadata to the about:webapks page #

Patch Set 8 : Adds more metadata to the about:webapks page #

Total comments: 4

Patch Set 9 : Adds more metadata to the about:webapks page #

Total comments: 4

Patch Set 10 : Adds more metadata to the about:webapks page #

Patch Set 11 : Adds more metadata to the about:webapks page #

Patch Set 12 : Adds more metadata to the about:webapks page #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -68 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java View 3 chunks +37 lines, -5 lines 0 comments Download
M chrome/browser/android/shortcut_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +49 lines, -5 lines 0 comments Download
M chrome/browser/android/webapk/webapk_info.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/android/webapk/webapk_info.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +27 lines, -4 lines 0 comments Download
M chrome/browser/android/webapk/webapk_installer.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/resources/webapks/about_webapks.css View 1 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/webapks/about_webapks.js View 1 2 3 4 5 6 7 8 9 10 3 chunks +45 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 6 7 8 9 3 chunks +9 lines, -27 lines 0 comments Download
M chrome/browser/ui/webui/webapks_handler.cc View 1 2 3 4 5 6 7 8 9 2 chunks +28 lines, -0 lines 0 comments Download
M ui/gfx/color_utils.h View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M ui/gfx/color_utils.cc View 1 2 3 4 5 6 7 8 9 2 chunks +15 lines, -0 lines 0 comments Download
M ui/gfx/color_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 52 (19 generated)
gonzalon
Hi! This CL adds a few fields to have more information about the installed WebAPKs ...
3 years, 10 months ago (2017-02-23 22:18:53 UTC) #3
hartmanng
lgtm
3 years, 10 months ago (2017-02-24 15:49:35 UTC) #4
pkotwicz
3 years, 10 months ago (2017-02-24 16:39:11 UTC) #5
gonzalon
dbeam@chromium.org: Please review changes in chrome/browser/resources/webapks/about_webapks.js and chrome/browser/ui/webui/webapks_handler.cc dominickn@chromium.org: Please review changes in the rest ...
3 years, 10 months ago (2017-02-24 16:55:06 UTC) #7
Dan Beam
https://codereview.chromium.org/2714633003/diff/1/chrome/browser/resources/webapks/about_webapks.js File chrome/browser/resources/webapks/about_webapks.js (right): https://codereview.chromium.org/2714633003/diff/1/chrome/browser/resources/webapks/about_webapks.js#newcode51 chrome/browser/resources/webapks/about_webapks.js:51: can you add @param documentation here? https://codereview.chromium.org/2714633003/diff/1/chrome/browser/resources/webapks/about_webapks.js#newcode53 chrome/browser/resources/webapks/about_webapks.js:53: webApkList.appendChild(document.createElement('br')); ...
3 years, 10 months ago (2017-02-24 18:36:16 UTC) #8
gonzalon
Thanks for reviewing! https://codereview.chromium.org/2714633003/diff/1/chrome/browser/resources/webapks/about_webapks.js File chrome/browser/resources/webapks/about_webapks.js (right): https://codereview.chromium.org/2714633003/diff/1/chrome/browser/resources/webapks/about_webapks.js#newcode51 chrome/browser/resources/webapks/about_webapks.js:51: On 2017/02/24 18:36:16, Dan Beam wrote: ...
3 years, 10 months ago (2017-02-24 22:30:52 UTC) #9
Dan Beam
https://codereview.chromium.org/2714633003/diff/1/chrome/browser/ui/webui/webapks_handler.cc File chrome/browser/ui/webui/webapks_handler.cc (right): https://codereview.chromium.org/2714633003/diff/1/chrome/browser/ui/webui/webapks_handler.cc#newcode45 chrome/browser/ui/webui/webapks_handler.cc:45: } On 2017/02/24 22:30:52, gonzalon wrote: > On 2017/02/24 ...
3 years, 10 months ago (2017-02-24 22:33:52 UTC) #10
dominickn
Can you please ensure the BUG= line is populated? https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java File chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java (right): https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java#newcode685 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java:685: ...
3 years, 9 months ago (2017-02-27 02:27:03 UTC) #11
gonzalon
On 2017/02/24 22:33:52, Dan Beam wrote: > https://codereview.chromium.org/2714633003/diff/1/chrome/browser/ui/webui/webapks_handler.cc > File chrome/browser/ui/webui/webapks_handler.cc (right): > > https://codereview.chromium.org/2714633003/diff/1/chrome/browser/ui/webui/webapks_handler.cc#newcode45 ...
3 years, 9 months ago (2017-02-27 15:59:34 UTC) #13
gonzalon
https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java File chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java (right): https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java#newcode685 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java:685: List<Long> themeColors = new ArrayList<>(); On 2017/02/27 02:27:02, dominickn ...
3 years, 9 months ago (2017-02-27 16:00:12 UTC) #14
pkotwicz
Just nits! https://codereview.chromium.org/2714633003/diff/1/chrome/browser/android/shortcut_helper.cc File chrome/browser/android/shortcut_helper.cc (right): https://codereview.chromium.org/2714633003/diff/1/chrome/browser/android/shortcut_helper.cc#newcode381 chrome/browser/android/shortcut_helper.cc:381: DCHECK(short_names.size() == background_colors.size()); I don't think that ...
3 years, 9 months ago (2017-02-27 20:50:59 UTC) #15
pkotwicz
https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java File chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java (right): https://codereview.chromium.org/2714633003/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java#newcode685 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java:685: List<Long> themeColors = new ArrayList<>(); I talked to him ...
3 years, 9 months ago (2017-02-27 20:58:07 UTC) #16
pkotwicz
3 years, 9 months ago (2017-02-27 20:58:10 UTC) #17
pkotwicz
3 years, 9 months ago (2017-02-27 20:58:11 UTC) #18
gonzalon
Thanks for reviewing! https://codereview.chromium.org/2714633003/diff/40001/chrome/browser/android/shortcut_helper.cc File chrome/browser/android/shortcut_helper.cc (right): https://codereview.chromium.org/2714633003/diff/40001/chrome/browser/android/shortcut_helper.cc#newcode402 chrome/browser/android/shortcut_helper.cc:402: static_cast<blink::WebDisplayMode>(std::move(display_modes[i])), On 2017/02/27 20:50:59, pkotwicz wrote: ...
3 years, 9 months ago (2017-02-27 21:33:17 UTC) #19
pkotwicz
LGTM for the webapk/ files with nits. (I am not an OWNER though) https://codereview.chromium.org/2714633003/diff/60001/chrome/browser/android/webapk/webapk_installer.cc File ...
3 years, 9 months ago (2017-02-27 23:39:39 UTC) #20
dominickn
c/b/a/webapks lgtm, thanks.
3 years, 9 months ago (2017-02-28 00:20:36 UTC) #21
gonzalon
https://codereview.chromium.org/2714633003/diff/60001/chrome/browser/android/webapk/webapk_installer.cc File chrome/browser/android/webapk/webapk_installer.cc (left): https://codereview.chromium.org/2714633003/diff/60001/chrome/browser/android/webapk/webapk_installer.cc#oldcode82 chrome/browser/android/webapk/webapk_installer.cc:82: SkColor sk_color = reinterpret_cast<uint32_t&>(color); On 2017/02/27 23:39:39, pkotwicz wrote: ...
3 years, 9 months ago (2017-02-28 14:59:32 UTC) #22
gonzalon
msw@chromium.org: Would you mind taking a look at the changes in ui/gfx/color_utils for ownership? Thanks ...
3 years, 9 months ago (2017-02-28 15:00:40 UTC) #24
Dan Beam
https://codereview.chromium.org/2714633003/diff/80001/chrome/browser/resources/webapks/about_webapks.js File chrome/browser/resources/webapks/about_webapks.js (right): https://codereview.chromium.org/2714633003/diff/80001/chrome/browser/resources/webapks/about_webapks.js#newcode28 chrome/browser/resources/webapks/about_webapks.js:28: * @param {string} text Text to be shown in ...
3 years, 9 months ago (2017-02-28 17:40:52 UTC) #27
gonzalon
Thanks for your time reviewing! https://codereview.chromium.org/2714633003/diff/80001/chrome/browser/resources/webapks/about_webapks.js File chrome/browser/resources/webapks/about_webapks.js (right): https://codereview.chromium.org/2714633003/diff/80001/chrome/browser/resources/webapks/about_webapks.js#newcode28 chrome/browser/resources/webapks/about_webapks.js:28: * @param {string} text ...
3 years, 9 months ago (2017-02-28 17:56:50 UTC) #30
msw
I'm not certain that these color->string functions have utility beyond their current callers (especially since ...
3 years, 9 months ago (2017-02-28 18:17:10 UTC) #31
gonzalon
Thanks for reviewing. Some of the strings are shown on the UI and others I'm ...
3 years, 9 months ago (2017-02-28 22:30:27 UTC) #32
msw
ui/gfx/* lgtm with minor comments. https://codereview.chromium.org/2714633003/diff/140001/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://codereview.chromium.org/2714633003/diff/140001/ui/gfx/color_utils.cc#newcode356 ui/gfx/color_utils.cc:356: "rgba(%d,%d,%d,%s)", SkColorGetR(color), SkColorGetG(color), optional ...
3 years, 9 months ago (2017-02-28 22:43:15 UTC) #33
gonzalon
Thanks for reviewing! https://codereview.chromium.org/2714633003/diff/140001/ui/gfx/color_utils.cc File ui/gfx/color_utils.cc (right): https://codereview.chromium.org/2714633003/diff/140001/ui/gfx/color_utils.cc#newcode356 ui/gfx/color_utils.cc:356: "rgba(%d,%d,%d,%s)", SkColorGetR(color), SkColorGetG(color), On 2017/02/28 22:43:15, ...
3 years, 9 months ago (2017-03-02 15:43:09 UTC) #34
Dan Beam
lgtm https://codereview.chromium.org/2714633003/diff/160001/ui/gfx/color_utils.h File ui/gfx/color_utils.h (right): https://codereview.chromium.org/2714633003/diff/160001/ui/gfx/color_utils.h#newcode144 ui/gfx/color_utils.h:144: GFX_EXPORT std::string SkColorToRGBAString(SkColor color); nit: SkColorToRgbaString() RGBA -> ...
3 years, 9 months ago (2017-03-03 20:09:43 UTC) #35
gonzalon
Thanks for all the reviews! https://codereview.chromium.org/2714633003/diff/160001/ui/gfx/color_utils.h File ui/gfx/color_utils.h (right): https://codereview.chromium.org/2714633003/diff/160001/ui/gfx/color_utils.h#newcode144 ui/gfx/color_utils.h:144: GFX_EXPORT std::string SkColorToRGBAString(SkColor color); ...
3 years, 9 months ago (2017-03-03 20:20:05 UTC) #36
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/2714633003/180001
3 years, 9 months ago (2017-03-03 20:20:34 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: closure_compilation on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/closure_compilation/builds/6705)
3 years, 9 months ago (2017-03-03 20:31:06 UTC) #41
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/2714633003/200001
3 years, 9 months ago (2017-03-03 21:19:37 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/293535)
3 years, 9 months ago (2017-03-03 21:27:54 UTC) #46
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/2714633003/220001
3 years, 9 months ago (2017-03-03 22:53:31 UTC) #49
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 23:59:27 UTC) #52
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/85e97545954dc8828c9e76c1ba3e...

Powered by Google App Engine
This is Rietveld 408576698