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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/html/track/AudioTrackList.h ('k') | Source/core/html/track/TextTrackCue.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 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2011, 2012, 2013 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 class ExceptionState; 37 class ExceptionState;
38 class HTMLMediaElement; 38 class HTMLMediaElement;
39 class TextTrack; 39 class TextTrack;
40 class TextTrackCue; 40 class TextTrackCue;
41 class TextTrackCueList; 41 class TextTrackCueList;
42 class TextTrackList; 42 class TextTrackList;
43 class VTTRegion; 43 class VTTRegion;
44 class VTTRegionList; 44 class VTTRegionList;
45 45
46 class TextTrack : public TrackBase, public EventTargetWithInlineData { 46 class TextTrack : public TrackBase, public EventTargetWithInlineData {
47 DEFINE_WRAPPERTYPEINFO();
47 REFCOUNTED_EVENT_TARGET(TrackBase); 48 REFCOUNTED_EVENT_TARGET(TrackBase);
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrack); 49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrack);
49 public: 50 public:
50 static PassRefPtrWillBeRawPtr<TextTrack> create(const AtomicString& kind, co nst AtomicString& label, const AtomicString& language) 51 static PassRefPtrWillBeRawPtr<TextTrack> create(const AtomicString& kind, co nst AtomicString& label, const AtomicString& language)
51 { 52 {
52 return adoptRefWillBeNoop(new TextTrack(kind, label, language, emptyAtom , AddTrack)); 53 return adoptRefWillBeNoop(new TextTrack(kind, label, language, emptyAtom , AddTrack));
53 } 54 }
54 virtual ~TextTrack(); 55 virtual ~TextTrack();
55 56
56 virtual void setTrackList(TextTrackList*); 57 virtual void setTrackList(TextTrackList*);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ReadinessState m_readinessState; 138 ReadinessState m_readinessState;
138 int m_trackIndex; 139 int m_trackIndex;
139 int m_renderedTrackIndex; 140 int m_renderedTrackIndex;
140 bool m_hasBeenConfigured; 141 bool m_hasBeenConfigured;
141 }; 142 };
142 143
143 DEFINE_TRACK_TYPE_CASTS(TextTrack, TrackBase::TextTrack); 144 DEFINE_TRACK_TYPE_CASTS(TextTrack, TrackBase::TextTrack);
144 145
145 } // namespace blink 146 } // namespace blink
146 147
147 #endif 148 #endif // TextTrack_h
OLDNEW
« no previous file with comments | « Source/core/html/track/AudioTrackList.h ('k') | Source/core/html/track/TextTrackCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698