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 b2e500cb705a32927a3b7498889833d5e2379454..f2243554a611959c238f44beb2d996014b70f906 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -505,6 +505,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); |
@@ -681,6 +682,15 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
// would be queued) results in very slow scrolling. |
WheelEventQueue coalesced_mouse_wheel_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_selection_range_; |
+ |
// The time when an input event was sent to the RenderWidget. |
base::TimeTicks input_event_start_time_; |