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 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 #include "modules/mediasource/MediaSourceBase.h" | 32 #include "modules/mediasource/MediaSourceBase.h" |
33 | 33 |
34 #include "bindings/v8/ExceptionState.h" | 34 #include "bindings/v8/ExceptionState.h" |
35 #include "bindings/v8/ExceptionStatePlaceholder.h" | 35 #include "bindings/v8/ExceptionStatePlaceholder.h" |
36 #include "core/events/Event.h" | 36 #include "core/events/Event.h" |
37 #include "core/dom/ExceptionCode.h" | 37 #include "core/dom/ExceptionCode.h" |
38 #include "core/events/GenericEventQueue.h" | 38 #include "core/events/GenericEventQueue.h" |
39 #include "core/platform/Logging.h" | 39 #include "platform/Logging.h" |
40 #include "core/platform/graphics/SourceBufferPrivate.h" | 40 #include "core/platform/graphics/SourceBufferPrivate.h" |
41 #include "modules/mediasource/MediaSourceRegistry.h" | 41 #include "modules/mediasource/MediaSourceRegistry.h" |
42 #include "wtf/text/WTFString.h" | 42 #include "wtf/text/WTFString.h" |
43 | 43 |
44 namespace WebCore { | 44 namespace WebCore { |
45 | 45 |
46 MediaSourceBase::MediaSourceBase(ScriptExecutionContext* context) | 46 MediaSourceBase::MediaSourceBase(ScriptExecutionContext* context) |
47 : ActiveDOMObject(context) | 47 : ActiveDOMObject(context) |
48 , m_readyState(closedKeyword()) | 48 , m_readyState(closedKeyword()) |
49 , m_asyncEventQueue(GenericEventQueue::create(this)) | 49 , m_asyncEventQueue(GenericEventQueue::create(this)) |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 { | 309 { |
310 return &m_eventTargetData; | 310 return &m_eventTargetData; |
311 } | 311 } |
312 | 312 |
313 URLRegistry& MediaSourceBase::registry() const | 313 URLRegistry& MediaSourceBase::registry() const |
314 { | 314 { |
315 return MediaSourceRegistry::registry(); | 315 return MediaSourceRegistry::registry(); |
316 } | 316 } |
317 | 317 |
318 } | 318 } |
OLD | NEW |