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

Unified Diff: Source/WebKit/chromium/public/WebScopedCompilation.h

Issue 14362015: WIP enum / V8PerContextData solution (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebScopedCompilation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | Source/WebKit/chromium/src/WebScopedCompilation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698