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

Unified Diff: Source/bindings/v8/DOMWrapperWorld.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: respond to haraken comment #35 Created 7 years, 5 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/DOMWrapperWorld.h
diff --git a/Source/bindings/v8/DOMWrapperWorld.h b/Source/bindings/v8/DOMWrapperWorld.h
index 22128c642991a2b837b203304111a7a47af2ff19..1efedc07b9acfa96c42e9d87b263e208b1e79481 100644
--- a/Source/bindings/v8/DOMWrapperWorld.h
+++ b/Source/bindings/v8/DOMWrapperWorld.h
@@ -45,6 +45,11 @@ namespace WebCore {
class DOMDataStore;
class ScriptExecutionContext;
+enum IsolatedWorldConstants {
+ EmbedderWorldIdLimit = (1 << 29),
+ ScriptPreprocessorIsolatedWorldId
+};
+
// This class represent a collection of DOM wrappers for a specific world.
class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
public:
@@ -88,7 +93,7 @@ public:
bool isolatedWorldHasContentSecurityPolicy();
// Associate a logger with the world identified by worldId (worlId may be 0
- // identifying the main world).
+ // identifying the main world).
static void setActivityLogger(int worldId, PassOwnPtr<V8DOMActivityLogger>);
static V8DOMActivityLogger* activityLogger(int worldId);

Powered by Google App Engine
This is Rietveld 408576698