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

Unified Diff: Source/bindings/v8/V8PerContextData.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: Re-implment based on review 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/bindings/v8/V8PerContextData.h
diff --git a/Source/bindings/v8/V8PerContextData.h b/Source/bindings/v8/V8PerContextData.h
index e105176248dfaf556c81eee40e3593a4f43454b8..a4491f0c95d9b61a9130cf6764a0b4e95320b6f4 100644
--- a/Source/bindings/v8/V8PerContextData.h
+++ b/Source/bindings/v8/V8PerContextData.h
@@ -33,6 +33,7 @@
#include "bindings/v8/ScopedPersistent.h"
#include "bindings/v8/V8DOMActivityLogger.h"
+#include "bindings/v8/V8PerContextDebugData.h"
#include "bindings/v8/WrapperTypeInfo.h"
#include <v8.h>
#include "wtf/HashMap.h"
@@ -45,14 +46,6 @@ struct V8NPObject;
typedef WTF::Vector<V8NPObject*> V8NPObjectVector;
typedef WTF::HashMap<int, V8NPObjectVector> V8NPObjectMap;
-enum V8ContextEmbedderDataField {
- v8ContextDebugIdIndex,
- v8ContextPerContextDataIndex,
- v8ContextIsolatedWorld,
- // Rather than adding more embedder data fields to v8::Context,
- // consider adding the data to V8PerContextData instead.
-};
-
class V8PerContextData {
public:
static PassOwnPtr<V8PerContextData> create(v8::Persistent<v8::Context> context)
@@ -133,12 +126,6 @@ private:
ScopedPersistent<v8::Value> m_objectPrototype;
};
-class V8PerContextDebugData {
-public:
- static bool setContextDebugData(v8::Handle<v8::Context>, const char* worldName, int debugId);
- static int contextDebugId(v8::Handle<v8::Context>);
-};
-
} // namespace WebCore
#endif // V8PerContextData_h

Powered by Google App Engine
This is Rietveld 408576698