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

Unified Diff: Source/core/events/MouseRelatedEvent.h

Issue 1201193005: Move UIEvent.pageX/pageY/layerX/layerY to MouseEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again; UseCounter changed already again 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
« no previous file with comments | « Source/core/events/MouseEvent.idl ('k') | Source/core/events/UIEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/MouseRelatedEvent.h
diff --git a/Source/core/events/MouseRelatedEvent.h b/Source/core/events/MouseRelatedEvent.h
index 36638b112a50ced0b0e8398b2ea0ce0ef6d2c20c..692adf3d97c39d18aa9f67e68088b8410cb34d25 100644
--- a/Source/core/events/MouseRelatedEvent.h
+++ b/Source/core/events/MouseRelatedEvent.h
@@ -43,16 +43,16 @@ namespace blink {
int movementX() const { return m_movementDelta.x(); }
int movementY() const { return m_movementDelta.y(); }
const LayoutPoint& clientLocation() const { return m_clientLocation; }
- virtual int layerX() override final;
- virtual int layerY() override final;
+ int layerX();
+ int layerY();
int offsetX();
int offsetY();
// FIXME: rename isSimulated to fromKeyboard() and replace m_isSimulated with a new value
// in PlatformMouseEvent::SyntheticEventType. isSimulated() is only true for synthetic
// mouse events that derive from keyboard input, which do not have a position.
bool isSimulated() const { return m_isSimulated; }
- virtual int pageX() const override final;
- virtual int pageY() const override final;
+ int pageX() const;
+ int pageY() const;
int x() const;
int y() const;
« no previous file with comments | « Source/core/events/MouseEvent.idl ('k') | Source/core/events/UIEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698