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

Issue 878413003: Support buttons attribute for drag event (chromium side). (Closed)

Created:
5 years, 10 months ago by zino
Modified:
5 years, 9 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, tdanderson+views_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support buttons attribute for drag event (chromium side). We should pass the modifiers for mouse buttons to Blink in order to support it. BUG=276941 Committed: https://crrev.com/a7447af876e7dd40f1e16e2fdea37f5b304f937e Cr-Commit-Position: refs/heads/master@{#320048}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : mac #

Patch Set 4 : win #

Patch Set 5 : win #

Total comments: 4

Patch Set 6 : #

Total comments: 2

Patch Set 7 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -10 lines) Patch
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_drag_dest_mac.mm View 1 2 3 4 5 6 2 chunks +17 lines, -0 lines 0 comments Download
M content/shell/renderer/test_runner/event_sender.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/renderer/test_runner/event_sender.cc View 1 2 3 4 5 5 chunks +13 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc View 1 2 3 2 chunks +10 lines, -1 line 0 comments Download
M ui/views/widget/desktop_aura/desktop_drop_target_win.cc View 1 2 3 4 5 6 2 chunks +25 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
zino
Please take a look. Thank you.
5 years, 10 months ago (2015-02-04 09:58:42 UTC) #2
Rick Byers
Seems reasonable to me. What platforms does this cover? Eg. is more work needed for ...
5 years, 10 months ago (2015-02-04 11:11:29 UTC) #4
dcheng
Two other thoughts: 1) Drags can only be initiated with the left mouse button. I ...
5 years, 10 months ago (2015-02-06 19:53:45 UTC) #5
zino
On 2015/02/06 19:53:45, dcheng wrote: > Two other thoughts: > 1) Drags can only be ...
5 years, 10 months ago (2015-02-11 09:02:24 UTC) #6
Rick Byers
On 2015/02/11 09:02:24, zino wrote: > On 2015/02/06 19:53:45, dcheng wrote: > > Two other ...
5 years, 10 months ago (2015-02-11 11:12:08 UTC) #7
dcheng
On 2015/02/11 at 11:12:08, rbyers wrote: > On 2015/02/11 09:02:24, zino wrote: > > On ...
5 years, 10 months ago (2015-02-11 22:28:12 UTC) #8
zino
Ping owners. Please take a look. On 2015/02/06 19:53:45, dcheng wrote: > https://codereview.chromium.org/878413003/diff/20001/ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc#newcode104 > ui/views/widget/desktop_aura/desktop_drag_drop_client_aurax11.cc:104: ...
5 years, 9 months ago (2015-03-05 09:20:30 UTC) #9
Rick Byers
On 2015/03/05 09:20:30, zino wrote: > Ping owners. > > Please take a look. event_sender.* ...
5 years, 9 months ago (2015-03-05 14:51:08 UTC) #10
dcheng
lgtm, assuming you've tested that this works as expected manually (unfortunately, the platform glue for ...
5 years, 9 months ago (2015-03-05 15:40:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413003/80001
5 years, 9 months ago (2015-03-09 07:14:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/48169)
5 years, 9 months ago (2015-03-09 07:31:32 UTC) #15
zino
+ @sadrul, @avi (ui/views/*, content/*) Please take a look. Thank you.
5 years, 9 months ago (2015-03-09 07:36:38 UTC) #16
zino
+ @sadrul, @avi (ui/views/*, content/*) Please take a look. Thank you.
5 years, 9 months ago (2015-03-10 01:44:47 UTC) #18
Avi (use Gerrit)
https://codereview.chromium.org/878413003/diff/80001/content/browser/web_contents/web_drag_dest_mac.mm File content/browser/web_contents/web_drag_dest_mac.mm (right): https://codereview.chromium.org/878413003/diff/80001/content/browser/web_contents/web_drag_dest_mac.mm#newcode27 content/browser/web_contents/web_drag_dest_mac.mm:27: int GetModifierFlags() { Move this function into an anonymous ...
5 years, 9 months ago (2015-03-10 03:14:07 UTC) #19
zino
I addressed all your comments. Could you review again? Thank you. https://codereview.chromium.org/878413003/diff/80001/content/browser/web_contents/web_drag_dest_mac.mm File content/browser/web_contents/web_drag_dest_mac.mm (right): ...
5 years, 9 months ago (2015-03-10 08:47:23 UTC) #21
Avi (use Gerrit)
LGTM with formatting nits fixed. https://codereview.chromium.org/878413003/diff/120001/content/browser/web_contents/web_drag_dest_mac.mm File content/browser/web_contents/web_drag_dest_mac.mm (right): https://codereview.chromium.org/878413003/diff/120001/content/browser/web_contents/web_drag_dest_mac.mm#newcode56 content/browser/web_contents/web_drag_dest_mac.mm:56: } // namespace two ...
5 years, 9 months ago (2015-03-11 02:08:15 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/878413003/140001
5 years, 9 months ago (2015-03-11 03:58:43 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 9 months ago (2015-03-11 04:57:11 UTC) #26
commit-bot: I haz the power
5 years, 9 months ago (2015-03-11 04:58:02 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a7447af876e7dd40f1e16e2fdea37f5b304f937e
Cr-Commit-Position: refs/heads/master@{#320048}

Powered by Google App Engine
This is Rietveld 408576698