| Index: Source/WebKit/chromium/src/WebScriptBindings.cpp
|
| diff --git a/public/web/WebMediaSource.h b/Source/WebKit/chromium/src/WebScriptBindings.cpp
|
| similarity index 84%
|
| copy from public/web/WebMediaSource.h
|
| copy to Source/WebKit/chromium/src/WebScriptBindings.cpp
|
| index 424a687dfa381049240e769de9e23f58da6eb576..bee5cf1b15b939502b344ee20669cd8cc77c3dd7 100644
|
| --- a/public/web/WebMediaSource.h
|
| +++ b/Source/WebKit/chromium/src/WebScriptBindings.cpp
|
| @@ -28,22 +28,19 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef WebMediaSource_h
|
| -#define WebMediaSource_h
|
| +#include "config.h"
|
| +#include "WebScriptBindings.h"
|
|
|
| -#include "../platform/WebURL.h"
|
| -#include "WebTimeRange.h"
|
| +#include "bindings/v8/V8Binding.h"
|
| +#include "public/platform/WebString.h"
|
|
|
| -namespace WebKit {
|
| +using namespace WebCore;
|
|
|
| -class WebMediaSourceClient;
|
| +namespace WebKit {
|
|
|
| -class WebMediaSource {
|
| -public:
|
| - virtual ~WebMediaSource() { };
|
| - virtual void open(WebMediaSourceClient*) = 0;
|
| -};
|
| +v8::Local<v8::String> WebScriptBindings::toV8String(const WebString& string, v8::Isolate* isolate)
|
| +{
|
| + return v8String(string, isolate);
|
| +}
|
|
|
| } // namespace WebKit
|
| -
|
| -#endif
|
|
|