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

Side by Side Diff: third_party/WebKit/Source/core/html/track/vtt/VTTRegion.h

Issue 2684633005: Move VTTRegion Timers to TaskRunnerTimer (Closed)
Patch Set: Move VTTRegion Timers to TaskRunnerTimer Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 Member<HTMLDivElement> m_regionDisplayTree; 127 Member<HTMLDivElement> m_regionDisplayTree;
128 128
129 // Keep track of the current numeric value of the css "top" property. 129 // Keep track of the current numeric value of the css "top" property.
130 double m_currentTop; 130 double m_currentTop;
131 131
132 // The timer is used to display the next cue line after the current one has 132 // The timer is used to display the next cue line after the current one has
133 // been displayed. It's main use is for scrolling regions and it triggers as 133 // been displayed. It's main use is for scrolling regions and it triggers as
134 // soon as the animation for rolling out one line has finished, but 134 // soon as the animation for rolling out one line has finished, but
135 // currently it is used also for non-scrolling regions to use a single 135 // currently it is used also for non-scrolling regions to use a single
136 // code path. 136 // code path.
137 Timer<VTTRegion> m_scrollTimer; 137 TaskRunnerTimer<VTTRegion> m_scrollTimer;
138 }; 138 };
139 139
140 } // namespace blink 140 } // namespace blink
141 141
142 #endif // VTTRegion_h 142 #endif // VTTRegion_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/track/vtt/VTTRegion.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698