Home | History | Annotate | Download | only in WebView

Lines Matching full:world

38     RefPtr<DOMWrapperWorld> world;
54 - (id)initWithWorld:(PassRefPtr<DOMWrapperWorld>)world
56 ASSERT_ARG(world, world);
57 if (!world)
65 _private->world = world;
67 ASSERT_ARG(world, !allWorlds().contains(_private->world.get()));
68 allWorlds().add(_private->world.get(), self);
80 _private->world->clearWrappers();
85 ASSERT(allWorlds().contains(_private->world.get()));
86 allWorlds().remove(_private->world.get());
95 static WebScriptWorld *world = [[WebScriptWorld alloc] initWithWorld:mainThreadNormalWorld()];
96 return world;
99 + (WebScriptWorld *)world
113 DOMWrapperWorld* core(WebScriptWorld *world)
115 return world ? world->_private->world.get() : 0;
118 + (WebScriptWorld *)findOrCreateWorld:(DOMWrapperWorld*) world
120 ASSERT_ARG(world, world);
122 if (world == mainThreadNormalWorld())
125 if (WebScriptWorld *existingWorld = allWorlds().get(world))
128 return [[[self alloc] initWithWorld:world] autorelease];