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

Unified Diff: Source/core/page/EventHandler.h

Issue 1170513002: Update the mouse events on tapping of gesture across frames (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index a2314445140e2e5224e4b092500258fd976636db..4f9e4823c4d72547d6277afa6f35bbad8250b70d 100644
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -199,6 +199,7 @@ public:
int clickCount() { return m_clickCount; }
bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClickInSelection; }
+ Node* lastNodeUnderMouse() { return m_lastNodeUnderMouse.get(); }
mustaq 2015/06/08 17:24:24 I think it's better not to make it public until ne
Miyoung Shin(c) 2015/06/10 12:10:05 Done.
private:
static DragState& dragState();
@@ -232,6 +233,8 @@ private:
bool handleGestureScrollBegin(const PlatformGestureEvent&);
void clearGestureScrollNodes();
+ void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResults&);
+
bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const;
OptionalCursor selectCursor(const HitTestResult&);

Powered by Google App Engine
This is Rietveld 408576698