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

Unified Diff: ui/events/blink/input_handler_proxy_unittest.cc

Issue 1965313003: Fix Renderer4.MainThreadWheelScrollReason not being reported. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy_unittest.cc
diff --git a/ui/events/blink/input_handler_proxy_unittest.cc b/ui/events/blink/input_handler_proxy_unittest.cc
index 86cf66250c85ba43faf54cdb3275a9afe0fae3f8..7d76ea51614b4513527c38dee956dd1d770ae5b5 100644
--- a/ui/events/blink/input_handler_proxy_unittest.cc
+++ b/ui/events/blink/input_handler_proxy_unittest.cc
@@ -266,9 +266,9 @@ class TestInputHandlerProxy : public InputHandlerProxy {
TestInputHandlerProxy(cc::InputHandler* input_handler,
InputHandlerProxyClient* client)
: InputHandlerProxy(input_handler, client) {}
- void RecordMainThreadScrollingReasonsForTest(blink::WebInputEvent::Type type,
+ void RecordMainThreadScrollingReasonsForTest(blink::WebGestureDevice device,
uint32_t reasons) {
- RecordMainThreadScrollingReasons(type, reasons);
+ RecordMainThreadScrollingReasons(device, reasons);
}
};
@@ -2847,7 +2847,7 @@ TEST(SynchronousInputHandlerProxyTest, SetOffset) {
TEST_P(InputHandlerProxyTest, MainThreadScrollingMouseWheelHistograms) {
input_handler_->RecordMainThreadScrollingReasonsForTest(
- WebInputEvent::MouseWheel,
+ blink::WebGestureDeviceTouchpad,
cc::MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects |
cc::MainThreadScrollingReason::kThreadedScrollingDisabled |
cc::MainThreadScrollingReason::kPageOverlay |
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698