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

Side by Side Diff: Source/core/html/track/TrackEvent.h

Issue 635793002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/html (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 unified diff | Download patch
« no previous file with comments | « Source/core/html/track/TextTrackList.h ('k') | Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 19 matching lines...) Expand all
30 #include "core/html/track/TrackBase.h" 30 #include "core/html/track/TrackBase.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 struct TrackEventInit : public EventInit { 34 struct TrackEventInit : public EventInit {
35 TrackEventInit(); 35 TrackEventInit();
36 36
37 RefPtrWillBeMember<TrackBase> track; 37 RefPtrWillBeMember<TrackBase> track;
38 }; 38 };
39 39
40 class TrackEvent FINAL : public Event { 40 class TrackEvent final : public Event {
41 DEFINE_WRAPPERTYPEINFO(); 41 DEFINE_WRAPPERTYPEINFO();
42 public: 42 public:
43 virtual ~TrackEvent(); 43 virtual ~TrackEvent();
44 44
45 static PassRefPtrWillBeRawPtr<TrackEvent> create() 45 static PassRefPtrWillBeRawPtr<TrackEvent> create()
46 { 46 {
47 return adoptRefWillBeNoop(new TrackEvent); 47 return adoptRefWillBeNoop(new TrackEvent);
48 } 48 }
49 49
50 static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, c onst TrackEventInit& initializer) 50 static PassRefPtrWillBeRawPtr<TrackEvent> create(const AtomicString& type, c onst TrackEventInit& initializer)
51 { 51 {
52 return adoptRefWillBeNoop(new TrackEvent(type, initializer)); 52 return adoptRefWillBeNoop(new TrackEvent(type, initializer));
53 } 53 }
54 54
55 virtual const AtomicString& interfaceName() const OVERRIDE; 55 virtual const AtomicString& interfaceName() const override;
56 56
57 TrackBase* track() const { return m_track.get(); } 57 TrackBase* track() const { return m_track.get(); }
58 58
59 virtual void trace(Visitor*) OVERRIDE; 59 virtual void trace(Visitor*) override;
60 60
61 private: 61 private:
62 TrackEvent(); 62 TrackEvent();
63 TrackEvent(const AtomicString& type, const TrackEventInit& initializer); 63 TrackEvent(const AtomicString& type, const TrackEventInit& initializer);
64 64
65 RefPtrWillBeMember<TrackBase> m_track; 65 RefPtrWillBeMember<TrackBase> m_track;
66 }; 66 };
67 67
68 } // namespace blink 68 } // namespace blink
69 69
70 #endif // TrackEvent_h 70 #endif // TrackEvent_h
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrackList.h ('k') | Source/core/html/track/TrackListBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698