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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.h

Issue 2889733002: Set the target lazily for the coalesced events (Closed)
Patch Set: Add missing override 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/events/MouseEvent.h
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
index eec939b184365b9c182f7d28dbb9afca903c9c74..dac3d7e716ff343cf367dc18679d6a9270a17f0d 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.h
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h
@@ -220,6 +220,8 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
short RawButton() const { return button_; }
+ void ReceivedTarget() override;
+
private:
friend class MouseEventDispatchMediator;
void InitMouseEventInternal(const AtomicString& type,
@@ -239,7 +241,6 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
void InitCoordinates(const double client_x, const double client_y);
void InitCoordinatesFromRootFrame(int window_x, int window_y);
- void ReceivedTarget() final;
void ComputePageLocation();
void ComputeRelativePosition();

Powered by Google App Engine
This is Rietveld 408576698