Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 06f25e7b1db2e850dd2f2cef59ab8961945d5d31..e1d73cb03fd4a54ca83ceb720c9a2390f0b8b7dc 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -24,6 +24,7 @@ |
#include "ipc/ipc_sender.h" |
#include "third_party/WebKit/public/platform/WebRect.h" |
#include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
+#include "third_party/WebKit/public/web/WebInputEvent.h" |
#include "third_party/WebKit/public/web/WebPopupType.h" |
#include "third_party/WebKit/public/web/WebTextDirection.h" |
#include "third_party/WebKit/public/web/WebTextInputInfo.h" |
@@ -52,7 +53,6 @@ class SyncMessage; |
namespace blink { |
struct WebDeviceEmulationParams; |
class WebGestureEvent; |
-class WebInputEvent; |
class WebKeyboardEvent; |
class WebMouseEvent; |
class WebTouchEvent; |
@@ -190,6 +190,14 @@ class CONTENT_EXPORT RenderWidget |
virtual void InstrumentDidCancelFrame() {} |
virtual void InstrumentWillComposite() {} |
+ // When paused in debugger, we send ack for mouse event early. This ensures |
+ // that we continue receiving mouse moves and pass them to debugger. |
+ bool SendAckForCurrentMouseMove(); |
pfeldman
2014/05/18 06:09:40
SendAckForMouseMoveFromDebugger?
dgozman
2014/05/19 09:59:23
Done.
|
+ |
+ // When resumed from pause in debugger while handling mouse move, |
+ // we should not send an extra ack (see SendAckForCurrentMouseMove). |
+ void IgnoreAckForCurrentMouseMove(); |
pfeldman
2014/05/18 06:09:40
ditto
dgozman
2014/05/19 09:59:23
Done.
|
+ |
bool UsingSynchronousRendererCompositor() const; |
// ScreenMetricsEmulator class manages screen emulation inside a render |
@@ -575,8 +583,11 @@ class CONTENT_EXPORT RenderWidget |
// Are we currently handling an ime event? |
bool handling_ime_event_; |
- // Are we currently handling a touchstart event? |
- bool handling_touchstart_event_; |
+ // Type of event we are currently handling. |
+ blink::WebInputEvent::Type handling_event_type_; |
+ |
+ // Whether we should not sent ack for current mouse move. |
+ bool ignore_ack_for_current_mouse_move_; |
// True if we have requested this widget be closed. No more messages will |
// be sent, except for a Close. |