| Index: Source/WebKit/chromium/public/WebScopedCompilation.h
|
| diff --git a/Source/WebKit/chromium/src/WebMediaSourceImpl.h b/Source/WebKit/chromium/public/WebScopedCompilation.h
|
| similarity index 80%
|
| copy from Source/WebKit/chromium/src/WebMediaSourceImpl.h
|
| copy to Source/WebKit/chromium/public/WebScopedCompilation.h
|
| index a553bf2e7c55e58a63177028c6726c7f594599ed..4ca0d183cf97f6fcc2ce8ba31190865f44058728 100644
|
| --- a/Source/WebKit/chromium/src/WebMediaSourceImpl.h
|
| +++ b/Source/WebKit/chromium/public/WebScopedCompilation.h
|
| @@ -28,26 +28,25 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebMediaSourceImpl_h
|
| -#define WebMediaSourceImpl_h
|
| +#ifndef WebScopedCompilation_h
|
| +#define WebScopedCompilation_h
|
|
|
| -#include "MediaSource.h"
|
| -#include "WebMediaSource.h"
|
| +#include "../../../Platform/chromium/public/WebPrivateOwnPtr.h"
|
| +#include <v8.h>
|
|
|
| namespace WebKit {
|
|
|
| -class WebMediaSourceImpl : public WebMediaSource {
|
| +class WebScopedCompilation {
|
| public:
|
| - WebMediaSourceImpl(PassRefPtr<WebCore::MediaSource>);
|
| - virtual ~WebMediaSourceImpl();
|
|
|
| - // WebMediaSource methods.
|
| - virtual void open(WebMediaSourceClient*);
|
| + static WebScopedCompilation extensionAPIInjection(v8::Handle<v8::Context>);
|
| + ~WebScopedCompilation();
|
|
|
| private:
|
| - RefPtr<WebCore::MediaSource> m_mediaSource;
|
| + class Impl;
|
| + WebScopedCompilation(v8::Handle<v8::Context>, WebPrivateOwnPtr<Impl> impl);
|
| };
|
|
|
| -}
|
| +} // WebKit
|
|
|
| #endif
|
|
|