Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / track / vtt / VTTRegion.h
index ab2121e..114ff0b 100644 (file)
@@ -31,6 +31,7 @@
 #ifndef VTTRegion_h
 #define VTTRegion_h
 
+#include "bindings/core/v8/ScriptWrappable.h"
 #include "core/dom/ContextLifecycleObserver.h"
 #include "core/html/track/TextTrack.h"
 #include "platform/Timer.h"
 #include "wtf/PassOwnPtr.h"
 #include "wtf/RefCounted.h"
 
-namespace WebCore {
+namespace blink {
 
+class Document;
 class ExceptionState;
 class HTMLDivElement;
 class VTTCueBox;
 class VTTScanner;
 
-class VTTRegion FINAL : public RefCountedWillBeGarbageCollectedFinalized<VTTRegion> {
+class VTTRegion FINAL : public RefCountedWillBeGarbageCollectedFinalized<VTTRegion>, public ScriptWrappable {
 public:
     static PassRefPtrWillBeRawPtr<VTTRegion> create()
     {
@@ -153,5 +155,5 @@ private:
     Timer<VTTRegion> m_scrollTimer;
 };
 
-} // namespace WebCore
+} // namespace blink
 #endif