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

Issue 1572383006: MD History: Hook all elements into the page and add tests. (Closed)

Created:
4 years, 11 months ago by hsampson
Modified:
4 years, 10 months ago
CC:
arv+watch_chromium.org, chromium-reviews, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@patch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Hook all elements into the page and add tests. This is the last of two patches for the start of MD History. This patch adds all history elements to the page and implements the history-toolbar functionality. This patch also includes tests for all elements. BUG=425625 Committed: https://crrev.com/23b2e9598614f22d4e9e35fff78ecd3b85e3f9d2 Cr-Commit-Position: refs/heads/master@{#372618}

Patch Set 1 #

Patch Set 2 : Replace '-' with '_' in filenames. #

Patch Set 3 : Rebase and replace with correct filenames. #

Total comments: 2

Patch Set 4 : Address reviewer comments. #

Total comments: 15

Patch Set 5 : Rebase #

Patch Set 6 : Address reviewer comments. #

Total comments: 6

Patch Set 7 : Address reviewer comments. #

Patch Set 8 : Address reviewer comments. #

Total comments: 4

Patch Set 9 : Address reviewer comments. #

Total comments: 3

Patch Set 10 : Address reviewer comments: Fix tests. #

Patch Set 11 : Rebase. #

Patch Set 12 : Adding closure compile. #

Patch Set 13 : Formatting colours. #

Patch Set 14 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+597 lines, -8 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_history/compiled_resources.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/resources/md_history/history.html View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -1 line 0 comments Download
A chrome/browser/resources/md_history/history.js View 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +75 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_history/history_toolbar.js View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/md_history_ui.cc View 1 2 3 4 2 chunks +20 lines, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/history_card_manager_test.js View 1 2 3 4 5 6 7 8 9 1 chunk +140 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/history_card_test.js View 1 2 3 4 5 6 7 8 9 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/history_overflow_menu_test.js View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/history_toolbar_test.js View 1 2 3 4 5 6 7 8 9 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/md_history_browsertest.js View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_history/test_util.js View 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/closure_compiler/compiled_resources.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 32 (9 generated)
hsampson
Please take a look.
4 years, 11 months ago (2016-01-13 01:54:56 UTC) #4
hsampson
4 years, 11 months ago (2016-01-19 02:56:35 UTC) #5
hsampson
4 years, 11 months ago (2016-01-19 03:29:59 UTC) #6
tsergeant
https://codereview.chromium.org/1572383006/diff/40001/chrome/browser/ui/webui/md_history_ui.cc File chrome/browser/ui/webui/md_history_ui.cc (right): https://codereview.chromium.org/1572383006/diff/40001/chrome/browser/ui/webui/md_history_ui.cc#newcode33 chrome/browser/ui/webui/md_history_ui.cc:33: source->AddLocalizedString("moreFromSite", IDS_HISTORY_MORE_FROM_SITE); Can you sort these, please?
4 years, 11 months ago (2016-01-19 03:43:47 UTC) #7
hsampson
https://codereview.chromium.org/1572383006/diff/40001/chrome/browser/ui/webui/md_history_ui.cc File chrome/browser/ui/webui/md_history_ui.cc (right): https://codereview.chromium.org/1572383006/diff/40001/chrome/browser/ui/webui/md_history_ui.cc#newcode33 chrome/browser/ui/webui/md_history_ui.cc:33: source->AddLocalizedString("moreFromSite", IDS_HISTORY_MORE_FROM_SITE); On 2016/01/19 03:43:46, tsergeant wrote: > Can ...
4 years, 11 months ago (2016-01-19 03:56:50 UTC) #8
tsergeant
A once over: https://codereview.chromium.org/1572383006/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1572383006/diff/60001/chrome/app/generated_resources.grd#newcode5963 chrome/app/generated_resources.grd:5963: + Enable the experimental implementation of ...
4 years, 11 months ago (2016-01-22 02:37:11 UTC) #9
hsampson
https://codereview.chromium.org/1572383006/diff/60001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1572383006/diff/60001/chrome/app/generated_resources.grd#newcode5963 chrome/app/generated_resources.grd:5963: + Enable the experimental implementation of the "Cache-Control: stale-while-revalidate" ...
4 years, 11 months ago (2016-01-22 05:05:03 UTC) #10
tsergeant
Some more little things https://codereview.chromium.org/1572383006/diff/100001/chrome/browser/resources/md_history/history_toolbar.html File chrome/browser/resources/md_history/history_toolbar.html (right): https://codereview.chromium.org/1572383006/diff/100001/chrome/browser/resources/md_history/history_toolbar.html#newcode61 chrome/browser/resources/md_history/history_toolbar.html:61: on-tap="clearSelection"> clearSelection -> onClearSelectionTap_ (onThingAction_ ...
4 years, 11 months ago (2016-01-25 00:40:20 UTC) #11
hsampson
https://codereview.chromium.org/1572383006/diff/100001/chrome/browser/resources/md_history/history_toolbar.html File chrome/browser/resources/md_history/history_toolbar.html (right): https://codereview.chromium.org/1572383006/diff/100001/chrome/browser/resources/md_history/history_toolbar.html#newcode61 chrome/browser/resources/md_history/history_toolbar.html:61: on-tap="clearSelection"> On 2016/01/25 00:40:20, tsergeant wrote: > clearSelection -> ...
4 years, 11 months ago (2016-01-25 02:14:01 UTC) #12
tsergeant
lgtm with one more nit https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html File chrome/browser/resources/md_history/history.html (right): https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html#newcode18 chrome/browser/resources/md_history/history.html:18: background: #f2f2f2; Nit: Sort ...
4 years, 11 months ago (2016-01-26 23:04:06 UTC) #13
Dan Beam
https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html File chrome/browser/resources/md_history/history.html (right): https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html#newcode22 chrome/browser/resources/md_history/history.html:22: flex-direction:column; also, space after flex-direction:
4 years, 11 months ago (2016-01-26 23:06:43 UTC) #14
hsampson
https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html File chrome/browser/resources/md_history/history.html (right): https://codereview.chromium.org/1572383006/diff/140001/chrome/browser/resources/md_history/history.html#newcode18 chrome/browser/resources/md_history/history.html:18: background: #f2f2f2; On 2016/01/26 23:04:06, tsergeant wrote: > Nit: ...
4 years, 11 months ago (2016-01-28 05:44:49 UTC) #15
tsergeant
https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js File chrome/test/data/webui/md_history/history_card_manager_test.js (right): https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js#newcode92 chrome/test/data/webui/md_history/history_card_manager_test.js:92: toolbar.clearSelection(); Hasn't this method been renamed? (I'm confused. Do ...
4 years, 10 months ago (2016-01-28 22:30:53 UTC) #16
hsampson
https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js File chrome/test/data/webui/md_history/history_card_manager_test.js (right): https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js#newcode92 chrome/test/data/webui/md_history/history_card_manager_test.js:92: toolbar.clearSelection(); On 2016/01/28 22:30:52, tsergeant wrote: > Hasn't this ...
4 years, 10 months ago (2016-01-28 22:38:59 UTC) #17
tsergeant
https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js File chrome/test/data/webui/md_history/history_card_manager_test.js (right): https://codereview.chromium.org/1572383006/diff/160001/chrome/test/data/webui/md_history/history_card_manager_test.js#newcode92 chrome/test/data/webui/md_history/history_card_manager_test.js:92: toolbar.clearSelection(); On 2016/01/28 22:38:59, hsampson wrote: > On 2016/01/28 ...
4 years, 10 months ago (2016-01-28 22:45:23 UTC) #18
hsampson
Hi Dan, can you please review chrome/browser/browser_resources.grd. Thanks
4 years, 10 months ago (2016-01-29 00:56:02 UTC) #19
Dan Beam
lgtm
4 years, 10 months ago (2016-01-29 01:50:27 UTC) #20
tsergeant
still lgtm
4 years, 10 months ago (2016-01-29 04:52:41 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572383006/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572383006/220001
4 years, 10 months ago (2016-01-31 22:58:44 UTC) #23
commit-bot: I haz the power
Dry run: 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/140896)
4 years, 10 months ago (2016-01-31 23:08:00 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1572383006/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1572383006/260001
4 years, 10 months ago (2016-02-01 06:20:06 UTC) #28
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 10 months ago (2016-02-01 07:35:20 UTC) #30
commit-bot: I haz the power
4 years, 10 months ago (2016-02-01 07:36:28 UTC) #32
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/23b2e9598614f22d4e9e35fff78ecd3b85e3f9d2
Cr-Commit-Position: refs/heads/master@{#372618}

Powered by Google App Engine
This is Rietveld 408576698