OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ |
6 #define CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ | 6 #define CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
98 | 98 |
99 // Indicates if the next sequence of Char events should be suppressed or not. | 99 // Indicates if the next sequence of Char events should be suppressed or not. |
100 bool suppress_next_char_events_; | 100 bool suppress_next_char_events_; |
101 | 101 |
102 // The time spent in input handlers this frame. Used to throttle input acks. | 102 // The time spent in input handlers this frame. Used to throttle input acks. |
103 base::TimeDelta total_input_handling_time_this_frame_; | 103 base::TimeDelta total_input_handling_time_this_frame_; |
104 | 104 |
105 // Whether we should not send ack for the current mouse move. | 105 // Whether we should not send ack for the current mouse move. |
106 bool ignore_ack_for_mouse_move_from_debugger_; | 106 bool ignore_ack_for_mouse_move_from_debugger_; |
107 | 107 |
108 // True if waiting on first touch move after a touch start. | |
dtapuska
2016/08/10 14:47:42
ditto. If the event conveyed this info; then we wo
| |
109 bool waiting_for_first_touch_move_; | |
110 | |
108 std::unique_ptr<InputEventAck> pending_input_event_ack_; | 111 std::unique_ptr<InputEventAck> pending_input_event_ack_; |
109 | 112 |
110 DISALLOW_COPY_AND_ASSIGN(RenderWidgetInputHandler); | 113 DISALLOW_COPY_AND_ASSIGN(RenderWidgetInputHandler); |
111 }; | 114 }; |
112 | 115 |
113 } // namespace content | 116 } // namespace content |
114 | 117 |
115 #endif // CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ | 118 #endif // CONTENT_RENDERER_INPUT_RENDER_WIDGET_INPUT_HANDLER_H_ |
OLD | NEW |