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

Issue 2684693004: MD History: Remove list-container and list-behavior (Closed)

Created:
3 years, 10 months ago by tsergeant
Modified:
3 years, 10 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, jlklein+watch-closure_chromium.org, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Remove list-container and list-behavior These were abstractions to help with switching between the main history list and the grouped mode view. Now that grouped mode has been removed (https://codereview.chromium.org/2684493002/), these elements are no longer necessary, and their logic can be embedded directly into <history-list>. BUG=589357 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2684693004 Cr-Commit-Position: refs/heads/master@{#451941} Committed: https://chromium.googlesource.com/chromium/src/+/e07cf60f84106241ccd5093e5ad3dc23f01e8b7d

Patch Set 1 #

Patch Set 2 : Fixes #

Patch Set 3 : Rebase #

Patch Set 4 : Fix test #

Total comments: 15

Patch Set 5 : Review comments #

Patch Set 6 : Rename listeners #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -696 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/app.html View 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 4 chunks +6 lines, -16 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 3 chunks +5 lines, -23 lines 0 comments Download
M chrome/browser/resources/md_history/history_item.js View 1 2 3 4 4 chunks +1 line, -27 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.html View 1 2 3 4 5 2 chunks +48 lines, -8 lines 0 comments Download
M chrome/browser/resources/md_history/history_list.js View 1 2 3 4 5 7 chunks +347 lines, -25 lines 0 comments Download
D chrome/browser/resources/md_history/history_list_behavior.html View 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/md_history/history_list_behavior.js View 1 chunk +0 lines, -258 lines 0 comments Download
D chrome/browser/resources/md_history/list_container.html View 1 2 3 4 1 chunk +0 lines, -64 lines 0 comments Download
D chrome/browser/resources/md_history/list_container.js View 1 2 3 4 1 chunk +0 lines, -218 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/test/data/webui/md_history/history_item_test.js View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 2 3 4 3 chunks +11 lines, -30 lines 0 comments Download
M chrome/test/data/webui/md_history/history_metrics_test.js View 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/test/data/webui/md_history/history_supervised_user_test.js View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/history_toolbar_test.js View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_focus_test.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (29 generated)
tsergeant
📦✂️️📦
3 years, 10 months ago (2017-02-14 06:12:45 UTC) #19
calamity
https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (left): https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/app.js#oldcode245 chrome/browser/resources/md_history/app.js:245: else if (e.command.id == 'delete-command') nit: Did this change ...
3 years, 10 months ago (2017-02-21 02:40:06 UTC) #20
tsergeant
For what it's worth, deleting grouped has removed about 25K (10%) from the unzipped app ...
3 years, 10 months ago (2017-02-21 23:24:13 UTC) #23
Dan Beam
https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (left): https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/app.js#oldcode245 chrome/browser/resources/md_history/app.js:245: else if (e.command.id == 'delete-command') On 2017/02/21 23:24:12, tsergeant ...
3 years, 10 months ago (2017-02-21 23:26:55 UTC) #24
tsergeant
https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/history_list.js File chrome/browser/resources/md_history/history_list.js (right): https://codereview.chromium.org/2684693004/diff/60001/chrome/browser/resources/md_history/history_list.js#newcode271 chrome/browser/resources/md_history/history_list.js:271: loadMoreData_: function() { On 2017/02/21 02:40:06, calamity wrote: > ...
3 years, 10 months ago (2017-02-22 01:54:28 UTC) #28
calamity
lgtm
3 years, 10 months ago (2017-02-22 07:08:15 UTC) #32
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/2684693004/100001
3 years, 10 months ago (2017-02-22 07:09:15 UTC) #34
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 08:59:27 UTC) #37
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/e07cf60f84106241ccd5093e5ad3...

Powered by Google App Engine
This is Rietveld 408576698