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

Issue 2084843002: [MD History] Add history-list-container between app and history lists. (Closed)

Created:
4 years, 6 months ago by calamity
Modified:
4 years, 5 months ago
Reviewers:
tsergeant
CC:
chromium-reviews, 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, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@tim_toolbar
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD History] Add history-list-container between app and history lists. This CL adds a history-list-container element that contains the history list and the grouped history list in order to pull logic out of the app element and in preparation for implementing routing. It also splits apart some of the data model where appropriate so that concerns about the query state and results are separated appropriately. BUG=619799 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/54c31198705504d87135e00e6ff01cb13c853cdc Cr-Commit-Position: refs/heads/master@{#403732}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : address comments #

Total comments: 8

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : fix nit #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -182 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/app.html View 1 2 chunks +6 lines, -16 lines 0 comments Download
M chrome/browser/resources/md_history/app.js View 1 2 3 4 9 chunks +27 lines, -143 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources2.gyp View 1 2 3 4 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/constants.js View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/list_container.html View 1 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/list_container.js View 1 2 3 1 chunk +152 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/side_bar.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_history/history_grouped_list_test.js View 1 3 chunks +16 lines, -5 lines 0 comments Download
M chrome/test/data/webui/md_history/history_item_test.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_list_test.js View 1 5 chunks +33 lines, -5 lines 0 comments Download
M chrome/test/data/webui/md_history/history_overflow_menu_test.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_supervised_user_test.js View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/webui/md_history/history_synced_tabs_test.js View 1 2 3 4 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/test/data/webui/md_history/history_toolbar_test.js View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/data/webui/md_history/md_history_browsertest.js View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (11 generated)
calamity
4 years, 6 months ago (2016-06-22 07:10:05 UTC) #6
tsergeant
https://codereview.chromium.org/2084843002/diff/40001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2084843002/diff/40001/chrome/browser/resources/md_history/app.html#newcode53 chrome/browser/resources/md_history/app.html:53: <history-list-container id="history" query-state="[[queryState_]]" grouped="[[grouped_]]"></history-list-container> Nit: wrap line https://codereview.chromium.org/2084843002/diff/40001/chrome/browser/resources/md_history/app.js File ...
4 years, 6 months ago (2016-06-23 06:35:26 UTC) #7
calamity
https://codereview.chromium.org/2084843002/diff/40001/chrome/browser/resources/md_history/app.html File chrome/browser/resources/md_history/app.html (right): https://codereview.chromium.org/2084843002/diff/40001/chrome/browser/resources/md_history/app.html#newcode53 chrome/browser/resources/md_history/app.html:53: <history-list-container id="history" query-state="[[queryState_]]" grouped="[[grouped_]]"></history-list-container> On 2016/06/23 06:35:25, tsergeant wrote: ...
4 years, 6 months ago (2016-06-24 05:39:47 UTC) #9
tsergeant
https://codereview.chromium.org/2084843002/diff/80001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2084843002/diff/80001/chrome/browser/resources/md_history/app.js#newcode19 chrome/browser/resources/md_history/app.js:19: // TODO(calamity): Split out readOnly data into a separate ...
4 years, 6 months ago (2016-06-24 06:19:18 UTC) #11
calamity
https://codereview.chromium.org/2084843002/diff/80001/chrome/browser/resources/md_history/app.js File chrome/browser/resources/md_history/app.js (right): https://codereview.chromium.org/2084843002/diff/80001/chrome/browser/resources/md_history/app.js#newcode19 chrome/browser/resources/md_history/app.js:19: // TODO(calamity): Split out readOnly data into a separate ...
4 years, 5 months ago (2016-06-27 03:35:46 UTC) #12
tsergeant
lgtm % nit https://codereview.chromium.org/2084843002/diff/100001/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): https://codereview.chromium.org/2084843002/diff/100001/chrome/browser/resources/md_history/list_container.js#newcode49 chrome/browser/resources/md_history/list_container.js:49: initializeResults_: function(info, results) { Nit: This ...
4 years, 5 months ago (2016-06-27 03:58:15 UTC) #13
calamity
https://codereview.chromium.org/2084843002/diff/100001/chrome/browser/resources/md_history/list_container.js File chrome/browser/resources/md_history/list_container.js (right): https://codereview.chromium.org/2084843002/diff/100001/chrome/browser/resources/md_history/list_container.js#newcode49 chrome/browser/resources/md_history/list_container.js:49: initializeResults_: function(info, results) { On 2016/06/27 03:58:15, tsergeant wrote: ...
4 years, 5 months ago (2016-06-29 07:52:49 UTC) #14
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/2084843002/140001
4 years, 5 months ago (2016-07-05 01:47:55 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:140001)
4 years, 5 months ago (2016-07-05 02:26:21 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-05 02:26:22 UTC) #20
commit-bot: I haz the power
4 years, 5 months ago (2016-07-05 02:28:27 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/54c31198705504d87135e00e6ff01cb13c853cdc
Cr-Commit-Position: refs/heads/master@{#403732}

Powered by Google App Engine
This is Rietveld 408576698