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

Side by Side Diff: Source/core/html/track/TextTrackCue.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/TextTrack.h ('k') | Source/core/html/track/TextTrackCueList.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) 2012, 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 #include "core/events/EventTarget.h" 35 #include "core/events/EventTarget.h"
36 #include "core/html/HTMLDivElement.h" 36 #include "core/html/HTMLDivElement.h"
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class ExceptionState; 42 class ExceptionState;
43 43
44 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC ue>, public EventTargetWithInlineData { 44 class TextTrackCue : public RefCountedWillBeGarbageCollectedFinalized<TextTrackC ue>, public EventTargetWithInlineData {
45 DEFINE_WRAPPERTYPEINFO();
45 REFCOUNTED_EVENT_TARGET(TextTrackCue); 46 REFCOUNTED_EVENT_TARGET(TextTrackCue);
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue); 47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(TextTrackCue);
47 public: 48 public:
48 static const AtomicString& cueShadowPseudoId() 49 static const AtomicString& cueShadowPseudoId()
49 { 50 {
50 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const ructFromLiteral)); 51 DEFINE_STATIC_LOCAL(const AtomicString, cue, ("cue", AtomicString::Const ructFromLiteral));
51 return cue; 52 return cue;
52 } 53 }
53 54
54 virtual ~TextTrackCue() { } 55 virtual ~TextTrackCue() { }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 int m_cueIndex; 112 int m_cueIndex;
112 113
113 RawPtrWillBeMember<TextTrack> m_track; 114 RawPtrWillBeMember<TextTrack> m_track;
114 115
115 bool m_isActive : 1; 116 bool m_isActive : 1;
116 bool m_pauseOnExit : 1; 117 bool m_pauseOnExit : 1;
117 }; 118 };
118 119
119 } // namespace blink 120 } // namespace blink
120 121
121 #endif 122 #endif // TextTrackCue_h
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrack.h ('k') | Source/core/html/track/TextTrackCueList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698