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

Unified Diff: third_party/WebKit/Source/web/tests/WebFrameTest.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
« no previous file with comments | « third_party/WebKit/Source/core/input/GestureManager.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
index ee41798da420585d3ed5ce392672c040f2a84c31..5d0246b80d320fde3e9933c0384a3fb4cadd1a0a 100644
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
@@ -11043,7 +11043,7 @@ TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
document->GetFrame()->GetEventHandler().HandleMousePressEvent(
mouse_press_event);
- EXPECT_TRUE(document->ActiveHoverElement());
+ EXPECT_TRUE(document->GetActiveElement());
EXPECT_TRUE(document->HoverElement());
WebMouseEvent mouse_release_event(
@@ -11078,7 +11078,7 @@ TEST_F(WebFrameTest, MouseOverLinkAndOverlayScrollbar) {
document->GetFrame()->GetEventHandler().HandleMousePressEvent(
mouse_press_event);
- EXPECT_TRUE(document->ActiveHoverElement());
+ EXPECT_TRUE(document->GetActiveElement());
EXPECT_TRUE(document->HoverElement());
document->GetFrame()->GetEventHandler().HandleMouseReleaseEvent(
« no previous file with comments | « third_party/WebKit/Source/core/input/GestureManager.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698