| 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 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #ifndef VTTRegion_h | 31 #ifndef VTTRegion_h |
| 32 #define VTTRegion_h | 32 #define VTTRegion_h |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptWrappable.h" | 34 #include "bindings/core/v8/ScriptWrappable.h" |
| 35 #include "core/dom/ContextLifecycleObserver.h" | 35 #include "core/dom/ContextLifecycleObserver.h" |
| 36 #include "core/html/track/TextTrack.h" | 36 #include "core/html/track/TextTrack.h" |
| 37 #include "platform/Timer.h" | 37 #include "platform/Timer.h" |
| 38 #include "platform/geometry/FloatPoint.h" | 38 #include "platform/geometry/FloatPoint.h" |
| 39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
| 40 #include "wtf/PassOwnPtr.h" | |
| 41 #include "wtf/RefCounted.h" | |
| 42 | 40 |
| 43 namespace blink { | 41 namespace blink { |
| 44 | 42 |
| 45 class Document; | 43 class Document; |
| 46 class ExceptionState; | 44 class ExceptionState; |
| 47 class HTMLDivElement; | 45 class HTMLDivElement; |
| 48 class VTTCueBox; | 46 class VTTCueBox; |
| 49 class VTTScanner; | 47 class VTTScanner; |
| 50 | 48 |
| 51 class VTTRegion final : public GarbageCollectedFinalized<VTTRegion>, public Scri
ptWrappable { | 49 class VTTRegion final : public GarbageCollectedFinalized<VTTRegion>, public Scri
ptWrappable { |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 // been displayed. It's main use is for scrolling regions and it triggers as | 147 // been displayed. It's main use is for scrolling regions and it triggers as |
| 150 // soon as the animation for rolling out one line has finished, but | 148 // soon as the animation for rolling out one line has finished, but |
| 151 // currently it is used also for non-scrolling regions to use a single | 149 // currently it is used also for non-scrolling regions to use a single |
| 152 // code path. | 150 // code path. |
| 153 Timer<VTTRegion> m_scrollTimer; | 151 Timer<VTTRegion> m_scrollTimer; |
| 154 }; | 152 }; |
| 155 | 153 |
| 156 } // namespace blink | 154 } // namespace blink |
| 157 | 155 |
| 158 #endif // VTTRegion_h | 156 #endif // VTTRegion_h |
| OLD | NEW |