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

Issue 2742583003: MD Bookmarks: Extract bookmark editing into a <bookmark-edit-dialog> element (Closed)

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

Description

MD Bookmarks: Extract bookmark editing into a <bookmarks-edit-dialog> element This element will allow us to reuse editing markup/logic for adding new bookmarks. The change also makes it easy to defer rendering of the dialog until it is needed (using cr-lazy-render), which makes a small impact on page load time. BUG=692821 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2742583003 Cr-Commit-Position: refs/heads/master@{#458658} Committed: https://chromium.googlesource.com/chromium/src/+/93582461cb4310f9ae81bd7fd3727917065f42c5

Patch Set 1 #

Patch Set 2 : Remove duplicated tests #

Patch Set 3 : Closure #

Patch Set 4 : rebase #

Patch Set 5 : Small update #

Patch Set 6 : Fix closure #

Total comments: 11

Patch Set 7 : Rebase #

Patch Set 8 : Review comments #

Patch Set 9 : Rename event handlers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -84 lines) Patch
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/compiled_resources2.gyp View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_bookmarks/edit_dialog.html View 1 2 3 4 5 6 7 8 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/resources/md_bookmarks/edit_dialog.js View 1 2 3 4 5 6 7 8 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.html View 1 2 3 4 5 6 4 chunks +6 lines, -28 lines 0 comments Download
M chrome/browser/resources/md_bookmarks/list.js View 1 2 3 4 5 6 7 3 chunks +2 lines, -22 lines 0 comments Download
M chrome/browser/ui/webui/md_bookmarks/md_bookmarks_ui.cc View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/webui/md_bookmarks/edit_dialog_test.js View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/list_test.js View 1 2 3 4 5 6 1 chunk +0 lines, -34 lines 0 comments Download
M chrome/test/data/webui/md_bookmarks/md_bookmarks_browsertest.js View 1 2 3 4 5 6 7 8 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (28 generated)
tsergeant
PTAL (this is low priority though, so it doesn't matter if you don't get to ...
3 years, 9 months ago (2017-03-09 05:41:30 UTC) #4
tsergeant
I've just updated this CL with some small changes.
3 years, 9 months ago (2017-03-15 03:42:06 UTC) #13
calamity
https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js File chrome/browser/resources/md_bookmarks/edit_dialog.js (right): https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js#newcode1 chrome/browser/resources/md_bookmarks/edit_dialog.js:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 9 months ago (2017-03-20 05:04:51 UTC) #22
tsergeant
https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js File chrome/browser/resources/md_bookmarks/edit_dialog.js (right): https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js#newcode1 chrome/browser/resources/md_bookmarks/edit_dialog.js:1: // Copyright 2016 The Chromium Authors. All rights reserved. ...
3 years, 9 months ago (2017-03-20 06:03:18 UTC) #24
calamity
lgtm. https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js File chrome/browser/resources/md_bookmarks/edit_dialog.js (right): https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js#newcode23 chrome/browser/resources/md_bookmarks/edit_dialog.js:23: editNode: function(editItem) { On 2017/03/20 06:03:18, tsergeant wrote: ...
3 years, 9 months ago (2017-03-22 00:36:51 UTC) #25
tsergeant
https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js File chrome/browser/resources/md_bookmarks/edit_dialog.js (right): https://codereview.chromium.org/2742583003/diff/100001/chrome/browser/resources/md_bookmarks/edit_dialog.js#newcode23 chrome/browser/resources/md_bookmarks/edit_dialog.js:23: editNode: function(editItem) { On 2017/03/22 00:36:50, calamity wrote: > ...
3 years, 9 months ago (2017-03-22 00:53:23 UTC) #26
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/2742583003/180001
3 years, 9 months ago (2017-03-22 00:55:52 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 9 months ago (2017-03-22 02:57:26 UTC) #31
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/2742583003/180001
3 years, 9 months ago (2017-03-22 05:48:06 UTC) #33
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/2742583003/180001
3 years, 9 months ago (2017-03-22 07:02:52 UTC) #36
commit-bot: I haz the power
3 years, 9 months ago (2017-03-22 07:16:10 UTC) #39
Message was sent while issue was closed.
Committed patchset #9 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/93582461cb4310f9ae81bd7fd372...

Powered by Google App Engine
This is Rietveld 408576698