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

Issue 2164693002: [WebUI] ClosureCompile cr.ui.DragWrapper, create a real handler class (Closed)

Created:
4 years, 5 months ago by Devlin
Modified:
4 years, 5 months ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, extensions-reviews_chromium.org, dcheng, arv+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, pedrosimonetti+watch_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, michaelpg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebUI] ClosureCompile cr.ui.DragWrapper; create a real handler class Pull out the extensions code drag-and-drop handler in order to reuse it in the MD extensions page. In the process, closure compiler DragWrapper and create a real interface for the DragWrapperHandler, which previously was only specified in comments. Update drag wrapper handler implementors with @override. BUG=529395 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/50ebc1301bf31a50d5a149dc0d0d363f83d2edf2 Cr-Commit-Position: refs/heads/master@{#407242}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rename #

Total comments: 2

Patch Set 3 : Remove prototypical lies #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -153 lines) Patch
M chrome/browser/resources/extensions/compiled_resources2.gyp View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/browser/resources/extensions/drag_and_drop_handler.js View 1 1 chunk +96 lines, -0 lines 1 comment Download
M chrome/browser/resources/extensions/extensions.js View 1 2 5 chunks +19 lines, -77 lines 0 comments Download
M chrome/browser/resources/ntp4/nav_dot.js View 1 5 chunks +6 lines, -24 lines 0 comments Download
M chrome/browser/resources/ntp4/tile_page.js View 1 4 chunks +5 lines, -17 lines 0 comments Download
M chrome/browser/resources/ntp4/trash.js View 1 4 chunks +6 lines, -16 lines 0 comments Download
M ui/webui/resources/js/cr/ui/compiled_resources2.gyp View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/webui/resources/js/cr/ui/drag_wrapper.js View 1 2 6 chunks +43 lines, -19 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 17:26:08 UTC) #4
Devlin
Dan, as the proud(?) owner of ntp4 (and everything else here), this one's going to ...
4 years, 5 months ago (2016-07-19 19:19:59 UTC) #9
Dan Beam
https://codereview.chromium.org/2164693002/diff/1/ui/webui/resources/js/cr/ui/drag_wrapper.js File ui/webui/resources/js/cr/ui/drag_wrapper.js (right): https://codereview.chromium.org/2164693002/diff/1/ui/webui/resources/js/cr/ui/drag_wrapper.js#newcode12 ui/webui/resources/js/cr/ui/drag_wrapper.js:12: var DragWrapperHandler = function() {}; nit: DragWrapper https://codereview.chromium.org/2164693002/diff/1/ui/webui/resources/js/cr/ui/drag_wrapper.js#newcode42 ui/webui/resources/js/cr/ui/drag_wrapper.js:42: ...
4 years, 5 months ago (2016-07-19 20:59:35 UTC) #10
Devlin
https://codereview.chromium.org/2164693002/diff/1/ui/webui/resources/js/cr/ui/drag_wrapper.js File ui/webui/resources/js/cr/ui/drag_wrapper.js (right): https://codereview.chromium.org/2164693002/diff/1/ui/webui/resources/js/cr/ui/drag_wrapper.js#newcode12 ui/webui/resources/js/cr/ui/drag_wrapper.js:12: var DragWrapperHandler = function() {}; On 2016/07/19 20:59:35, Dan ...
4 years, 5 months ago (2016-07-19 23:17:58 UTC) #11
Dan Beam
i think this code is confusing and not clearly separated. you're basically just asking for ...
4 years, 5 months ago (2016-07-21 02:29:13 UTC) #12
Devlin
On 2016/07/21 02:29:13, Dan Beam wrote: > i think this code is confusing and not ...
4 years, 5 months ago (2016-07-21 18:11:30 UTC) #13
Dan Beam
lgtm https://codereview.chromium.org/2164693002/diff/40001/chrome/browser/resources/extensions/drag_and_drop_handler.js File chrome/browser/resources/extensions/drag_and_drop_handler.js (right): https://codereview.chromium.org/2164693002/diff/40001/chrome/browser/resources/extensions/drag_and_drop_handler.js#newcode49 chrome/browser/resources/extensions/drag_and_drop_handler.js:49: this.fireDragEnded_(); i think it's odd to say the ...
4 years, 5 months ago (2016-07-21 23:42:39 UTC) #14
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 18:44:37 UTC) #17
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/2164693002/40001
4 years, 5 months ago (2016-07-22 20:13:39 UTC) #21
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-22 20:13:42 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-22 20:18:23 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 20:19:38 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/50ebc1301bf31a50d5a149dc0d0d363f83d2edf2
Cr-Commit-Position: refs/heads/master@{#407242}

Powered by Google App Engine
This is Rietveld 408576698