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

Issue 1680143002: Simulate click through gamepad BUTTON_A (Closed)

Created:
4 years, 10 months ago by sshelke
Modified:
3 years, 9 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, dmazzoni, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, tdresser+watch_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simulate click through gamepad BUTTON_A This change adds logic to simulate click on focused html element through KEYCODE_BUTTON_A event. BUG=454355

Patch Set 1 #

Total comments: 5

Patch Set 2 : simulate click #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -0 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (11 generated)
sshelke
Uploaded initial patch. Please review.
4 years, 10 months ago (2016-02-09 12:42:26 UTC) #2
dtapuska
https://codereview.chromium.org/1680143002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1680143002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode3493 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:3493: if (event->type() == EventTypeNames::keydown && toKeyboardEvent(event)->keyIdentifier() == "Enter") { ...
4 years, 10 months ago (2016-02-09 14:29:03 UTC) #4
dtapuska
https://codereview.chromium.org/1680143002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1680143002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode3493 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:3493: if (event->type() == EventTypeNames::keydown && toKeyboardEvent(event)->keyIdentifier() == "Enter") { ...
4 years, 10 months ago (2016-02-09 14:34:39 UTC) #5
aelias_OOO_until_Jul13
This patch doesn't make much sense. First, mapping button-A to enter is totally arbitrary and ...
4 years, 10 months ago (2016-02-10 07:09:21 UTC) #6
sshelke
> If you want to change checkboxes to react to button-A, that seems reasonable, > ...
4 years, 10 months ago (2016-02-10 12:39:09 UTC) #7
aelias_OOO_until_Jul13
Maybe even better would be not to introduce a fake keyboard keycode at all but ...
4 years, 10 months ago (2016-02-10 20:23:15 UTC) #8
sshelke
On 2016/02/10 20:23:15, aelias wrote: > Maybe even better would be not to introduce a ...
4 years, 10 months ago (2016-02-11 06:24:03 UTC) #9
dtapuska
On 2016/02/11 06:24:03, sshelke wrote: > On 2016/02/10 20:23:15, aelias wrote: > > Maybe even ...
4 years, 10 months ago (2016-02-16 17:58:05 UTC) #12
garykac
On 2016/02/16 17:58:05, dtapuska wrote: > On 2016/02/11 06:24:03, sshelke wrote: > > On 2016/02/10 ...
4 years, 10 months ago (2016-02-17 22:15:00 UTC) #14
scottmg
On 2016/02/17 22:15:00, garykac wrote: > On 2016/02/16 17:58:05, dtapuska wrote: > > On 2016/02/11 ...
4 years, 10 months ago (2016-02-17 23:23:29 UTC) #15
sshelke
>> Do the gamepad buttons generate keydown/keyup events? Yes, gamepad buttons generate keydown/keyup events. We ...
4 years, 10 months ago (2016-02-18 06:36:47 UTC) #16
Rick Byers
I agree we really don't want to be changing the behavior on other platforms
4 years, 10 months ago (2016-02-18 22:25:25 UTC) #17
Rick Byers
On 2016/02/18 22:25:25, Rick Byers (out until Feb 18) wrote: > I agree we really ...
4 years, 10 months ago (2016-02-18 22:39:18 UTC) #18
Rick Byers
On 2016/02/18 22:39:18, Rick Byers (out until Feb 18) wrote: > On 2016/02/18 22:25:25, Rick ...
4 years, 10 months ago (2016-02-18 22:41:10 UTC) #20
sshelke
Can we emulate Enter for BUTTON_A for clicking links only? Clicking link is major requirement. ...
4 years, 9 months ago (2016-03-01 06:22:12 UTC) #22
Rick Byers
On 2016/03/01 06:22:12, sshelke wrote: > Can we emulate Enter for BUTTON_A for clicking links ...
4 years, 9 months ago (2016-03-01 15:41:15 UTC) #23
dmazzoni
Rick asked about Android, but that's actually an unusual case. Let's talk about the usual ...
4 years, 9 months ago (2016-03-01 17:46:56 UTC) #25
Rick Byers
On 2016/03/01 17:46:56, dmazzoni wrote: > Rick asked about Android, but that's actually an unusual ...
4 years, 9 months ago (2016-03-01 20:00:58 UTC) #26
dmazzoni
On Tue, Mar 1, 2016 at 12:00 PM <rbyers@chromium.org> wrote: > Thanks Dominic, that's helpful! ...
4 years, 9 months ago (2016-03-01 20:24:43 UTC) #27
dmazzoni
On Tue, Mar 1, 2016 at 12:00 PM <rbyers@chromium.org> wrote: > Thanks Dominic, that's helpful! ...
4 years, 9 months ago (2016-03-01 20:24:43 UTC) #28
garykac
Is there an update on this? As I understand it: (1) Currently, Chromium sends keydown/keyup ...
4 years, 9 months ago (2016-03-17 22:05:05 UTC) #29
sshelke
Thanks garykac for brief explanation. It seems "If (a), then (c)" seems cleaner way but ...
4 years, 9 months ago (2016-03-18 06:56:12 UTC) #30
Rick Byers
On 2016/03/18 06:56:12, sshelke wrote: > Thanks garykac for brief explanation. It seems "If (a), ...
4 years, 9 months ago (2016-03-18 15:52:42 UTC) #31
garykac
On 2016/03/18 15:52:42, Rick Byers wrote: > On 2016/03/18 06:56:12, sshelke wrote: > > Thanks ...
4 years, 8 months ago (2016-04-05 23:57:09 UTC) #32
Wez
On 2016/04/05 23:57:09, garykac wrote: > On 2016/03/18 15:52:42, Rick Byers wrote: > > On ...
4 years, 8 months ago (2016-04-09 01:01:19 UTC) #33
garykac
On 2016/04/09 01:01:19, Wez wrote: > Sounds like we can close this patch, then? No, ...
4 years, 8 months ago (2016-04-11 14:21:24 UTC) #34
sshelke
Added patch which simulates click on focused element when gamepad BUTTON_A is pressed. Please review ...
4 years, 7 months ago (2016-05-09 11:48:10 UTC) #36
sshelke
On 2016/05/09 11:48:10, sshelke wrote: > Added patch which simulates click on focused element when ...
4 years, 7 months ago (2016-05-11 07:03:20 UTC) #37
aelias_OOO_until_Jul13
I don't think we should be adding any extra IPC cruft or Android-specific code for ...
4 years, 7 months ago (2016-05-11 18:50:52 UTC) #38
Rick Byers
On 2016/05/11 18:50:52, aelias wrote: > I don't think we should be adding any extra ...
4 years, 7 months ago (2016-05-12 01:36:44 UTC) #39
aelias_OOO_until_Jul13
OK. Well, Android framework is actually already generating fake keyboard events for BUTTON_A for us, ...
4 years, 7 months ago (2016-05-12 02:36:40 UTC) #41
Rick Byers
On 2016/05/12 02:36:40, aelias wrote: > OK. Well, Android framework is actually already generating fake ...
4 years, 7 months ago (2016-05-12 03:08:41 UTC) #42
sshelke
>> AFAIK the renderer process already receives all necessary information about the gamepad buttons. It ...
4 years, 7 months ago (2016-05-12 13:00:14 UTC) #43
aelias_OOO_until_Jul13
This feature is nonurgent so I'm OK not landing anything for this until all the ...
4 years, 7 months ago (2016-05-12 20:35:45 UTC) #44
sshelke
On 2016/05/12 20:35:45, aelias wrote: > This feature is nonurgent so I'm OK not landing ...
4 years, 6 months ago (2016-06-13 06:27:22 UTC) #45
Wez
4 years, 5 months ago (2016-07-08 23:37:04 UTC) #47
-me

Powered by Google App Engine
This is Rietveld 408576698