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

Issue 832083008: Allow Spatial Navigation ignore elements with event handlers (Closed)

Created:
5 years, 11 months ago by c.shu
Modified:
5 years, 11 months ago
Reviewers:
philipj_slow, fs
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Allow Spatial Navigation ignore elements with event handlers. When deviceSupportsTouch is enabled, it is preferable Spatial Navigation not put focus on elements with event handlers, as it may make undesirable stops, and the event handle can still be triggered through touch UI. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=188894

Patch Set 1 #

Patch Set 2 : rebaseline #

Total comments: 2

Patch Set 3 : address review comments #

Total comments: 2

Patch Set 4 : address review comments #

Patch Set 5 : new approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M Source/core/dom/Element.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/page/SpatialNavigation.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/SpatialNavigation.cpp View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (3 generated)
c.shu
5 years, 11 months ago (2015-01-19 19:21:52 UTC) #2
fs
The issue subject: "Add a flag in WebSettings to allow client of Spatial Navigation" is ...
5 years, 11 months ago (2015-01-20 09:12:50 UTC) #3
c.shu
https://codereview.chromium.org/832083008/diff/20001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/832083008/diff/20001/Source/core/dom/Element.cpp#newcode2239 Source/core/dom/Element.cpp:2239: if (isSpatialNavigationIgnoreEventHandlers(document().frame())) On 2015/01/20 09:12:50, fs wrote: > Expanding ...
5 years, 11 months ago (2015-01-20 15:51:21 UTC) #4
fs
LGTM - but let's try to get rid of this new setting (and absolutely not ...
5 years, 11 months ago (2015-01-22 12:20:05 UTC) #6
philipj_slow
I looks like you've edited the description after uploading. You need to keep the subject ...
5 years, 11 months ago (2015-01-22 14:11:29 UTC) #7
philipj_slow
I can't tell from the code when enabling this setting is a good idea. Can ...
5 years, 11 months ago (2015-01-22 14:16:19 UTC) #8
c.shu
On 2015/01/22 12:20:05, fs wrote: > LGTM - but let's try to get rid of ...
5 years, 11 months ago (2015-01-22 16:17:26 UTC) #9
c.shu
https://codereview.chromium.org/832083008/diff/40001/Source/core/page/SpatialNavigation.h File Source/core/page/SpatialNavigation.h (right): https://codereview.chromium.org/832083008/diff/40001/Source/core/page/SpatialNavigation.h#newcode47 Source/core/page/SpatialNavigation.h:47: bool isSpatialNavigationIgnoreEventHandlers(const LocalFrame*); On 2015/01/22 12:20:04, fs wrote: > ...
5 years, 11 months ago (2015-01-22 16:19:17 UTC) #10
c.shu
On 2015/01/22 14:16:19, philipj wrote: > I can't tell from the code when enabling this ...
5 years, 11 months ago (2015-01-22 16:41:26 UTC) #11
c.shu
I uploaded a new CL that does not introduce a new setting. Instead, it uses ...
5 years, 11 months ago (2015-01-22 20:37:31 UTC) #12
philipj_slow
I would suggest asking Rick Byers <rbyers@chromium.org> to look at this, I'm not comfortable OK'ing ...
5 years, 11 months ago (2015-01-22 23:10:08 UTC) #13
fs
On 2015/01/22 20:37:31, c.shu wrote: > I uploaded a new CL that does not introduce ...
5 years, 11 months ago (2015-01-23 09:45:18 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/832083008/80001
5 years, 11 months ago (2015-01-23 15:17:52 UTC) #16
c.shu
On 2015/01/22 23:10:08, philipj wrote: > I would suggest asking Rick Byers <mailto:rbyers@chromium.org> to look ...
5 years, 11 months ago (2015-01-23 15:18:12 UTC) #17
c.shu
On 2015/01/23 09:45:18, fs wrote: > On 2015/01/22 20:37:31, c.shu wrote: > > I uploaded ...
5 years, 11 months ago (2015-01-23 15:18:31 UTC) #18
commit-bot: I haz the power
5 years, 11 months ago (2015-01-23 16:27:58 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=188894

Powered by Google App Engine
This is Rietveld 408576698