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

Issue 1224623013: Port downloads.ItemView to a Polymer component. (Closed)

Created:
5 years, 5 months ago by Dan Beam
Modified:
5 years, 5 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, asanka, benjhayden+dwatch_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@p-dl-rough-draft2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Port downloads.ItemView to a Polymer component. This results in a very ugly, somewhat functional MD chrome://downloads. R=michaelpg@chromium.org BUG=425626 NOPRESUBMIT=true Committed: https://crrev.com/ec7d18e9d10b9988c2a8b40572d598fd56711e0a Cr-Commit-Position: refs/heads/master@{#338221}

Patch Set 1 : actually include i18n changes #

Total comments: 4

Patch Set 2 : actually remove i18n changes #

Total comments: 7

Patch Set 3 : whoops #

Patch Set 4 : more imports #

Total comments: 2

Patch Set 5 : compiled_resources.gyp fixes #

Patch Set 6 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+509 lines, -89 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 2 chunks +15 lines, -10 lines 0 comments Download
M chrome/browser/resources/downloads/compiled_resources2.gyp View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
A chrome/browser/resources/downloads/constants.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/downloads/downloads.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/md_downloads/compiled_resources.gyp View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/compiled_resources2.gyp View 1 2 3 4 1 chunk +13 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_downloads/downloads.html View 1 2 3 2 chunks +7 lines, -15 lines 0 comments Download
A chrome/browser/resources/md_downloads/item_view.html View 1 2 3 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_downloads/item_view.js View 1 2 1 chunk +250 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_downloads/manager.html View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_downloads/manager.js View 1 2 3 4 chunks +79 lines, -4 lines 0 comments Download
A chrome/browser/resources/md_downloads/strings.html View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/downloads_ui.cc View 1 2 3 1 chunk +15 lines, -9 lines 0 comments Download
M ui/webui/resources/html/cr/ui.html View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/html/cr/ui/command.html View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/i18n_template.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A ui/webui/resources/html/polymer_config.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/webui/resources/webui_resources.grd View 1 2 3 4 5 7 chunks +51 lines, -45 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (9 generated)
arv (Not doing code reviews)
Drive by... https://codereview.chromium.org/1224623013/diff/20001/ui/webui/resources/js/i18n_template.js File ui/webui/resources/js/i18n_template.js (right): https://codereview.chromium.org/1224623013/diff/20001/ui/webui/resources/js/i18n_template.js#newcode7 ui/webui/resources/js/i18n_template.js:7: (function() { We have real block scope ...
5 years, 5 months ago (2015-07-07 22:35:28 UTC) #3
Dan Beam
https://codereview.chromium.org/1224623013/diff/20001/ui/webui/resources/js/i18n_template.js File ui/webui/resources/js/i18n_template.js (right): https://codereview.chromium.org/1224623013/diff/20001/ui/webui/resources/js/i18n_template.js#newcode7 ui/webui/resources/js/i18n_template.js:7: (function() { On 2015/07/07 22:35:28, arv wrote: > We ...
5 years, 5 months ago (2015-07-08 02:22:30 UTC) #5
michaelpg
I think I need some context for item_view.*. Why not use data binding instead of ...
5 years, 5 months ago (2015-07-08 19:39:52 UTC) #6
Dan Beam
https://codereview.chromium.org/1224623013/diff/20001/chrome/browser/resources/md_downloads/item_view.js File chrome/browser/resources/md_downloads/item_view.js (right): https://codereview.chromium.org/1224623013/diff/20001/chrome/browser/resources/md_downloads/item_view.js#newcode17 chrome/browser/resources/md_downloads/item_view.js:17: this.$.safe.ondragstart = this.onSafeDragstart_.bind(this); On 2015/07/08 19:39:52, michaelpg wrote: > ...
5 years, 5 months ago (2015-07-09 18:13:45 UTC) #7
Dan Beam
now with updated patchset!
5 years, 5 months ago (2015-07-09 21:29:52 UTC) #8
Dan Beam
note: most of the code I'm adding is being ported from: chrome/browser/resources/downloads/{item_view,manager}.js
5 years, 5 months ago (2015-07-09 21:44:39 UTC) #9
michaelpg
lgtm https://codereview.chromium.org/1224623013/diff/40001/chrome/browser/resources/md_downloads/item_view.html File chrome/browser/resources/md_downloads/item_view.html (right): https://codereview.chromium.org/1224623013/diff/40001/chrome/browser/resources/md_downloads/item_view.html#newcode14 chrome/browser/resources/md_downloads/item_view.html:14: <a is="action-link" id="file-link" column-type="name"></a> On 2015/07/09 18:13:45, Dan ...
5 years, 5 months ago (2015-07-10 00:56:26 UTC) #10
Dan Beam
https://codereview.chromium.org/1224623013/diff/80001/chrome/browser/resources/md_downloads/item_view.html File chrome/browser/resources/md_downloads/item_view.html (right): https://codereview.chromium.org/1224623013/diff/80001/chrome/browser/resources/md_downloads/item_view.html#newcode54 chrome/browser/resources/md_downloads/item_view.html:54: <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html"> On 2015/07/10 00:56:26, michaelpg wrote: > ...
5 years, 5 months ago (2015-07-10 01:02:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224623013/120001
5 years, 5 months ago (2015-07-10 01:51:58 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/77740)
5 years, 5 months ago (2015-07-10 02:00:49 UTC) #16
Dan Beam
will fix pesky presubmit issues in a followup
5 years, 5 months ago (2015-07-10 02:03:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224623013/120001
5 years, 5 months ago (2015-07-10 02:04:29 UTC) #19
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
5 years, 5 months ago (2015-07-10 02:36:09 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1224623013/120001
5 years, 5 months ago (2015-07-10 02:38:52 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 5 months ago (2015-07-10 02:43:06 UTC) #24
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 02:44:28 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/ec7d18e9d10b9988c2a8b40572d598fd56711e0a
Cr-Commit-Position: refs/heads/master@{#338221}

Powered by Google App Engine
This is Rietveld 408576698