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

Issue 2603063002: Only clear tooltip message on a user scroll or compositor scroll. (Closed)

Created:
3 years, 11 months ago by szager1
Modified:
3 years, 11 months ago
Reviewers:
bokan, skobes, tdresser
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only clear tooltip message on a user scroll or compositor scroll. This behavior isn't well defined, but it seems reasonable that the tooltip should only be dismissed by a user-initiated scroll. BUG=677252 R=tdresser@chromium.org,skobes@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/e80f3cb67769187ddc37c8867648cae883de47b3 Cr-Commit-Position: refs/heads/master@{#441544}

Patch Set 1 #

Patch Set 2 : Add test, handle non-RLS frame scroll case. #

Total comments: 4

Patch Set 3 : Restore frame scroll behavior #

Patch Set 4 : Frame scroll behavior matches non-root scroll; added test #

Patch Set 5 : Fix PLSA logic to include frame scrolls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -10 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameViewTest.cpp View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTestHelper.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableAreaTest.cpp View 1 2 3 3 chunks +51 lines, -1 line 0 comments Download

Messages

Total messages: 29 (13 generated)
szager1
3 years, 11 months ago (2016-12-30 00:37:16 UTC) #1
szager1
Add test, handle non-RLS frame scroll case.
3 years, 11 months ago (2016-12-30 00:52:06 UTC) #3
tdresser
LGTM, with minor nit. https://codereview.chromium.org/2603063002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2603063002/diff/20001/third_party/WebKit/Source/core/frame/FrameView.cpp#newcode3820 third_party/WebKit/Source/core/frame/FrameView.cpp:3820: if (Page* page = frame().page()) ...
3 years, 11 months ago (2017-01-03 13:56:32 UTC) #8
szager1
PTAL -- I refined it so that frame scroll always dismiss the tooltip, but non-frame ...
3 years, 11 months ago (2017-01-03 20:24:22 UTC) #9
tdresser
Why should the root frame always dismiss the tooltip?
3 years, 11 months ago (2017-01-03 21:05:51 UTC) #10
szager1
On 2017/01/03 21:05:51, tdresser wrote: > Why should the root frame always dismiss the tooltip? ...
3 years, 11 months ago (2017-01-03 21:28:34 UTC) #11
tdresser
I'd prefer we weren't inconsistent between root frame and non-root frame scrolls. Unless we have ...
3 years, 11 months ago (2017-01-03 21:59:31 UTC) #12
szager1
On 2017/01/03 21:59:31, tdresser wrote: > I'd prefer we weren't inconsistent between root frame and ...
3 years, 11 months ago (2017-01-03 22:54:49 UTC) #13
tdresser
LGTM
3 years, 11 months ago (2017-01-04 18:13:49 UTC) #14
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/2603063002/80001
3 years, 11 months ago (2017-01-04 18:38:01 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/334771)
3 years, 11 months ago (2017-01-04 18:46:17 UTC) #18
szager1
bokan@, would you mind reviewing this since skobes is OOO?
3 years, 11 months ago (2017-01-04 21:17:26 UTC) #21
bokan
lgtm https://codereview.chromium.org/2603063002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp File third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp (right): https://codereview.chromium.org/2603063002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp#newcode417 third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp:417: if (Page* page = frame->page()) On 2017/01/03 20:24:22, ...
3 years, 11 months ago (2017-01-04 23:53:09 UTC) #22
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/2603063002/80001
3 years, 11 months ago (2017-01-04 23:57:28 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 11 months ago (2017-01-05 01:25:48 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 01:30:05 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e80f3cb67769187ddc37c8867648cae883de47b3
Cr-Commit-Position: refs/heads/master@{#441544}

Powered by Google App Engine
This is Rietveld 408576698