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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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.cpp ('k') | Source/core/html/track/TextTrackCue.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) 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 virtual const AtomicString& interfaceName() const override; 90 virtual const AtomicString& interfaceName() const override;
91 91
92 #ifndef NDEBUG 92 #ifndef NDEBUG
93 virtual String toString() const = 0; 93 virtual String toString() const = 0;
94 #endif 94 #endif
95 95
96 DEFINE_ATTRIBUTE_EVENT_LISTENER(enter); 96 DEFINE_ATTRIBUTE_EVENT_LISTENER(enter);
97 DEFINE_ATTRIBUTE_EVENT_LISTENER(exit); 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(exit);
98 98
99 virtual void trace(Visitor*) override; 99 DECLARE_VIRTUAL_TRACE();
100 100
101 protected: 101 protected:
102 TextTrackCue(double start, double end); 102 TextTrackCue(double start, double end);
103 103
104 void cueWillChange(); 104 void cueWillChange();
105 virtual void cueDidChange(); 105 virtual void cueDidChange();
106 106
107 private: 107 private:
108 AtomicString m_id; 108 AtomicString m_id;
109 double m_startTime; 109 double m_startTime;
110 double m_endTime; 110 double m_endTime;
111 int m_cueIndex; 111 int m_cueIndex;
112 112
113 RawPtrWillBeMember<TextTrack> m_track; 113 RawPtrWillBeMember<TextTrack> m_track;
114 114
115 bool m_isActive : 1; 115 bool m_isActive : 1;
116 bool m_pauseOnExit : 1; 116 bool m_pauseOnExit : 1;
117 }; 117 };
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // TextTrackCue_h 121 #endif // TextTrackCue_h
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | Source/core/html/track/TextTrackCue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698