Lines Matching defs:InjectedBundleScriptWorld
27 #include "InjectedBundleScriptWorld.h"
37 typedef HashMap<DOMWrapperWorld*, InjectedBundleScriptWorld*> WorldMap;
45 PassRefPtr<InjectedBundleScriptWorld> InjectedBundleScriptWorld::create()
47 return adoptRef(new InjectedBundleScriptWorld(ScriptController::createWorld()));
50 PassRefPtr<InjectedBundleScriptWorld> InjectedBundleScriptWorld::getOrCreate(DOMWrapperWorld* world)
55 if (InjectedBundleScriptWorld* existingWorld = allWorlds().get(world))
58 return adoptRef(new InjectedBundleScriptWorld(world));
61 InjectedBundleScriptWorld* InjectedBundleScriptWorld::normalWorld()
63 static InjectedBundleScriptWorld* world = adoptRef(new InjectedBundleScriptWorld(mainThreadNormalWorld())).leakRef();
67 InjectedBundleScriptWorld::InjectedBundleScriptWorld(PassRefPtr<DOMWrapperWorld> world)
74 InjectedBundleScriptWorld::~InjectedBundleScriptWorld()
80 DOMWrapperWorld* InjectedBundleScriptWorld::coreWorld() const
85 void InjectedBundleScriptWorld::clearWrappers()