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

Issue 1000163002: downloads: put [column-type] in HTML template instead of JS. (Closed)

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

Description

downloads: put [column-type] in HTML template instead of JS. R=hcarmona@chromium.org BUG=none Committed: https://crrev.com/11940994a992a8531150ab256fc6e711df63d142 Cr-Commit-Position: refs/heads/master@{#320762}

Patch Set 1 #

Total comments: 2

Patch Set 2 : hcarmona@ review #

Total comments: 2

Patch Set 3 : hcarmona@ in-person #

Patch Set 4 : isFocused #

Total comments: 2

Patch Set 5 : add isFocused to cr.ui.FocusRow #

Patch Set 6 : break some cr.ui.FocusRow assumptions #

Patch Set 7 : asdf #

Patch Set 8 : nits #

Total comments: 4

Patch Set 9 : hcarmona@ review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -96 lines) Patch
M chrome/browser/resources/downloads/downloads.html View 1 2 chunks +18 lines, -12 lines 0 comments Download
M chrome/browser/resources/downloads/focus_row.js View 3 chunks +9 lines, -24 lines 0 comments Download
M chrome/browser/resources/downloads/item_view.js View 1 2 3 chunks +40 lines, -39 lines 0 comments Download
M chrome/browser/resources/downloads/manager.js View 1 2 3 4 5 6 7 2 chunks +21 lines, -6 lines 0 comments Download
M ui/webui/resources/js/cr/ui/focus_grid.js View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -7 lines 0 comments Download
M ui/webui/resources/js/cr/ui/focus_row.js View 1 2 3 4 5 6 7 8 4 chunks +17 lines, -8 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Dan Beam
5 years, 9 months ago (2015-03-12 16:45:51 UTC) #1
hcarmona
https://codereview.chromium.org/1000163002/diff/1/chrome/browser/resources/downloads/item_view.js File chrome/browser/resources/downloads/item_view.js (right): https://codereview.chromium.org/1000163002/diff/1/chrome/browser/resources/downloads/item_view.js#newcode230 chrome/browser/resources/downloads/item_view.js:230: var link = this.controlledBy_.querySelector('a'); |link| should be the focusable ...
5 years, 9 months ago (2015-03-12 17:28:32 UTC) #2
Dan Beam
https://codereview.chromium.org/1000163002/diff/1/chrome/browser/resources/downloads/item_view.js File chrome/browser/resources/downloads/item_view.js (right): https://codereview.chromium.org/1000163002/diff/1/chrome/browser/resources/downloads/item_view.js#newcode230 chrome/browser/resources/downloads/item_view.js:230: var link = this.controlledBy_.querySelector('a'); On 2015/03/12 17:28:32, Hector Carmona ...
5 years, 9 months ago (2015-03-12 18:52:40 UTC) #3
hcarmona
https://codereview.chromium.org/1000163002/diff/40001/chrome/browser/resources/downloads/manager.js File chrome/browser/resources/downloads/manager.js (right): https://codereview.chromium.org/1000163002/diff/40001/chrome/browser/resources/downloads/manager.js#newcode135 chrome/browser/resources/downloads/manager.js:135: if (focusRow.focusableElements.indexOf(activeElement) >= 0 && This should stay "if ...
5 years, 9 months ago (2015-03-12 19:12:52 UTC) #5
Dan Beam
https://codereview.chromium.org/1000163002/diff/40001/chrome/browser/resources/downloads/manager.js File chrome/browser/resources/downloads/manager.js (right): https://codereview.chromium.org/1000163002/diff/40001/chrome/browser/resources/downloads/manager.js#newcode135 chrome/browser/resources/downloads/manager.js:135: if (focusRow.focusableElements.indexOf(activeElement) >= 0 && On 2015/03/12 19:12:52, Hector ...
5 years, 9 months ago (2015-03-12 20:19:03 UTC) #6
Dan Beam
i think eventually focusrow should be able to deal with elements outside of its sub-DOM. ...
5 years, 9 months ago (2015-03-12 20:20:21 UTC) #7
hcarmona
lgtm
5 years, 9 months ago (2015-03-12 20:54:51 UTC) #8
Dan Beam
hcarmona@: updated, ptal +asanka@ (hcarmona@'s not a committer yet)
5 years, 9 months ago (2015-03-12 23:48:37 UTC) #10
asanka
rubberstamp LGTM
5 years, 9 months ago (2015-03-13 14:38:06 UTC) #11
hcarmona
https://codereview.chromium.org/1000163002/diff/160001/ui/webui/resources/js/cr/ui/focus_grid.js File ui/webui/resources/js/cr/ui/focus_grid.js (right): https://codereview.chromium.org/1000163002/diff/160001/ui/webui/resources/js/cr/ui/focus_grid.js#newcode160 ui/webui/resources/js/cr/ui/focus_grid.js:160: row.makeActive(false); This will always be a no-op because of ...
5 years, 9 months ago (2015-03-14 00:55:03 UTC) #12
Dan Beam
https://codereview.chromium.org/1000163002/diff/160001/ui/webui/resources/js/cr/ui/focus_grid.js File ui/webui/resources/js/cr/ui/focus_grid.js (right): https://codereview.chromium.org/1000163002/diff/160001/ui/webui/resources/js/cr/ui/focus_grid.js#newcode160 ui/webui/resources/js/cr/ui/focus_grid.js:160: row.makeActive(false); On 2015/03/14 00:55:02, Hector Carmona wrote: > This ...
5 years, 9 months ago (2015-03-14 02:54:17 UTC) #13
hcarmona
lgtm
5 years, 9 months ago (2015-03-16 17:22:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1000163002/180001
5 years, 9 months ago (2015-03-16 17:58:03 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 9 months ago (2015-03-16 18:59:05 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-16 19:00:01 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/11940994a992a8531150ab256fc6e711df63d142
Cr-Commit-Position: refs/heads/master@{#320762}

Powered by Google App Engine
This is Rietveld 408576698