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

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

Issue 13575004: Apply script preprocessor to Web page scripts only. (Closed) Base URL: https://chromium.googlesource.com/external/WebKit_trimmed.git@master
Patch Set: Rebase, simplify 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
Index: Source/WebKit/chromium/public/WebScopedCompilation.h
diff --git a/Source/WebKit/chromium/public/WebMediaSource.h b/Source/WebKit/chromium/public/WebScopedCompilation.h
similarity index 83%
copy from Source/WebKit/chromium/public/WebMediaSource.h
copy to Source/WebKit/chromium/public/WebScopedCompilation.h
index ae7864b3090d45d155dce3a55872d6f6a27830c4..9d845c31455bc4171b06293a1b5a1b80c07ed294 100644
--- a/Source/WebKit/chromium/public/WebMediaSource.h
+++ b/Source/WebKit/chromium/public/WebScopedCompilation.h
@@ -28,22 +28,24 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaSource_h
-#define WebMediaSource_h
+#ifndef WebScopedCompilation_h
+#define WebScopedCompilation_h
-#include "../../../Platform/chromium/public/WebURL.h"
-#include "WebTimeRange.h"
+#include "../../../Platform/chromium/public/WebPrivateOwnPtr.h"
+#include <v8.h>
namespace WebKit {
-class WebMediaSourceClient;
-
-class WebMediaSource {
+class WebScopedCompilation {
public:
- virtual ~WebMediaSource() { };
- virtual void open(WebMediaSourceClient*) = 0;
+ WebScopedCompilation(v8::Handle<v8::Context>);
+ ~WebScopedCompilation();
+
+private:
+ class Impl;
+ WebPrivateOwnPtr<Impl> m_impl;
};
-} // namespace WebKit
+} // WebKit
#endif

Powered by Google App Engine
This is Rietveld 408576698