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

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

Issue 352603002: Remove the unused Document& argument to the TextTrack constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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') | no next file » | 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 23 matching lines...) Expand all
34 #include "core/dom/ContextLifecycleObserver.h" 34 #include "core/dom/ContextLifecycleObserver.h"
35 #include "core/html/track/TextTrack.h" 35 #include "core/html/track/TextTrack.h"
36 #include "platform/Timer.h" 36 #include "platform/Timer.h"
37 #include "platform/geometry/FloatPoint.h" 37 #include "platform/geometry/FloatPoint.h"
38 #include "platform/heap/Handle.h" 38 #include "platform/heap/Handle.h"
39 #include "wtf/PassOwnPtr.h" 39 #include "wtf/PassOwnPtr.h"
40 #include "wtf/RefCounted.h" 40 #include "wtf/RefCounted.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 class Document;
44 class ExceptionState; 45 class ExceptionState;
45 class HTMLDivElement; 46 class HTMLDivElement;
46 class VTTCueBox; 47 class VTTCueBox;
47 class VTTScanner; 48 class VTTScanner;
48 49
49 class VTTRegion FINAL : public RefCountedWillBeGarbageCollectedFinalized<VTTRegi on> { 50 class VTTRegion FINAL : public RefCountedWillBeGarbageCollectedFinalized<VTTRegi on> {
50 public: 51 public:
51 static PassRefPtrWillBeRawPtr<VTTRegion> create() 52 static PassRefPtrWillBeRawPtr<VTTRegion> create()
52 { 53 {
53 return adoptRefWillBeNoop(new VTTRegion()); 54 return adoptRefWillBeNoop(new VTTRegion());
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // The timer is used to display the next cue line after the current one has 149 // The timer is used to display the next cue line after the current one has
149 // been displayed. It's main use is for scrolling regions and it triggers as 150 // 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 151 // 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 152 // currently it is used also for non-scrolling regions to use a single
152 // code path. 153 // code path.
153 Timer<VTTRegion> m_scrollTimer; 154 Timer<VTTRegion> m_scrollTimer;
154 }; 155 };
155 156
156 } // namespace WebCore 157 } // namespace WebCore
157 #endif 158 #endif
OLDNEW
« no previous file with comments | « Source/core/html/track/TextTrack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698