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

Side by Side Diff: content/browser/renderer_host/input/input_router_impl_perftest.cc

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // InputRouterClient 80 // InputRouterClient
81 InputEventAckState FilterInputEvent( 81 InputEventAckState FilterInputEvent(
82 const blink::WebInputEvent& input_event, 82 const blink::WebInputEvent& input_event,
83 const ui::LatencyInfo& latency_info) override { 83 const ui::LatencyInfo& latency_info) override {
84 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED; 84 return INPUT_EVENT_ACK_STATE_NOT_CONSUMED;
85 } 85 }
86 void IncrementInFlightEventCount() override {} 86 void IncrementInFlightEventCount() override {}
87 void DecrementInFlightEventCount() override {} 87 void DecrementInFlightEventCount() override {}
88 void OnHasTouchEventHandlers(bool has_handlers) override {} 88 void OnHasTouchEventHandlers(bool has_handlers) override {}
89 void DidFlush() override {} 89 void DidFlush() override {}
90 void DidOverscroll(const DidOverscrollParams& params) override {} 90 void DidOverscroll(const ui::DidOverscrollParams& params) override {}
91 void DidStopFlinging() override {} 91 void DidStopFlinging() override {}
92 void ForwardGestureEventWithLatencyInfo( 92 void ForwardGestureEventWithLatencyInfo(
93 const blink::WebGestureEvent& event, 93 const blink::WebGestureEvent& event,
94 const ui::LatencyInfo& latency_info) override {} 94 const ui::LatencyInfo& latency_info) override {}
95 }; 95 };
96 96
97 class NullIPCSender : public IPC::Sender { 97 class NullIPCSender : public IPC::Sender {
98 public: 98 public:
99 NullIPCSender() : sent_count_(0) {} 99 NullIPCSender() : sent_count_(0) {}
100 ~NullIPCSender() override {} 100 ~NullIPCSender() override {}
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 384
385 TEST_F(InputRouterImplPerfTest, TouchSwipeToGestureScroll) { 385 TEST_F(InputRouterImplPerfTest, TouchSwipeToGestureScroll) {
386 SimulateTouchAndScrollEventSequence("TouchSwipeToGestureScroll ", 386 SimulateTouchAndScrollEventSequence("TouchSwipeToGestureScroll ",
387 kDefaultSteps, 387 kDefaultSteps,
388 kDefaultOrigin, 388 kDefaultOrigin,
389 kDefaultDistance, 389 kDefaultDistance,
390 kDefaultIterations); 390 kDefaultIterations);
391 } 391 }
392 392
393 } // namespace content 393 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698