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

Issue 2501723003: Disable scrollbars on the root scroller when using visual viewport scrollbars. (Closed)

Created:
4 years, 1 month ago by bokan
Modified:
4 years, 1 month ago
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, kenneth.christiansen, kinuko+watch, bbudge
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable scrollbars on the root scroller when using visual viewport scrollbars. On Android, the VisualViewport supplies the scrollbars for the root FrameView and the FrameView blocks its scrollbars from being created. When setting a different element is set as the document.rootScroller, this scrollbar suppression behavior needs to occur as well to prevent two sets of scrollbars from appearing. BUG=505516 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/f5a4f9d38de7403d172ad20f78c462048eae37bc Cr-Commit-Position: refs/heads/master@{#432965}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 4

Patch Set 3 : Nit #

Patch Set 4 : Fix tests - only disable if viewportEnabled() is on #

Patch Set 5 : Fixed overlay check in FrameView #

Patch Set 6 : Unset upstream #

Patch Set 7 : Fix build after bad rebase #

Patch Set 8 : Fix (?) Graphics2D test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -19 lines) Patch
M ppapi/tests/test_graphics_2d.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.h View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 5 chunks +41 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 3 chunks +30 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/RootScrollerTest.cpp View 1 2 3 4 5 6 2 chunks +57 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 59 (40 generated)
bokan
ptal.
4 years, 1 month ago (2016-11-15 01:50:30 UTC) #4
skobes
lgtm w/ nits https://codereview.chromium.org/2501723003/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2501723003/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h#newcode919 third_party/WebKit/Source/core/frame/FrameView.h:919: bool visualViewportSuppliesScrollbars(); Why can't this be ...
4 years, 1 month ago (2016-11-15 20:18:44 UTC) #13
bokan
+jbroman@ for platform OWNER https://codereview.chromium.org/2501723003/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h File third_party/WebKit/Source/core/frame/FrameView.h (right): https://codereview.chromium.org/2501723003/diff/20001/third_party/WebKit/Source/core/frame/FrameView.h#newcode919 third_party/WebKit/Source/core/frame/FrameView.h:919: bool visualViewportSuppliesScrollbars(); On 2016/11/15 20:18:43, ...
4 years, 1 month ago (2016-11-15 22:04:10 UTC) #15
jbroman
platform rs lgtm
4 years, 1 month ago (2016-11-15 22:08:59 UTC) #16
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/2501723003/100001
4 years, 1 month ago (2016-11-16 23:03:29 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/337051)
4 years, 1 month ago (2016-11-16 23:50:32 UTC) #29
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/2501723003/120001
4 years, 1 month ago (2016-11-17 00:41:20 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_TIMED_OUT, no build URL) android_clang_dbg_recipe on ...
4 years, 1 month ago (2016-11-17 02:44:38 UTC) #34
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/2501723003/120001
4 years, 1 month ago (2016-11-17 13:29:22 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/274604)
4 years, 1 month ago (2016-11-17 14:18:38 UTC) #38
bokan
victorhsieh@: Adding you from blame in the failing test. My change is causing the OutOfProcessPPAPITest.Graphics2D ...
4 years, 1 month ago (2016-11-17 17:27:49 UTC) #40
victorhsieh
On 2016/11/17 17:27:49, bokan wrote: > victorhsieh@: Adding you from blame in the failing test. ...
4 years, 1 month ago (2016-11-17 17:37:13 UTC) #43
victorhsieh
4 years, 1 month ago (2016-11-17 17:37:35 UTC) #44
bbudge
ppapi/tests lgtm
4 years, 1 month ago (2016-11-17 18:07:37 UTC) #46
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/2501723003/140001
4 years, 1 month ago (2016-11-17 18:54:29 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-11-17 19:31:01 UTC) #53
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/2501723003/140001
4 years, 1 month ago (2016-11-17 20:08:53 UTC) #55
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-17 21:36:51 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 21:40:56 UTC) #59
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f5a4f9d38de7403d172ad20f78c462048eae37bc
Cr-Commit-Position: refs/heads/master@{#432965}

Powered by Google App Engine
This is Rietveld 408576698