Home | History | Annotate | Download | only in v8

Lines Matching defs:DOMWrapperWorld

32 #include "bindings/v8/DOMWrapperWorld.h"
47 int DOMWrapperWorld::isolatedWorldCount = 0;
50 void DOMWrapperWorld::setInitializingWindow(bool initializing)
55 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::createMainWorld()
57 return adoptRef(new DOMWrapperWorld(mainWorldId, mainWorldExtensionGroup));
60 DOMWrapperWorld::DOMWrapperWorld(int worldId, int extensionGroup)
68 DOMWrapperWorld* DOMWrapperWorld::current()
75 if (DOMWrapperWorld* world = isolatedWorld(context))
80 DOMWrapperWorld* mainThreadNormalWorld()
83 DEFINE_STATIC_LOCAL(RefPtr<DOMWrapperWorld>, cachedNormalWorld, (DOMWrapperWorld::createMainWorld()));
88 DOMWrapperWorld* existingWindowShellWorkaroundWorld()
90 DEFINE_STATIC_LOCAL(RefPtr<DOMWrapperWorld>, world, (adoptRef(new DOMWrapperWorld(DOMWrapperWorld::mainWorldId - 1, DOMWrapperWorld::mainWorldExtensionGroup - 1))));
94 bool DOMWrapperWorld::contextHasCorrectPrototype(v8::Handle<v8::Context> context)
102 void DOMWrapperWorld::setIsolatedWorldField(v8::Handle<v8::Context> context)
107 typedef HashMap<int, DOMWrapperWorld*> WorldMap;
115 void DOMWrapperWorld::getAllWorlds(Vector<RefPtr<DOMWrapperWorld> >& worlds)
123 DOMWrapperWorld::~DOMWrapperWorld()
143 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::ensureIsolatedWorld(int worldId, int extensionGroup)
149 RefPtr<DOMWrapperWorld> world = result.iterator->value;
156 world = adoptRef(new DOMWrapperWorld(worldId, extensionGroup));
172 SecurityOrigin* DOMWrapperWorld::isolatedWorldSecurityOrigin()
180 void DOMWrapperWorld::setIsolatedWorldSecurityOrigin(int worldID, PassRefPtr<SecurityOrigin> securityOrigin)
182 ASSERT(DOMWrapperWorld::isIsolatedWorldId(worldID));
189 void DOMWrapperWorld::clearIsolatedWorldSecurityOrigin(int worldID)
191 ASSERT(DOMWrapperWorld::isIsolatedWorldId(worldID));
203 bool DOMWrapperWorld::isolatedWorldHasContentSecurityPolicy()
211 void DOMWrapperWorld::setIsolatedWorldContentSecurityPolicy(int worldID, const String& policy)
213 ASSERT(DOMWrapperWorld::isIsolatedWorldId(worldID));
220 void DOMWrapperWorld::clearIsolatedWorldContentSecurityPolicy(int worldID)
222 ASSERT(DOMWrapperWorld::isIsolatedWorldId(worldID));
234 void DOMWrapperWorld::setActivityLogger(int worldId, PassOwnPtr<V8DOMActivityLogger> logger)
239 V8DOMActivityLogger* DOMWrapperWorld::activityLogger(int worldId)