Home
last modified time | relevance | path

Searched refs:DOMWrapperWorld (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DDOMWrapperWorld.cpp49 unsigned DOMWrapperWorld::isolatedWorldCount = 0;
52 void DOMWrapperWorld::setInitializingWindow(bool initializing) in setInitializingWindow()
57 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::createMainWorld() in createMainWorld()
59 return adoptRef(new DOMWrapperWorld(MainWorldId, mainWorldExtensionGroup)); in createMainWorld()
62 DOMWrapperWorld::DOMWrapperWorld(int worldId, int extensionGroup) in DOMWrapperWorld() function in WebCore::DOMWrapperWorld
70 DOMWrapperWorld* DOMWrapperWorld::current() in current()
78 if (DOMWrapperWorld* world = isolatedWorld(context)) in current()
83 DOMWrapperWorld* mainThreadNormalWorld() in mainThreadNormalWorld()
86 DEFINE_STATIC_REF(DOMWrapperWorld, cachedNormalWorld, (DOMWrapperWorld::createMainWorld())); in mainThreadNormalWorld()
91 DOMWrapperWorld* existingWindowShellWorkaroundWorld() in existingWindowShellWorkaroundWorld()
[all …]
DDOMWrapperWorld.h56 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
59 static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(int worldId, int extensionGroup);
60 ~DOMWrapperWorld();
64 static void getAllWorlds(Vector<RefPtr<DOMWrapperWorld> >& worlds);
68 static DOMWrapperWorld* isolatedWorld(v8::Handle<v8::Context> context) in isolatedWorld()
75 static DOMWrapperWorld* current();
117 static PassRefPtr<DOMWrapperWorld> createMainWorld();
120 DOMWrapperWorld(int worldId, int extensionGroup);
126 friend DOMWrapperWorld* mainThreadNormalWorld();
127 friend DOMWrapperWorld* existingWindowShellWorkaroundWorld();
[all …]
DV8WindowShell.h58 static PassOwnPtr<V8WindowShell> create(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
81 DOMWrapperWorld* world() { return m_world.get(); } in world()
84 V8WindowShell(Frame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
107 RefPtr<DOMWrapperWorld> m_world;
DDOMDataStore.cpp67 if (DOMWrapperWorld::isolatedWorldsExist()) { in current()
68DOMWrapperWorld* isolatedWorld = DOMWrapperWorld::isolatedWorld(isolate->GetEnteredContext()); in current()
DV8AbstractEventListener.h112 virtual DOMWrapperWorld* world() const OVERRIDE FINAL { return m_world.get(); } in world()
116 V8AbstractEventListener(bool isAttribute, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
142 RefPtr<DOMWrapperWorld> m_world;
DV8PerContextData.h51 class DOMWrapperWorld; variable
78 DOMWrapperWorld* isolatedWorld() const { return m_isolatedWorld; } in isolatedWorld()
79 void setIsolatedWorld(DOMWrapperWorld* world) { m_isolatedWorld = world; } in setIsolatedWorld()
102 DOMWrapperWorld* m_isolatedWorld;
DScriptPreprocessor.cpp51 …uteScriptInIsolatedWorld(ScriptPreprocessorIsolatedWorldId, sources, DOMWrapperWorld::mainWorldExt… in ScriptPreprocessor()
64 …m_world = DOMWrapperWorld::ensureIsolatedWorld(ScriptPreprocessorIsolatedWorldId, DOMWrapperWorld:… in ScriptPreprocessor()
DDOMDataStore.h63 …if ((!DOMWrapperWorld::isolatedWorldsExist() && !canExistInWorker(object)) || holderContainsWrappe… in setReturnValueFromWrapperFast()
75 if (LIKELY(!DOMWrapperWorld::isolatedWorldsExist())) in setReturnValueFromWrapper()
93 if (LIKELY(!DOMWrapperWorld::isolatedWorldsExist())) { in getWrapper()
107 if (LIKELY(!DOMWrapperWorld::isolatedWorldsExist())) { in setWrapperReference()
121 if (LIKELY(!DOMWrapperWorld::isolatedWorldsExist())) { in setWrapper()
DDOMRequestState.h41 , m_world(DOMWrapperWorld::current()) in DOMRequestState()
80 RefPtr<DOMWrapperWorld> m_world;
DScriptController.h49 class DOMWrapperWorld; variable
80 V8WindowShell* windowShell(DOMWrapperWorld*);
81 V8WindowShell* existingWindowShell(DOMWrapperWorld*);
DV8Initializer.cpp111 …ge, resource, message->GetLineNumber(), message->GetStartColumn() + 1, DOMWrapperWorld::current()); in messageHandlerInMainThread()
125 DOMWrapperWorld* world = DOMWrapperWorld::current(); in messageHandlerInMainThread()
205 …e, sourceURL, message->GetLineNumber(), message->GetStartColumn() + 1, DOMWrapperWorld::current()); in messageHandlerInWorker()
DScriptController.cpp226 V8WindowShell* ScriptController::existingWindowShell(DOMWrapperWorld* world) in existingWindowShell()
243 V8WindowShell* ScriptController::windowShell(DOMWrapperWorld* world) in windowShell()
273 if (DOMWrapperWorld* world = isolatedWorldForEnteredContext(m_isolate)) in shouldBypassMainWorldContentSecurityPolicy()
286 … v8::Local<v8::Context> contextForWorld(ScriptController& scriptController, DOMWrapperWorld* world) in contextForWorld()
297 DOMWrapperWorld* isolatedWorld = DOMWrapperWorld::isolatedWorld(context); in currentWorldContext()
674 … RefPtr<DOMWrapperWorld> world = DOMWrapperWorld::ensureIsolatedWorld(worldID, extensionGroup); in executeScriptInIsolatedWorld()
DV8Binding.cpp529 v8::Local<v8::Context> toV8Context(ExecutionContext* context, DOMWrapperWorld* world) in toV8Context()
589 if (!DOMWrapperWorld::isolatedWorldsExist()) in worldTypeInMainThread()
592 DOMWrapperWorld* isolatedWorld = DOMWrapperWorld::isolatedWorld(isolate->GetEnteredContext()); in worldTypeInMainThread()
598 DOMWrapperWorld* isolatedWorldForIsolate(v8::Isolate* isolate) in isolatedWorldForIsolate()
603 if (!DOMWrapperWorld::isolatedWorldsExist()) in isolatedWorldForIsolate()
606 return DOMWrapperWorld::isolatedWorld(isolate->GetCurrentContext()); in isolatedWorldForIsolate()
DV8WindowShell.cpp80 PassOwnPtr<V8WindowShell> V8WindowShell::create(Frame* frame, PassRefPtr<DOMWrapperWorld> world, v8… in create()
85 V8WindowShell::V8WindowShell(Frame* frame, PassRefPtr<DOMWrapperWorld> world, v8::Isolate* isolate) in V8WindowShell()
225 m_perContextData->setActivityLogger(DOMWrapperWorld::activityLogger(m_world->worldId())); in initializeIfNeeded()
303 DOMWrapperWorld::setInitializingWindow(true); in installDOMWindow()
330 DOMWrapperWorld::setInitializingWindow(false); in installDOMWindow()
DScriptPromiseResolver.h137 v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current()); in resolve()
145 v8::Handle<v8::Context> v8Context = toV8Context(context, DOMWrapperWorld::current()); in reject()
/external/chromium_org/third_party/WebKit/Source/core/events/
DEventTarget.h119 …ntListener(const AtomicString& eventType, PassRefPtr<EventListener>, DOMWrapperWorld* isolatedWorl…
120 …EventListener* getAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* isolatedW…
146 bool clearAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* isolatedWorld);
162 …EventListener* on##attribute(DOMWrapperWorld* isolatedWorld) { return getAttributeEventListener(Ev…
163 …void setOn##attribute(PassRefPtr<EventListener> listener, DOMWrapperWorld* isolatedWorld = 0) { se…
166 …static EventListener* on##attribute(EventTarget* eventTarget, DOMWrapperWorld* isolatedWorld) { re…
167 …ribute(EventTarget* eventTarget, PassRefPtr<EventListener> listener, DOMWrapperWorld* isolatedWorl…
170 …EventListener* on##attribute(DOMWrapperWorld* isolatedWorld) { return document().getWindowAttribut…
171 …void setOn##attribute(PassRefPtr<EventListener> listener, DOMWrapperWorld* isolatedWorld) { docume…
174 … static EventListener* on##attribute(EventTarget* eventTarget, DOMWrapperWorld* isolatedWorld) { \
[all …]
DErrorEvent.h56 …st String& fileName, unsigned lineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld> world) in create()
64 static PassRefPtr<ErrorEvent> createSanitizedError(PassRefPtr<DOMWrapperWorld> world) in createSanitizedError()
81 PassRefPtr<DOMWrapperWorld> world() const { return m_world; } in world()
87 …, const String& fileName, unsigned lineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld>);
96 RefPtr<DOMWrapperWorld> m_world;
DEventListener.h28 class DOMWrapperWorld; variable
46 virtual DOMWrapperWorld* world() const { return 0; } in world()
DErrorEvent.cpp57 , m_world(DOMWrapperWorld::current()) in ErrorEvent()
62 …st String& fileName, unsigned lineNumber, unsigned columnNumber, PassRefPtr<DOMWrapperWorld> world) in ErrorEvent()
DEventTarget.cpp120 …r(const AtomicString& eventType, PassRefPtr<EventListener> listener, DOMWrapperWorld* isolatedWorl… in setAttributeEventListener()
128 …ventTarget::getAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* isolatedWorl… in getAttributeEventListener()
134 DOMWrapperWorld* listenerWorld = listener->world(); in getAttributeEventListener()
149 bool EventTarget::clearAttributeEventListener(const AtomicString& eventType, DOMWrapperWorld* isola… in clearAttributeEventListener()
/external/chromium_org/third_party/WebKit/Source/web/
DWebDOMActivityLogger.cpp69 return DOMWrapperWorld::activityLogger(worldId); in hasDOMActivityLogger()
75DOMWrapperWorld::setActivityLogger(worldId, adoptPtr(new DOMActivityLoggerContainer(adoptPtr(logge… in setDOMActivityLogger()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioScheduledSourceNode.h80 …EventListener* onended(DOMWrapperWorld* isolatedWorld) { return getAttributeEventListener(EventTyp… in onended()
81 void setOnended(PassRefPtr<EventListener>, DOMWrapperWorld* isolatedWorld = 0);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorAgent.h40 class DOMWrapperWorld; variable
69 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
DInspectorController.h42 class DOMWrapperWorld; variable
78 void didClearWindowObjectInWorld(Frame*, DOMWrapperWorld*);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DMessagePort.h93 void setOnmessage(PassRefPtr<EventListener> listener, DOMWrapperWorld* world) in setOnmessage()
98 …EventListener* onmessage(DOMWrapperWorld* world) { return getAttributeEventListener(EventTypeNames… in onmessage()

123