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

Unified Diff: third_party/WebKit/Source/core/input/MouseEventManager.h

Issue 2956023004: Add a flag to update hover effect when a layout is changed (Closed)
Patch Set: Remove pause in test 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/MouseEventManager.h
diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.h b/third_party/WebKit/Source/core/input/MouseEventManager.h
index 0a1f7b406524bfee617a789b74c6b476c1897754..02d61cd3ac64575222f7e7d284d8cc850b350f11 100644
--- a/third_party/WebKit/Source/core/input/MouseEventManager.h
+++ b/third_party/WebKit/Source/core/input/MouseEventManager.h
@@ -43,6 +43,8 @@ class CORE_EXPORT MouseEventManager final
virtual ~MouseEventManager();
DECLARE_TRACE();
+ enum FakeMouseMoveReason { kDuringScroll, kPerFrame };
+
WebInputEventResult DispatchMouseEvent(EventTarget*,
const AtomicString&,
const WebMouseEvent&,
@@ -87,7 +89,7 @@ class CORE_EXPORT MouseEventManager final
void FakeMouseMoveEventTimerFired(TimerBase*);
void CancelFakeMouseMoveEvent();
- void DispatchFakeMouseMoveEventSoon();
+ void DispatchFakeMouseMoveEventSoon(MouseEventManager::FakeMouseMoveReason);
void DispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&);
void SetLastKnownMousePosition(const WebMouseEvent&);
@@ -148,6 +150,8 @@ class CORE_EXPORT MouseEventManager final
bool MouseDownMayStartDrag();
+ bool FakeMouseMovePending() const;
+
private:
class MouseEventBoundaryEventDispatcher : public BoundaryEventDispatcher {
WTF_MAKE_NONCOPYABLE(MouseEventBoundaryEventDispatcher);
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/MouseEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698