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

Unified Diff: third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h

Issue 2807433003: No pointer captured when the pointer lock is applied (Closed)
Patch Set: Change the tests and move code to WebFrameWidgetBase Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h
diff --git a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h
index 843c2e3c7f295388325c48acb8891a77ad497637..495723600a3ff8669e283b26772bc56e221fd866 100644
--- a/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h
+++ b/third_party/WebKit/Source/core/frame/WebFrameWidgetBase.h
@@ -9,6 +9,7 @@
#include "core/clipboard/DataObject.h"
#include "platform/UserGestureIndicator.h"
#include "platform/wtf/Assertions.h"
+#include "public/platform/WebCoalescedInputEvent.h"
#include "public/platform/WebDragData.h"
#include "public/web/WebFrameWidget.h"
@@ -117,10 +118,11 @@ class CORE_EXPORT WebFrameWidgetBase
WebDragOperation drag_operation_ = kWebDragOperationNone;
// Helper function to process events while pointer locked.
- void PointerLockMouseEvent(const WebInputEvent&);
+ void PointerLockMouseEvent(const WebCoalescedInputEvent&);
private:
void CancelDrag();
+ LocalFrame* FocusedLocalFrameInWidget() const;
static bool ignore_input_events_;
RefPtr<UserGestureToken> pointer_lock_gesture_token_;

Powered by Google App Engine
This is Rietveld 408576698