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

Unified Diff: Source/core/events/KeyboardEvent.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/HashChangeEvent.h ('k') | Source/core/events/MessageEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/KeyboardEvent.h
diff --git a/Source/core/events/KeyboardEvent.h b/Source/core/events/KeyboardEvent.h
index 6fd0f5dff0f6cfd14c54f94390fba3b3ba448ac3..9a7dc39682b9e03d4ac25b66abdb3600414eb529 100644
--- a/Source/core/events/KeyboardEvent.h
+++ b/Source/core/events/KeyboardEvent.h
@@ -45,7 +45,7 @@ struct KeyboardEventInit : public UIEventInit {
bool repeat;
};
-class KeyboardEvent FINAL : public UIEventWithKeyState {
+class KeyboardEvent final : public UIEventWithKeyState {
DEFINE_WRAPPERTYPEINFO();
public:
enum KeyLocationCode {
@@ -91,15 +91,15 @@ public:
const PlatformKeyboardEvent* keyEvent() const { return m_keyEvent.get(); }
- virtual int keyCode() const OVERRIDE; // key code for keydown and keyup, character for keypress
- virtual int charCode() const OVERRIDE; // character code for keypress, 0 for keydown and keyup
+ virtual int keyCode() const override; // key code for keydown and keyup, character for keypress
+ virtual int charCode() const override; // character code for keypress, 0 for keydown and keyup
bool repeat() const { return m_isAutoRepeat; }
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual bool isKeyboardEvent() const OVERRIDE;
- virtual int which() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual bool isKeyboardEvent() const override;
+ virtual int which() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
KeyboardEvent();
@@ -120,7 +120,7 @@ public:
static PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> create(PassRefPtrWillBeRawPtr<KeyboardEvent>);
private:
explicit KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent>);
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
DEFINE_EVENT_TYPE_CASTS(KeyboardEvent);
« no previous file with comments | « Source/core/events/HashChangeEvent.h ('k') | Source/core/events/MessageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698