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

Side by Side Diff: Source/core/html/track/TrackListBase.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/TrackEvent.h ('k') | Source/core/html/track/VideoTrack.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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TrackListBase_h 5 #ifndef TrackListBase_h
6 #define TrackListBase_h 6 #define TrackListBase_h
7 7
8 #include "core/events/EventTarget.h" 8 #include "core/events/EventTarget.h"
9 9
10 #include "core/html/HTMLMediaElement.h" 10 #include "core/html/HTMLMediaElement.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 return 0; 48 return 0;
49 } 49 }
50 50
51 DEFINE_ATTRIBUTE_EVENT_LISTENER(change); 51 DEFINE_ATTRIBUTE_EVENT_LISTENER(change);
52 DEFINE_ATTRIBUTE_EVENT_LISTENER(addtrack); 52 DEFINE_ATTRIBUTE_EVENT_LISTENER(addtrack);
53 DEFINE_ATTRIBUTE_EVENT_LISTENER(removetrack); 53 DEFINE_ATTRIBUTE_EVENT_LISTENER(removetrack);
54 54
55 // EventTarget interface 55 // EventTarget interface
56 virtual ExecutionContext* executionContext() const OVERRIDE 56 virtual ExecutionContext* executionContext() const override
57 { 57 {
58 if (m_mediaElement) 58 if (m_mediaElement)
59 return m_mediaElement->executionContext(); 59 return m_mediaElement->executionContext();
60 return 0; 60 return 0;
61 } 61 }
62 62
63 #if !ENABLE(OILPAN) 63 #if !ENABLE(OILPAN)
64 void shutdown() 64 void shutdown()
65 { 65 {
66 removeAll(); 66 removeAll();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 m_mediaElement->scheduleEvent(event); 127 m_mediaElement->scheduleEvent(event);
128 } 128 }
129 129
130 WillBeHeapVector<RefPtrWillBeMember<T> > m_tracks; 130 WillBeHeapVector<RefPtrWillBeMember<T> > m_tracks;
131 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement; 131 RawPtrWillBeMember<HTMLMediaElement> m_mediaElement;
132 }; 132 };
133 133
134 } 134 }
135 135
136 #endif 136 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/TrackEvent.h ('k') | Source/core/html/track/VideoTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698