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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 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_INPUT_ACK_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_HANDLER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_HANDLER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/browser/renderer_host/event_with_latency_info.h" 9 #include "content/browser/renderer_host/event_with_latency_info.h"
10 #include "content/common/input/input_event_ack_state.h" 10 #include "content/common/input/input_event_ack_state.h"
(...skipping 11 matching lines...) Expand all
22 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event, 22 virtual void OnKeyboardEventAck(const NativeWebKeyboardEvent& event,
23 InputEventAckState ack_result) = 0; 23 InputEventAckState ack_result) = 0;
24 virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event, 24 virtual void OnWheelEventAck(const MouseWheelEventWithLatencyInfo& event,
25 InputEventAckState ack_result) = 0; 25 InputEventAckState ack_result) = 0;
26 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event, 26 virtual void OnTouchEventAck(const TouchEventWithLatencyInfo& event,
27 InputEventAckState ack_result) = 0; 27 InputEventAckState ack_result) = 0;
28 virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event, 28 virtual void OnGestureEventAck(const GestureEventWithLatencyInfo& event,
29 InputEventAckState ack_result) = 0; 29 InputEventAckState ack_result) = 0;
30 30
31 enum UnexpectedEventAckType { 31 enum UnexpectedEventAckType {
32 UNEXPECTED_ACK,
33 UNEXPECTED_EVENT_TYPE, 32 UNEXPECTED_EVENT_TYPE,
34 BAD_ACK_MESSAGE 33 BAD_ACK_MESSAGE
35 }; 34 };
36 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) = 0; 35 virtual void OnUnexpectedEventAck(UnexpectedEventAckType type) = 0;
37 }; 36 };
38 37
39 } // namespace content 38 } // namespace content
40 39
41 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_HANDLER_H_ 40 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/renderer_host/input/input_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698