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

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

Issue 2807433003: No pointer captured when the pointer lock is applied (Closed)
Patch Set: pointer lock 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 3d8d07aff945b28529575fa2a38c903d15ee6d56..09c7bf04c875b97d2026992a408574f2a2096080 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"
@@ -118,10 +119,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_;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/frame/WebFrameWidgetBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698