OLD | NEW |
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 Loading... |
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 |
OLD | NEW |