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

Issue 17287004: Made the visibility of Buttom bar updated at the end of drag selection. (Closed)

Created:
7 years, 6 months ago by hirono
Modified:
7 years, 6 months ago
Reviewers:
yoshiki
CC:
chromium-reviews, rginda+watch_chromium.org, arv+watch_chromium.org, dcheng
Visibility:
Public.

Description

Made the visibility of Buttom bar updated at the end of drag selection. At the end of dragselection, the dragend events are not published because the default behavior of the dragstart events are prevented by DragSelector. This CL added the dragselectionend event and made the visibility of Button bar updated by handling the event. BUG=251703 TEST=manually R=yoshiki@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207772

Patch Set 1 #

Total comments: 4

Patch Set 2 : Get to use cr.dispatchSimpleEvent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/resources/file_manager/js/drag_selector.js View 1 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/resources/file_manager/js/file_manager.js View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hirono
Could you check the CL? Thank you very much!
7 years, 6 months ago (2013-06-19 13:18:52 UTC) #1
yoshiki
https://codereview.chromium.org/17287004/diff/1/chrome/browser/resources/file_manager/js/drag_selector.js File chrome/browser/resources/file_manager/js/drag_selector.js (right): https://codereview.chromium.org/17287004/diff/1/chrome/browser/resources/file_manager/js/drag_selector.js#newcode241 chrome/browser/resources/file_manager/js/drag_selector.js:241: this.target_.dispatchEvent(new Event('dragselectionend')); Is it possible to use cr.dispatchSimpleEvent(this.target_, 'dragselectionend') ...
7 years, 6 months ago (2013-06-20 03:11:25 UTC) #2
hirono
Fixed. Thank you! https://codereview.chromium.org/17287004/diff/1/chrome/browser/resources/file_manager/js/drag_selector.js File chrome/browser/resources/file_manager/js/drag_selector.js (right): https://codereview.chromium.org/17287004/diff/1/chrome/browser/resources/file_manager/js/drag_selector.js#newcode241 chrome/browser/resources/file_manager/js/drag_selector.js:241: this.target_.dispatchEvent(new Event('dragselectionend')); On 2013/06/20 03:11:25, yoshiki ...
7 years, 6 months ago (2013-06-20 03:55:03 UTC) #3
yoshiki
lgtm
7 years, 6 months ago (2013-06-20 10:53:42 UTC) #4
hirono
On 2013/06/20 10:53:42, yoshiki wrote: > lgtm Thanks!
7 years, 6 months ago (2013-06-21 02:13:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hirono@chromium.org/17287004/5001
7 years, 6 months ago (2013-06-21 02:13:41 UTC) #6
hirono
7 years, 6 months ago (2013-06-21 09:50:18 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r207772 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698