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

Issue 2096783004: Seperate visualviewportchanged event into scroll and resize events (Closed)

Created:
4 years, 6 months ago by ymalik
Modified:
4 years, 5 months ago
Reviewers:
bokan
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Seperate visualviewportchanged event into scroll and resize events These events are be fired on window.visualViewport. BUG=622817 Committed: https://crrev.com/df3983ce60714cb2b7bf22482946ab8aac31d934 Cr-Commit-Position: refs/heads/master@{#402282}

Patch Set 1 #

Patch Set 2 #

Total comments: 8

Patch Set 3 : review feedback #

Patch Set 4 : fix crash + tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -140 lines) Patch
A third_party/WebKit/LayoutTests/fast/dom/viewport/resize-event-fired-window-resized.html View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/viewport/visualviewportchanged-event-fired.html View 1 chunk +0 lines, -60 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/viewport/visualviewportchanged-event-fired-expected.txt View 1 chunk +0 lines, -14 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/viewport/visualviewportchanged-event-fired-window-resized.html View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/dom/viewport/visualviewportchanged-event-fired-window-resized-expected.txt View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 2 chunks +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTarget.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTargetFactory.in View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventTypeNames.in View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/DOMVisualViewport.h View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMVisualViewport.cpp View 1 2 3 1 chunk +18 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 2 5 chunks +15 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (7 generated)
ymalik
@bokan, note that although I used git mv to rename the tests, it still shows ...
4 years, 6 months ago (2016-06-24 21:35:57 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096783004/20001
4 years, 6 months ago (2016-06-24 21:37:06 UTC) #4
bokan
https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html File third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html (right): https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html#newcode8 third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html:8: var t = async_test('verify that the scroll events get ...
4 years, 6 months ago (2016-06-24 21:52:37 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/245258)
4 years, 6 months ago (2016-06-24 22:40:37 UTC) #7
ymalik
https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html File third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html (right): https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html#newcode8 third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-event-fired-window-resized.html:8: var t = async_test('verify that the scroll events get ...
4 years, 5 months ago (2016-06-27 14:10:02 UTC) #8
bokan
https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html File third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html (right): https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html#newcode57 third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html:57: internals.setPageScaleFactor(pageScaleFactor); On 2016/06/27 14:10:01, ymalik wrote: > On 2016/06/24 ...
4 years, 5 months ago (2016-06-27 14:17:03 UTC) #9
ymalik
On 2016/06/27 14:17:03, bokan wrote: > https://codereview.chromium.org/2096783004/diff/20001/third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html > File > third_party/WebKit/LayoutTests/fast/dom/viewport/scroll-resize-events-fired.html > (right): > > ...
4 years, 5 months ago (2016-06-27 19:03:21 UTC) #10
ymalik
PTAL :)
4 years, 5 months ago (2016-06-27 19:03:34 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096783004/60001
4 years, 5 months ago (2016-06-27 19:04:53 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-27 20:40:55 UTC) #15
bokan
thanks, lgtm
4 years, 5 months ago (2016-06-27 21:04:38 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/2096783004/60001
4 years, 5 months ago (2016-06-27 21:08:26 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-06-27 21:15:12 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 21:16:59 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/df3983ce60714cb2b7bf22482946ab8aac31d934
Cr-Commit-Position: refs/heads/master@{#402282}

Powered by Google App Engine
This is Rietveld 408576698