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

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

Issue 133133006: Update Event classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/ErrorEvent.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 20a9a28c0fe5fb0f8f830f08f69f17af93aaca3d..517f71f3f4cc4c541911b5211fb2e9b4d46707fb 100644
--- a/Source/core/events/FocusEvent.h
+++ b/Source/core/events/FocusEvent.h
@@ -39,7 +39,7 @@ struct FocusEventInit : public UIEventInit {
RefPtr<EventTarget> relatedTarget;
};
-class FocusEvent : public UIEvent {
+class FocusEvent FINAL : public UIEvent {
public:
static PassRefPtr<FocusEvent> create()
{
@@ -60,8 +60,8 @@ public:
EventTarget* relatedTarget(bool& isNull) const { isNull = !m_relatedTarget; return m_relatedTarget.get(); }
void setRelatedTarget(EventTarget* relatedTarget) { m_relatedTarget = relatedTarget; }
- virtual const AtomicString& interfaceName() const;
- virtual bool isFocusEvent() const;
+ virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual bool isFocusEvent() const OVERRIDE;
private:
FocusEvent();
@@ -73,7 +73,7 @@ private:
DEFINE_EVENT_TYPE_CASTS(FocusEvent);
-class FocusEventDispatchMediator : public EventDispatchMediator {
+class FocusEventDispatchMediator FINAL : public EventDispatchMediator {
public:
static PassRefPtr<FocusEventDispatchMediator> create(PassRefPtr<FocusEvent>);
private:
@@ -82,7 +82,7 @@ private:
virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
};
-class BlurEventDispatchMediator : public EventDispatchMediator {
+class BlurEventDispatchMediator FINAL : public EventDispatchMediator {
public:
static PassRefPtr<BlurEventDispatchMediator> create(PassRefPtr<FocusEvent>);
private:
@@ -91,7 +91,7 @@ private:
virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
};
-class FocusInEventDispatchMediator : public EventDispatchMediator {
+class FocusInEventDispatchMediator FINAL : public EventDispatchMediator {
public:
static PassRefPtr<FocusInEventDispatchMediator> create(PassRefPtr<FocusEvent>);
private:
@@ -100,7 +100,7 @@ private:
virtual bool dispatchEvent(EventDispatcher*) const OVERRIDE;
};
-class FocusOutEventDispatchMediator : public EventDispatchMediator {
+class FocusOutEventDispatchMediator FINAL : public EventDispatchMediator {
public:
static PassRefPtr<FocusOutEventDispatchMediator> create(PassRefPtr<FocusEvent>);
private:
« no previous file with comments | « Source/core/events/ErrorEvent.h ('k') | Source/core/events/GenericEventQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698