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

Issue 2801373002: [DevTools] Listen to mousedown in SoftContextMenu once (Closed)

Created:
3 years, 8 months ago by dgozman
Modified:
3 years, 8 months ago
Reviewers:
lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Listen to mousedown in SoftContextMenu once We used to handle that through GlassPane, which has problems with multiple layers of SoftContextMenus. Now we have a single listener on bubble, and cancel all menus at that point. BUG=709350 Review-Url: https://codereview.chromium.org/2801373002 Cr-Commit-Position: refs/heads/master@{#463032} Committed: https://chromium.googlesource.com/chromium/src/+/9d09b0aeddb1407f22981575e6b4fd8473830c5d

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/GlassPane.js View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js View 3 chunks +9 lines, -4 lines 4 comments Download

Messages

Total messages: 14 (8 generated)
dgozman
Could you please take a look?
3 years, 8 months ago (2017-04-07 18:54:58 UTC) #2
lushnikov
https://codereview.chromium.org/2801373002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js File third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js (left): https://codereview.chromium.org/2801373002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js#oldcode53 third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js:53: this._glassPane.setSetOutsideClickCallback(event => { can we fix the setSetOutsideClickCallback name? ...
3 years, 8 months ago (2017-04-07 22:25:40 UTC) #7
dgozman
https://codereview.chromium.org/2801373002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js File third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js (left): https://codereview.chromium.org/2801373002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js#oldcode53 third_party/WebKit/Source/devtools/front_end/ui/SoftContextMenu.js:53: this._glassPane.setSetOutsideClickCallback(event => { On 2017/04/07 22:25:40, lushnikov wrote: > ...
3 years, 8 months ago (2017-04-07 22:30:32 UTC) #8
lushnikov
thanks, lgtm!
3 years, 8 months ago (2017-04-07 22:36:31 UTC) #9
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/2801373002/1
3 years, 8 months ago (2017-04-07 22:41:55 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 23:00:55 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9d09b0aeddb1407f22981575e6b4...

Powered by Google App Engine
This is Rietveld 408576698