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

Side by Side Diff: content/browser/renderer_host/input/mock_input_router_client.h

Issue 2482453002: Don't restart the hang renderer timeout on messages ack'd from the compositor thread. (Closed)
Patch Set: Fix mac build Created 4 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 10 matching lines...) Expand all
21 public: 21 public:
22 MockInputRouterClient(); 22 MockInputRouterClient();
23 ~MockInputRouterClient() override; 23 ~MockInputRouterClient() override;
24 24
25 // InputRouterClient 25 // InputRouterClient
26 InputEventAckState FilterInputEvent( 26 InputEventAckState FilterInputEvent(
27 const blink::WebInputEvent& input_event, 27 const blink::WebInputEvent& input_event,
28 const ui::LatencyInfo& latency_info) override; 28 const ui::LatencyInfo& latency_info) override;
29 void IncrementInFlightEventCount( 29 void IncrementInFlightEventCount(
30 blink::WebInputEvent::Type event_type) override; 30 blink::WebInputEvent::Type event_type) override;
31 void DecrementInFlightEventCount() override; 31 void DecrementInFlightEventCount(InputEventAckSource ack_source) override;
32 void OnHasTouchEventHandlers(bool has_handlers) override; 32 void OnHasTouchEventHandlers(bool has_handlers) override;
33 void DidFlush() override; 33 void DidFlush() override;
34 void DidOverscroll(const ui::DidOverscrollParams& params) override; 34 void DidOverscroll(const ui::DidOverscrollParams& params) override;
35 void DidStopFlinging() override; 35 void DidStopFlinging() override;
36 void ForwardGestureEventWithLatencyInfo( 36 void ForwardGestureEventWithLatencyInfo(
37 const blink::WebGestureEvent& gesture_event, 37 const blink::WebGestureEvent& gesture_event,
38 const ui::LatencyInfo& latency_info) override; 38 const ui::LatencyInfo& latency_info) override;
39 39
40 bool GetAndResetFilterEventCalled(); 40 bool GetAndResetFilterEventCalled();
41 size_t GetAndResetDidFlushCount(); 41 size_t GetAndResetDidFlushCount();
(...skipping 28 matching lines...) Expand all
70 std::unique_ptr<InputEvent> last_filter_event_; 70 std::unique_ptr<InputEvent> last_filter_event_;
71 71
72 size_t did_flush_called_count_; 72 size_t did_flush_called_count_;
73 73
74 ui::DidOverscrollParams overscroll_; 74 ui::DidOverscrollParams overscroll_;
75 }; 75 };
76 76
77 } // namespace content 77 } // namespace content
78 78
79 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_ 79 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_MOCK_INPUT_ROUTER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698