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

Issue 11793003: Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. (Closed)

Created:
7 years, 11 months ago by bulach
Modified:
7 years, 7 months ago
Reviewers:
jam, nduca, sadrul, Sami
CC:
chromium-reviews, yusukes+watch_chromium.org, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Relands: Telemetry: hooks "chrome.gpuBenchmarking.smoothScrollBy" with java on android. In order to provide more realistic benchmarks, instead of shortcutting in native via mousewheels, let Telemetry cross all the boundaries and synthesize MotionEvents all the way up in java. (relands after r173752 reverted https://codereview.chromium.org/11415227/) BUG=166521, 168599 TEST=tools/perf/run_multipage_benchmarks --browser=android-content-shell scrolling_benchmark tools/perf/page_sets/top_25.json Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199112

Patch Set 1 : Original patch #

Patch Set 2 : Fixes #

Total comments: 2

Patch Set 3 : deque for in_process_event_types_ #

Total comments: 6

Patch Set 4 : Not dead! #

Total comments: 1

Patch Set 5 : moves functionality out of content/port #

Total comments: 4

Patch Set 6 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+372 lines, -13 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.cc View 1 2 3 4 1 chunk +4 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 2 chunks +11 lines, -0 lines 0 comments Download
A content/browser/renderer_host/smooth_scroll_calculator.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A content/browser/renderer_host/smooth_scroll_calculator.cc View 1 2 3 4 1 chunk +28 lines, -0 lines 0 comments Download
A content/browser/renderer_host/touch_smooth_scroll_gesture_android.h View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A content/browser/renderer_host/touch_smooth_scroll_gesture_android.cc View 1 2 3 4 1 chunk +75 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/SmoothScroller.java View 1 2 3 1 chunk +137 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
bulach
this was reverted, so I'm trying to reland... the first patchset 1 is just a ...
7 years, 11 months ago (2013-01-09 16:08:53 UTC) #1
Sami
The new state machine logic looks good to me. Like we talked, I'm less sure ...
7 years, 11 months ago (2013-01-10 14:36:44 UTC) #2
bulach
many many thanks, sami!!! I added far more details in crbug.com/166521, but to summarize: when ...
7 years, 11 months ago (2013-01-10 19:09:48 UTC) #3
Sami
I like this solution. Just one question... https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc#newcode1700 content/browser/renderer_host/render_widget_host_impl.cc:1700: i != ...
7 years, 11 months ago (2013-01-10 19:45:34 UTC) #4
nduca
https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc#newcode1697 content/browser/renderer_host/render_widget_host_impl.cc:1697: bool found = false; Should we pull this edit ...
7 years, 11 months ago (2013-01-10 20:34:33 UTC) #5
bulach
thanks for the ideas! let's wait for https://codereview.chromium.org/11858007/ https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/11793003/diff/8037/content/browser/renderer_host/render_widget_host_impl.cc#newcode1697 content/browser/renderer_host/render_widget_host_impl.cc:1697: bool ...
7 years, 11 months ago (2013-01-11 10:42:07 UTC) #6
bulach
bring our your dead! this is not a dead patch... :) anyways: looks like the ...
7 years, 7 months ago (2013-04-30 18:48:26 UTC) #7
nduca
high level lgtm. marcus, if there's anything you want me to look at in detail, ...
7 years, 7 months ago (2013-05-02 05:46:52 UTC) #8
Sami
Sorry for the delay, this still lgtm.
7 years, 7 months ago (2013-05-02 14:41:11 UTC) #9
sadrul
renderer_host/ LGTM
7 years, 7 months ago (2013-05-02 14:47:41 UTC) #10
bulach
+jam: need OWNERS for content/, content/browser and content/port. thanks everyone!
7 years, 7 months ago (2013-05-02 14:54:46 UTC) #11
jam
https://codereview.chromium.org/11793003/diff/18001/content/port/browser/smooth_scroll_gesture.h File content/port/browser/smooth_scroll_gesture.h (right): https://codereview.chromium.org/11793003/diff/18001/content/port/browser/smooth_scroll_gesture.h#newcode32 content/port/browser/smooth_scroll_gesture.h:32: double GetScrollDelta(base::TimeTicks now, base::TimeDelta desired_interval); content/port also follows the ...
7 years, 7 months ago (2013-05-02 15:56:16 UTC) #12
bulach
ahn, thanks for the pointer jam! moved the functionality into its own class in content/browser/renderer_host/smooth_scroll_calculator.h, ...
7 years, 7 months ago (2013-05-03 10:45:24 UTC) #13
jam
content_browser.gypi lgtm, for the rest just have the existing owners that reviewed this before look ...
7 years, 7 months ago (2013-05-03 18:06:41 UTC) #14
bulach
thanks jam! sadrul / nduca: quick look at content/browser/renderer_host/smooth_scroll_calculator.* please? delta from patchset #4 is ...
7 years, 7 months ago (2013-05-07 07:51:02 UTC) #15
sadrul
SLGTM. Just nits: https://codereview.chromium.org/11793003/diff/31001/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h File content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h (right): https://codereview.chromium.org/11793003/diff/31001/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h#newcode37 content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h:37: #endif // CONTENT_BROWSER_RENDERER_HOST_BASIC_MOUSE_WHEEL_SMOOTH_SCROLL_GESTURE_ two spaces before ...
7 years, 7 months ago (2013-05-08 14:54:35 UTC) #16
bulach
thanks! nits addressed, CQing. https://codereview.chromium.org/11793003/diff/31001/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h File content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h (right): https://codereview.chromium.org/11793003/diff/31001/content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h#newcode37 content/browser/renderer_host/basic_mouse_wheel_smooth_scroll_gesture.h:37: #endif // CONTENT_BROWSER_RENDERER_HOST_BASIC_MOUSE_WHEEL_SMOOTH_SCROLL_GESTURE_ On 2013/05/08 ...
7 years, 7 months ago (2013-05-08 15:19:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11793003/42001
7 years, 7 months ago (2013-05-08 15:19:37 UTC) #18
nduca
thanks marcus!
7 years, 7 months ago (2013-05-08 15:44:39 UTC) #19
commit-bot: I haz the power
7 years, 7 months ago (2013-05-09 04:59:17 UTC) #20
Message was sent while issue was closed.
Change committed as 199112

Powered by Google App Engine
This is Rietveld 408576698