Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_impl.h |
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h |
| index b7a528e2104f2a476d8331b6cda2eaa63825b938..1b16e16196c5fd1df7135752d67e50beef93c48d 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.h |
| +++ b/content/browser/renderer_host/render_widget_host_impl.h |
| @@ -7,6 +7,7 @@ |
| #include <deque> |
| #include <string> |
| +#include <utility> |
|
darin (slow to review)
2012/08/06 18:27:41
nit: not needed
Iain Merrick
2012/08/13 13:17:23
Done.
|
| #include <vector> |
| #include "base/callback.h" |
| @@ -505,6 +506,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| void OnMsgInputEventAck(WebKit::WebInputEvent::Type event_type, |
| bool processed); |
| void OnMsgBeginSmoothScroll(bool scroll_down, bool scroll_far); |
| + void OnMsgSelectRangeAck(); |
| virtual void OnMsgFocus(); |
| virtual void OnMsgBlur(); |
| void OnMsgHasTouchEventHandlers(bool has_handlers); |
| @@ -686,6 +688,15 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
| // are coalesced by merging deltas in a similar fashion as wheel events. |
| GestureEventQueue coalesced_gesture_events_; |
| + // (Similar to |mouse_move_pending_|.) True while waiting for SelectRange_ACK. |
| + bool select_range_pending_; |
| + |
| + // (Similar to |next_mouse_move_|.) The next SelectRange to send, if any. |
| + struct SelectionRange { |
| + gfx::Point start, end; |
| + }; |
| + scoped_ptr<SelectionRange> next_select_range_; |
|
darin (slow to review)
2012/08/06 18:27:41
nit: next_selection_range_ <-- type is "Selectio
Iain Merrick
2012/08/13 13:17:23
Done.
|
| + |
| // The time when an input event was sent to the RenderWidget. |
| base::TimeTicks input_event_start_time_; |