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

Issue 870363005: Remove scroll_delta flooring hack (Closed)

Created:
5 years, 10 months ago by Yufeng Shen (Slow to review)
Modified:
5 years, 10 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, piman+watch_chromium.org, Rick Byers, sievers+watch_chromium.org, Ian Vollick
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove scroll_delta flooring hack Now that fractional scroll offset can pass through cc main thread and Blink, we can remove the scroll_delta flooring hack and send the full fractional scroll_delta from impl to main. Note that this will break the old pinch viewport code path ( which is to be removed soon) since it still only expects integer scroll offset. BUG=414283 Committed: https://crrev.com/7a2217569bc1a7596ad6671513249e241b3491c3 Cr-Commit-Position: refs/heads/master@{#314626}

Patch Set 1 #

Patch Set 2 : remove the scroll_delta flooring hack #

Patch Set 3 : comments changed #

Patch Set 4 : fix webview test #

Total comments: 4

Patch Set 5 : make webview test to compare double values #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -82 lines) Patch
M android_webview/browser/hardware_renderer.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 1 chunk +1 line, -14 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 3 chunks +9 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 1 chunk +1 line, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 4 chunks +12 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_no_message_loop.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_scroll.cc View 1 1 chunk +5 lines, -10 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/html_viewer/weblayertreeview_impl.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/services/html_viewer/weblayertreeview_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
Yufeng Shen (Slow to review)
5 years, 10 months ago (2015-01-28 19:38:12 UTC) #2
aelias_OOO_until_Jul13
Looks OK per se, just not very useful to land on its own. How about ...
5 years, 10 months ago (2015-01-28 19:53:34 UTC) #3
Yufeng Shen (Slow to review)
On 2015/01/28 19:53:34, aelias wrote: > Looks OK per se, just not very useful to ...
5 years, 10 months ago (2015-01-28 22:53:07 UTC) #4
bokan
You'll to change a few more descendants that wont get built by default (so you ...
5 years, 10 months ago (2015-01-28 22:54:52 UTC) #5
aelias_OOO_until_Jul13
On 2015/01/28 at 22:53:07, miletus wrote: > On 2015/01/28 19:53:34, aelias wrote: > > Looks ...
5 years, 10 months ago (2015-01-28 22:57:54 UTC) #6
Yufeng Shen (Slow to review)
On 2015/01/28 22:57:54, aelias wrote: > On 2015/01/28 at 22:53:07, miletus wrote: > > On ...
5 years, 10 months ago (2015-02-03 22:21:52 UTC) #7
aelias_OOO_until_Jul13
lgtm
5 years, 10 months ago (2015-02-03 22:24:34 UTC) #8
Yufeng Shen (Slow to review)
Add OWNERS: boliu@ for android_webview/* sievers@ for content/* danakj@ for ui/compositor/* jamesr@ for mojo/*
5 years, 10 months ago (2015-02-04 01:23:25 UTC) #11
jamesr
mojo/services/html_viewer/ lgtm
5 years, 10 months ago (2015-02-04 01:25:08 UTC) #12
danakj
ui/compositor LGTM
5 years, 10 months ago (2015-02-04 01:32:22 UTC) #13
boliu
https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java (right): https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java#newcode383 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java:383: final int maxScrollXPix = (int) Math.floor(maxScrollXCss * deviceDIPScale); assertScrollInJs ...
5 years, 10 months ago (2015-02-04 02:23:55 UTC) #14
Yufeng Shen (Slow to review)
https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java (right): https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java#newcode383 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java:383: final int maxScrollXPix = (int) Math.floor(maxScrollXCss * deviceDIPScale); On ...
5 years, 10 months ago (2015-02-04 02:39:21 UTC) #15
boliu
https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java (right): https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java#newcode383 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java:383: final int maxScrollXPix = (int) Math.floor(maxScrollXCss * deviceDIPScale); On ...
5 years, 10 months ago (2015-02-04 02:55:34 UTC) #16
Yufeng Shen (Slow to review)
https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java File android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java (right): https://codereview.chromium.org/870363005/diff/60001/android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java#newcode383 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java:383: final int maxScrollXPix = (int) Math.floor(maxScrollXCss * deviceDIPScale); On ...
5 years, 10 months ago (2015-02-04 03:22:30 UTC) #18
boliu
Thanks. android_webview lgtm
5 years, 10 months ago (2015-02-04 03:33:45 UTC) #19
no sievers
content lgtm
5 years, 10 months ago (2015-02-04 19:53:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/870363005/100001
5 years, 10 months ago (2015-02-04 20:26:05 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 10 months ago (2015-02-04 20:45:19 UTC) #24
commit-bot: I haz the power
5 years, 10 months ago (2015-02-04 20:46:56 UTC) #25
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/7a2217569bc1a7596ad6671513249e241b3491c3
Cr-Commit-Position: refs/heads/master@{#314626}

Powered by Google App Engine
This is Rietveld 408576698