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

Issue 12614002: Fixing ignored clicks after the 'Undo delete' command in Bookmark manager (Closed)

Created:
7 years, 9 months ago by SeRya
Modified:
7 years, 9 months ago
CC:
chromium-reviews, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Context menu handles command in 'mouseup' event. Usually the 'click' event follows immediately after 'mouseup'. swallowDoubleClick worked well in that case (it set initial click count to 0 while handling the 'mouseup' event and then increased it to 1 or above while handling the immediatelly following click). However the 'undo delete' menu item handler prevents firing the 'click' event (I found that commenting out 'updateCanExecute' restores it). It's why next click with click count = 1 was ignored. This code works whether click event follows after mouseup event or not. BUG=172580 TEST=Check the scenario described in the bug. Check doubleclick on a context menu (bug 140364). Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186770

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M ui/webui/resources/js/cr/ui.js View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
SeRya
Erik, please review.
7 years, 9 months ago (2013-03-07 13:52:34 UTC) #1
arv (Not doing code reviews)
LGTM
7 years, 9 months ago (2013-03-07 16:30:58 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/12614002/2001
7 years, 9 months ago (2013-03-07 16:50:59 UTC) #3
commit-bot: I haz the power
7 years, 9 months ago (2013-03-07 19:58:31 UTC) #4
Message was sent while issue was closed.
Change committed as 186770

Powered by Google App Engine
This is Rietveld 408576698