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

Issue 200943002: Fix an issue that fullscreen layer is scrollable (Closed)

Created:
6 years, 9 months ago by qinmin
Modified:
6 years, 9 months ago
CC:
blink-layers+watch_chromium.org, blink-reviews, kenneth.christiansen
Visibility:
Public.

Description

Fix an issue that fullscreen layer is scrollable When an element enters fullscreen, main frame's content size may not be equal to that of the fullscreen renderer. As a result, the fullscreen layer is scrollable. This might cause some unnecessary computations and some wierd artifacts: For example, on android phones, the edge glow effect may come after scrolling the fullscreen video page several times, rather than coming immediately. This CL sets the scroll clip layer to NULL, so we won't be able to scroll it. BUG=352183 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169566

Patch Set 1 #

Patch Set 2 : add WebFrameTest #

Patch Set 3 : rebase #

Patch Set 4 : using setScrollClipLayer to do the trick #

Total comments: 4

Patch Set 5 : nits #

Total comments: 2

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -7 lines) Patch
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 3 chunks +15 lines, -7 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 3 chunks +37 lines, -0 lines 0 comments Download
A Source/web/tests/data/fullscreen_div.html View 1 2 3 4 5 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
qinmin
PTAL
6 years, 9 months ago (2014-03-14 22:39:45 UTC) #1
esprehn
LGTM to me, but morrita should probably look at it too. Feels a bit hacky, ...
6 years, 9 months ago (2014-03-14 23:40:48 UTC) #2
Hajime Morrita
On 2014/03/14 23:40:48, esprehn wrote: > LGTM to me, but morrita should probably look at ...
6 years, 9 months ago (2014-03-15 00:28:29 UTC) #3
esprehn
Yeah can you add a test before landing? To unsubscribe from this group and stop ...
6 years, 9 months ago (2014-03-15 01:16:14 UTC) #4
qinmin
Sure, will do On 2014/03/15 01:16:14, esprehn wrote: > Yeah can you add a test ...
6 years, 9 months ago (2014-03-15 01:59:56 UTC) #5
qinmin
added a WebFrameTest to test the patch.
6 years, 9 months ago (2014-03-17 21:49:09 UTC) #6
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 9 months ago (2014-03-18 14:57:07 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/200943002/20001
6 years, 9 months ago (2014-03-18 14:57:10 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 14:57:18 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/core/page/scrolling/ScrollingCoordinator.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-18 14:57:21 UTC) #10
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 9 months ago (2014-03-18 16:41:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/200943002/40001
6 years, 9 months ago (2014-03-18 16:41:32 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-18 16:42:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-18 16:42:51 UTC) #14
qinmin
+aelias for Source/web
6 years, 9 months ago (2014-03-18 16:52:16 UTC) #15
aelias_OOO_until_Jul13
I don't think it's a good idea to hack the size either, and I don't ...
6 years, 9 months ago (2014-03-18 19:22:10 UTC) #16
qinmin
On 2014/03/18 19:22:10, aelias wrote: > I don't think it's a good idea to hack ...
6 years, 9 months ago (2014-03-18 19:50:37 UTC) #17
aelias_OOO_until_Jul13
OK. How about SetScrollClipLayerId(-1)? Since there is the line: bool scrollable() const { return scroll_clip_layer_id_ ...
6 years, 9 months ago (2014-03-18 20:32:41 UTC) #18
bokan
On 2014/03/18 19:50:37, qinmin wrote: > On 2014/03/18 19:22:10, aelias wrote: > > I don't ...
6 years, 9 months ago (2014-03-18 21:11:14 UTC) #19
qinmin
PTAL again. Changed this to use setScrollClipLayer(0) to do the trick.
6 years, 9 months ago (2014-03-18 23:02:39 UTC) #20
qinmin
On 2014/03/18 23:02:39, qinmin wrote: > PTAL again. > Changed this to use setScrollClipLayer(0) to ...
6 years, 9 months ago (2014-03-18 23:03:24 UTC) #21
aelias_OOO_until_Jul13
lgtm modulo nits https://codereview.chromium.org/200943002/diff/60001/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/200943002/diff/60001/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode167 Source/core/page/scrolling/ScrollingCoordinator.cpp:167: // TODO(qinmin): find a better way ...
6 years, 9 months ago (2014-03-19 01:02:20 UTC) #22
qinmin
https://codereview.chromium.org/200943002/diff/60001/Source/core/page/scrolling/ScrollingCoordinator.cpp File Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/200943002/diff/60001/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode167 Source/core/page/scrolling/ScrollingCoordinator.cpp:167: // TODO(qinmin): find a better way to handle the ...
6 years, 9 months ago (2014-03-19 02:26:38 UTC) #23
aelias_OOO_until_Jul13
On 2014/03/19 02:26:38, qinmin wrote: > On 2014/03/19 01:02:21, aelias wrote: > > Blink style ...
6 years, 9 months ago (2014-03-19 02:31:11 UTC) #24
cimamoglu (inactive)
https://chromiumcodereview.appspot.com/200943002/diff/80001/Source/web/tests/data/fullscreen_div.html File Source/web/tests/data/fullscreen_div.html (right): https://chromiumcodereview.appspot.com/200943002/diff/80001/Source/web/tests/data/fullscreen_div.html#newcode14 Source/web/tests/data/fullscreen_div.html:14: <body"> remove the quote symbol "
6 years, 9 months ago (2014-03-19 14:23:06 UTC) #25
qinmin
https://codereview.chromium.org/200943002/diff/80001/Source/web/tests/data/fullscreen_div.html File Source/web/tests/data/fullscreen_div.html (right): https://codereview.chromium.org/200943002/diff/80001/Source/web/tests/data/fullscreen_div.html#newcode14 Source/web/tests/data/fullscreen_div.html:14: <body"> On 2014/03/19 14:23:07, cimamoglu wrote: > remove the ...
6 years, 9 months ago (2014-03-19 16:44:57 UTC) #26
qinmin
The CQ bit was checked by qinmin@chromium.org
6 years, 9 months ago (2014-03-19 16:45:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qinmin@chromium.org/200943002/100001
6 years, 9 months ago (2014-03-19 16:45:10 UTC) #28
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 17:58:41 UTC) #29
Message was sent while issue was closed.
Change committed as 169566

Powered by Google App Engine
This is Rietveld 408576698