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

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

Issue 636833002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/events (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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.h ('k') | Source/core/events/MutationEvent.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 f14f7961213dc2e4b4cb697d844031857ad5337a..2bdd16e9ab236264591cfe1a16fd95d8272dfeb8 100644
--- a/Source/core/events/MouseRelatedEvent.h
+++ b/Source/core/events/MouseRelatedEvent.h
@@ -42,16 +42,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;
+ virtual int layerX() override final;
+ virtual int layerY() override final;
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;
+ virtual int pageX() const override final;
+ virtual int pageY() const override final;
int x() const;
int y() const;
@@ -60,7 +60,7 @@ namespace blink {
const LayoutPoint& absoluteLocation() const { return m_absoluteLocation; }
void setAbsoluteLocation(const LayoutPoint& p) { m_absoluteLocation = p; }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
protected:
MouseRelatedEvent();
@@ -71,7 +71,7 @@ namespace blink {
void initCoordinates();
void initCoordinates(const LayoutPoint& clientLocation);
- virtual void receivedTarget() OVERRIDE FINAL;
+ virtual void receivedTarget() override final;
void computePageLocation();
void computeRelativePosition();
« no previous file with comments | « Source/core/events/MouseEvent.h ('k') | Source/core/events/MutationEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698