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

Issue 225303014: [Pinch-to-zoom] Moved scale factor into PinchViewport (Closed)

Created:
6 years, 8 months ago by bokan
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis, wjmaclean
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[Pinch-to-zoom] Moved scale factor into PinchViewport Page scale now owned and synchronized in PinchViewport class when using --enable-pinch-virtual-viewport. BUG=349941 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171596

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 9

Patch Set 5 : Added test + Removed usages of old page scale methods #

Patch Set 6 : Forgot to remove scroll distribution for virtual viewport #

Patch Set 7 : #

Total comments: 2

Patch Set 8 : Changed back to PageScale naming scheme #

Patch Set 9 : Rebase #

Patch Set 10 : Rebase #

Patch Set 11 : Fixed layout test breakage #

Unified diffs Side-by-side diffs Delta from patch set Stats (+390 lines, -112 lines) Patch
M Source/core/frame/FrameHost.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/frame/FrameHost.cpp View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 10 3 chunks +16 lines, -6 lines 0 comments Download
M Source/core/frame/PinchViewport.h View 1 2 3 4 5 chunks +22 lines, -5 lines 0 comments Download
M Source/core/frame/PinchViewport.cpp View 1 2 3 4 5 6 7 8 7 chunks +52 lines, -20 lines 0 comments Download
M Source/core/page/Page.h View 1 2 3 4 5 6 7 8 3 chunks +2 lines, -3 lines 0 comments Download
M Source/core/page/Page.cpp View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -3 lines 0 comments Download
M Source/platform/geometry/FloatPoint.h View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/FullscreenController.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/FullscreenController.cpp View 1 2 3 4 5 6 7 2 chunks +5 lines, -3 lines 0 comments Download
M Source/web/InspectorClientImpl.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M Source/web/WebInputEventConversion.cpp View 1 2 3 4 6 chunks +28 lines, -4 lines 0 comments Download
M Source/web/WebViewImpl.h View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -2 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 7 8 9 9 chunks +75 lines, -25 lines 0 comments Download
M Source/web/tests/ProgrammaticScrollTest.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 22 chunks +24 lines, -22 lines 0 comments Download
M Source/web/tests/WebInputEventConversionTest.cpp View 1 2 3 4 5 6 7 4 chunks +101 lines, -2 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M public/web/WebView.h View 1 2 3 4 5 6 7 2 chunks +21 lines, -4 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
bokan
PTAL, the virtual viewport path no longer sets FrameView's scale factor.
6 years, 8 months ago (2014-04-08 14:46:04 UTC) #1
aelias_OOO_until_Jul13
This all looks sensible. Adding leviw@ for Source/core and Source/platform OWNERS. https://codereview.chromium.org/225303014/diff/60001/Source/web/WebInputEventConversion.cpp File Source/web/WebInputEventConversion.cpp (right): ...
6 years, 8 months ago (2014-04-09 08:41:21 UTC) #2
bokan
https://codereview.chromium.org/225303014/diff/60001/Source/web/WebInputEventConversion.cpp File Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/225303014/diff/60001/Source/web/WebInputEventConversion.cpp#newcode83 Source/web/WebInputEventConversion.cpp:83: FrameView* rootView = toFrameView(widget->root()); On 2014/04/09 08:41:22, aelias wrote: ...
6 years, 8 months ago (2014-04-09 15:30:59 UTC) #3
aelias_OOO_until_Jul13
https://codereview.chromium.org/225303014/diff/60001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/225303014/diff/60001/Source/web/WebViewImpl.cpp#newcode2689 Source/web/WebViewImpl.cpp:2689: IntSize remaining = IntSize(origin.x, origin.y) - view->scrollOffset(); On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 18:35:31 UTC) #4
bokan
https://codereview.chromium.org/225303014/diff/60001/Source/web/WebInputEventConversion.cpp File Source/web/WebInputEventConversion.cpp (right): https://codereview.chromium.org/225303014/diff/60001/Source/web/WebInputEventConversion.cpp#newcode79 Source/web/WebInputEventConversion.cpp:79: static IntPoint pinchViewportOffset(const Widget* widget) On 2014/04/09 08:41:22, aelias ...
6 years, 8 months ago (2014-04-09 19:57:18 UTC) #5
bokan
https://codereview.chromium.org/225303014/diff/60001/Source/web/WebViewImpl.cpp File Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/225303014/diff/60001/Source/web/WebViewImpl.cpp#newcode2689 Source/web/WebViewImpl.cpp:2689: IntSize remaining = IntSize(origin.x, origin.y) - view->scrollOffset(); On 2014/04/09 ...
6 years, 8 months ago (2014-04-09 20:21:52 UTC) #6
aelias_OOO_until_Jul13
lgtm for Source/web. Needs review from leviw@ for Source/core and Source/platform, and abarth@ for public/. ...
6 years, 8 months ago (2014-04-09 21:22:51 UTC) #7
aelias_OOO_until_Jul13
https://codereview.chromium.org/225303014/diff/120001/public/web/WebView.h File public/web/WebView.h (right): https://codereview.chromium.org/225303014/diff/120001/public/web/WebView.h#newcode251 public/web/WebView.h:251: virtual void setPinchViewportScaleFactor(float) = 0; On second thought, I ...
6 years, 8 months ago (2014-04-10 16:23:48 UTC) #8
bokan
On 2014/04/10 16:23:48, aelias wrote: > https://codereview.chromium.org/225303014/diff/120001/public/web/WebView.h > File public/web/WebView.h (right): > > https://codereview.chromium.org/225303014/diff/120001/public/web/WebView.h#newcode251 > ...
6 years, 8 months ago (2014-04-10 22:24:07 UTC) #9
leviw_travelin_and_unemployed
lgtm.
6 years, 8 months ago (2014-04-14 21:37:21 UTC) #10
abarth-chromium
public/ LGTM This stuff is super complicated, and I'm largely relying on aelias here to ...
6 years, 8 months ago (2014-04-14 21:57:01 UTC) #11
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 8 months ago (2014-04-15 11:16:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/225303014/160001
6 years, 8 months ago (2014-04-15 11:17:07 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 11:49:15 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 8 months ago (2014-04-15 11:49:16 UTC) #15
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 8 months ago (2014-04-15 11:55:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/225303014/180001
6 years, 8 months ago (2014-04-15 11:55:39 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 13:11:07 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-15 13:11:07 UTC) #19
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 8 months ago (2014-04-15 15:14:30 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/225303014/200001
6 years, 8 months ago (2014-04-15 15:14:45 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 16:04:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 8 months ago (2014-04-15 16:04:29 UTC) #23
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 8 months ago (2014-04-15 16:23:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/225303014/200001
6 years, 8 months ago (2014-04-15 16:24:21 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-15 17:06:39 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 8 months ago (2014-04-15 17:06:40 UTC) #27
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 8 months ago (2014-04-15 17:33:38 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/225303014/200001
6 years, 8 months ago (2014-04-15 17:33:57 UTC) #29
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 18:07:29 UTC) #30
Message was sent while issue was closed.
Change committed as 171596

Powered by Google App Engine
This is Rietveld 408576698