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

Unified Diff: third_party/WebKit/Source/core/input/GestureManager.cpp

Issue 2965603002: Update hover states when dragging the mouse into an element (Closed)
Patch Set: hover drag Created 3 years, 5 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/input/GestureManager.cpp
diff --git a/third_party/WebKit/Source/core/input/GestureManager.cpp b/third_party/WebKit/Source/core/input/GestureManager.cpp
index a1324f0992265b9319a43f2d1b183b021cf4a365..7d53c3fc3fed36e6fd35a076a8ac69bb88783e44 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.cpp
+++ b/third_party/WebKit/Source/core/input/GestureManager.cpp
@@ -56,7 +56,7 @@ HitTestRequest::HitTestRequestType GestureManager::GetHitTypeForGestureType(
case WebInputEvent::kGestureTapCancel:
// A TapDownCancel received when no element is active shouldn't really be
// changing hover state.
- if (!frame_->GetDocument()->ActiveHoverElement())
+ if (!frame_->GetDocument()->GetActiveElement())
hit_type |= HitTestRequest::kReadOnly;
return hit_type | HitTestRequest::kRelease;
case WebInputEvent::kGestureTap:
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698