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

Unified Diff: Source/core/events/FocusEvent.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/EventTarget.h ('k') | Source/core/events/GenericEventQueue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/FocusEvent.h
diff --git a/Source/core/events/FocusEvent.h b/Source/core/events/FocusEvent.h
index 0045a91259b83fbc5ea7b2be56b5f4a741ea7680..b60f514c05e6906dee75d21102a7e3ee3a90876b 100644
--- a/Source/core/events/FocusEvent.h
+++ b/Source/core/events/FocusEvent.h
@@ -39,7 +39,7 @@ struct FocusEventInit : public UIEventInit {
RefPtrWillBeMember<EventTarget> relatedTarget;
};
-class FocusEvent FINAL : public UIEvent {
+class FocusEvent final : public UIEvent {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtrWillBeRawPtr<FocusEvent> create()
@@ -60,10 +60,10 @@ public:
EventTarget* relatedTarget() const { return m_relatedTarget.get(); }
void setRelatedTarget(EventTarget* relatedTarget) { m_relatedTarget = relatedTarget; }
- virtual const AtomicString& interfaceName() const OVERRIDE;
- virtual bool isFocusEvent() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
+ virtual bool isFocusEvent() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
FocusEvent();
@@ -75,40 +75,40 @@ private:
DEFINE_EVENT_TYPE_CASTS(FocusEvent);
-class FocusEventDispatchMediator FINAL : public EventDispatchMediator {
+class FocusEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<FocusEventDispatchMediator> create(PassRefPtrWillBeRawPtr<FocusEvent>);
private:
explicit FocusEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); }
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
-class BlurEventDispatchMediator FINAL : public EventDispatchMediator {
+class BlurEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<BlurEventDispatchMediator> create(PassRefPtrWillBeRawPtr<FocusEvent>);
private:
explicit BlurEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); }
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
-class FocusInEventDispatchMediator FINAL : public EventDispatchMediator {
+class FocusInEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<FocusInEventDispatchMediator> create(PassRefPtrWillBeRawPtr<FocusEvent>);
private:
explicit FocusInEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); }
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
-class FocusOutEventDispatchMediator FINAL : public EventDispatchMediator {
+class FocusOutEventDispatchMediator final : public EventDispatchMediator {
public:
static PassRefPtrWillBeRawPtr<FocusOutEventDispatchMediator> create(PassRefPtrWillBeRawPtr<FocusEvent>);
private:
explicit FocusOutEventDispatchMediator(PassRefPtrWillBeRawPtr<FocusEvent>);
FocusEvent* event() const { return static_cast<FocusEvent*>(EventDispatchMediator::event()); }
- virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
+ virtual bool dispatchEvent(EventDispatcher*) const override;
};
} // namespace blink
« no previous file with comments | « Source/core/events/EventTarget.h ('k') | Source/core/events/GenericEventQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698