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

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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 6 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/ime/InputMethodContext.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('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 28 matching lines...) Expand all
39 class ExceptionState; 39 class ExceptionState;
40 class HTMLMediaElement; 40 class HTMLMediaElement;
41 class TextTrack; 41 class TextTrack;
42 class TextTrackCue; 42 class TextTrackCue;
43 class TextTrackCueList; 43 class TextTrackCueList;
44 class TextTrackList; 44 class TextTrackList;
45 class VTTRegion; 45 class VTTRegion;
46 class VTTRegionList; 46 class VTTRegionList;
47 47
48 class TextTrack : public TrackBase, public ScriptWrappable, public EventTargetWi thInlineData { 48 class TextTrack : public TrackBase, public ScriptWrappable, public EventTargetWi thInlineData {
49 DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<T rackBase>); 49 REFCOUNTED_EVENT_TARGET(TrackBase);
50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrack);
50 public: 51 public:
51 static PassRefPtrWillBeRawPtr<TextTrack> create(Document& document, const At omicString& kind, const AtomicString& label, const AtomicString& language) 52 static PassRefPtrWillBeRawPtr<TextTrack> create(Document& document, const At omicString& kind, const AtomicString& label, const AtomicString& language)
52 { 53 {
53 return adoptRefWillBeRefCountedGarbageCollected(new TextTrack(document, kind, label, language, emptyAtom, AddTrack)); 54 return adoptRefWillBeRefCountedGarbageCollected(new TextTrack(document, kind, label, language, emptyAtom, AddTrack));
54 } 55 }
55 virtual ~TextTrack(); 56 virtual ~TextTrack();
56 57
57 virtual void setTrackList(TextTrackList*); 58 virtual void setTrackList(TextTrackList*);
58 TextTrackList* trackList() { return m_trackList; } 59 TextTrackList* trackList() { return m_trackList; }
59 60
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 TextTrackType m_trackType; 138 TextTrackType m_trackType;
138 ReadinessState m_readinessState; 139 ReadinessState m_readinessState;
139 int m_trackIndex; 140 int m_trackIndex;
140 int m_renderedTrackIndex; 141 int m_renderedTrackIndex;
141 bool m_hasBeenConfigured; 142 bool m_hasBeenConfigured;
142 }; 143 };
143 144
144 } // namespace WebCore 145 } // namespace WebCore
145 146
146 #endif 147 #endif
OLDNEW
« no previous file with comments | « Source/core/html/ime/InputMethodContext.cpp ('k') | Source/core/html/track/TextTrack.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698