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

Side by Side Diff: Source/core/html/track/vtt/VTTRegion.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/vtt/VTTParser.cpp ('k') | Source/core/html/track/vtt/VTTRegion.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void setRegionSettings(const String&); 91 void setRegionSettings(const String&);
92 92
93 bool isScrollingRegion() { return m_scroll; } 93 bool isScrollingRegion() { return m_scroll; }
94 94
95 PassRefPtrWillBeRawPtr<HTMLDivElement> getDisplayTree(Document&); 95 PassRefPtrWillBeRawPtr<HTMLDivElement> getDisplayTree(Document&);
96 96
97 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>); 97 void appendVTTCueBox(PassRefPtrWillBeRawPtr<VTTCueBox>);
98 void displayLastVTTCueBox(); 98 void displayLastVTTCueBox();
99 void willRemoveVTTCueBox(VTTCueBox*); 99 void willRemoveVTTCueBox(VTTCueBox*);
100 100
101 void trace(Visitor*); 101 DECLARE_TRACE();
102 102
103 private: 103 private:
104 VTTRegion(); 104 VTTRegion();
105 105
106 void prepareRegionDisplayTree(); 106 void prepareRegionDisplayTree();
107 107
108 // The timer is needed to continue processing when cue scrolling ended. 108 // The timer is needed to continue processing when cue scrolling ended.
109 void startTimer(); 109 void startTimer();
110 void stopTimer(); 110 void stopTimer();
111 void scrollTimerFired(Timer<VTTRegion>*); 111 void scrollTimerFired(Timer<VTTRegion>*);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // been displayed. It's main use is for scrolling regions and it triggers as 152 // been displayed. It's main use is for scrolling regions and it triggers as
153 // soon as the animation for rolling out one line has finished, but 153 // soon as the animation for rolling out one line has finished, but
154 // currently it is used also for non-scrolling regions to use a single 154 // currently it is used also for non-scrolling regions to use a single
155 // code path. 155 // code path.
156 Timer<VTTRegion> m_scrollTimer; 156 Timer<VTTRegion> m_scrollTimer;
157 }; 157 };
158 158
159 } // namespace blink 159 } // namespace blink
160 160
161 #endif // VTTRegion_h 161 #endif // VTTRegion_h
OLDNEW
« no previous file with comments | « Source/core/html/track/vtt/VTTParser.cpp ('k') | Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698