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

Issue 2956023004: Add a flag to update hover effect when a layout is changed (Closed)

Created:
3 years, 5 months ago by lanwei
Modified:
3 years, 5 months ago
CC:
chromium-reviews, dtapuska+blinkwatch_chromium.org, eae+blinkwatch, sof, jam, blink-reviews-api_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, Navid Zolghadr, blink-reviews, blink-reviews-frames_chromium.org, kinuko+watch, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a flag to update hover effect when a layout is changed We want to add a flag and implement updating hover effect when a layout is changed behind this flag. Bug=488886 Review-Url: https://codereview.chromium.org/2956023004 Cr-Commit-Position: refs/heads/master@{#486393} Committed: https://chromium.googlesource.com/chromium/src/+/122b716f3278b62d6a2d837383bdaea6527f0d4c

Patch Set 1 : hover layout #

Total comments: 14

Patch Set 2 : add hover flag #

Total comments: 15

Patch Set 3 : add hover flag #

Total comments: 2

Patch Set 4 : Change layout test #

Total comments: 4

Patch Set 5 : Remove pause in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -23 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html View 1 2 3 4 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/mouse-cursor-change-after-layout.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/resources/expect-cursor-update.js View 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrameView.cpp View 1 2 chunks +11 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseEventManager.h View 1 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/MouseEventManager.cpp View 1 2 3 4 7 chunks +38 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.idl View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (45 generated)
lanwei
Dave, the previous patch is very messy, so I created a new one. Could you ...
3 years, 5 months ago (2017-06-28 01:03:41 UTC) #10
dtapuska
Lan here are some comments. Please have Navid look at it while I am out. ...
3 years, 5 months ago (2017-06-28 19:15:18 UTC) #11
lanwei
Navid, could you please take a look, thanks? https://codereview.chromium.org/2956023004/diff/20001/content/child/runtime_features.cc File content/child/runtime_features.cc (right): https://codereview.chromium.org/2956023004/diff/20001/content/child/runtime_features.cc#newcode82 content/child/runtime_features.cc:82: WebRuntimeFeatures::EnableUpdateHoverPostLayout(true); ...
3 years, 5 months ago (2017-07-04 18:37:15 UTC) #26
Navid Zolghadr
https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html File third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html (right): https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html#newcode21 third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html:21: var mouseover = false; Can we make this test ...
3 years, 5 months ago (2017-07-05 17:37:34 UTC) #29
lanwei
https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html File third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html (right): https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html#newcode21 third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html:21: var mouseover = false; On 2017/07/05 17:37:33, Navid Zolghadr ...
3 years, 5 months ago (2017-07-06 03:04:34 UTC) #37
Navid Zolghadr
https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h File third_party/WebKit/Source/core/input/EventHandler.h (right): https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h#newcode131 third_party/WebKit/Source/core/input/EventHandler.h:131: bool FakeMouseMovePending() const; On 2017/07/06 03:04:34, lanwei wrote: > ...
3 years, 5 months ago (2017-07-06 15:06:47 UTC) #38
Navid Zolghadr
https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h File third_party/WebKit/Source/core/input/EventHandler.h (right): https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h#newcode131 third_party/WebKit/Source/core/input/EventHandler.h:131: bool FakeMouseMovePending() const; On 2017/07/06 15:06:47, Navid Zolghadr wrote: ...
3 years, 5 months ago (2017-07-06 15:26:45 UTC) #39
dtapuska
https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h File third_party/WebKit/Source/core/input/EventHandler.h (right): https://codereview.chromium.org/2956023004/diff/100001/third_party/WebKit/Source/core/input/EventHandler.h#newcode131 third_party/WebKit/Source/core/input/EventHandler.h:131: bool FakeMouseMovePending() const; On 2017/07/06 15:06:47, Navid Zolghadr wrote: ...
3 years, 5 months ago (2017-07-07 19:59:33 UTC) #40
lanwei
https://codereview.chromium.org/2956023004/diff/140001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html File third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html (right): https://codereview.chromium.org/2956023004/diff/140001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html#newcode49 third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html:49: assert_true(result == 'mouseover,mouseenter' || result == 'mouseenter,mouseover'); On 2017/07/06 ...
3 years, 5 months ago (2017-07-11 21:02:19 UTC) #45
Navid Zolghadr
lgtm
3 years, 5 months ago (2017-07-12 14:28:14 UTC) #46
dtapuska
https://codereview.chromium.org/2956023004/diff/160001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html File third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html (right): https://codereview.chromium.org/2956023004/diff/160001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html#newcode61 third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html:61: { name: 'pause', duration: 0.1 }]}]; This duration is ...
3 years, 5 months ago (2017-07-12 17:20:20 UTC) #47
lanwei
https://codereview.chromium.org/2956023004/diff/160001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html File third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html (right): https://codereview.chromium.org/2956023004/diff/160001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html#newcode61 third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html:61: { name: 'pause', duration: 0.1 }]}]; On 2017/07/12 17:20:19, ...
3 years, 5 months ago (2017-07-12 19:00:23 UTC) #50
dtapuska
On 2017/07/12 19:00:23, lanwei wrote: > https://codereview.chromium.org/2956023004/diff/160001/third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html > File > third_party/WebKit/LayoutTests/fast/events/layout-change-should-fire-mouseover.html > (right): > > ...
3 years, 5 months ago (2017-07-12 19:03:52 UTC) #51
lanwei
vollick@chromium.org: Please review changes in third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5, thank you.
3 years, 5 months ago (2017-07-12 19:08:20 UTC) #53
Ian Vollick
On 2017/07/12 19:08:20, lanwei wrote: > mailto:vollick@chromium.org: Please review changes in > > third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5, thank ...
3 years, 5 months ago (2017-07-13 15:47:27 UTC) #56
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/2956023004/180001
3 years, 5 months ago (2017-07-13 15:48:20 UTC) #59
commit-bot: I haz the power
3 years, 5 months ago (2017-07-13 15:53:23 UTC) #62
Message was sent while issue was closed.
Committed patchset #5 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/122b716f3278b62d6a2d837383bd...

Powered by Google App Engine
This is Rietveld 408576698