HomeSort by relevance Sort by last modified time
    Searched refs:DOMWrapperWorld (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DOMWrapperWorld.cpp 32 #include "bindings/core/v8/DOMWrapperWorld.h"
48 unsigned DOMWrapperWorld::isolatedWorldCount = 0;
49 DOMWrapperWorld* DOMWrapperWorld::worldOfInitializingWindow = 0;
51 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::create(int worldId, int extensionGroup)
53 return adoptRef(new DOMWrapperWorld(worldId, extensionGroup));
56 DOMWrapperWorld::DOMWrapperWorld(int worldId, int extensionGroup)
63 DOMWrapperWorld& DOMWrapperWorld::mainWorld(
    [all...]
DOMWrapperWorld.h 61 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
63 static PassRefPtr<DOMWrapperWorld> create(int worldId = -1, int extensionGroup = -1);
67 static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(int worldId, int extensionGroup);
68 ~DOMWrapperWorld();
72 static void allWorldsInMainThread(Vector<RefPtr<DOMWrapperWorld> >& worlds);
74 static DOMWrapperWorld& world(v8::Handle<v8::Context> context)
79 static DOMWrapperWorld& current(v8::Isolate* isolate)
91 static DOMWrapperWorld& mainWorld();
92 static DOMWrapperWorld& privateScriptIsolatedWorld()
    [all...]
DOMDataStore.cpp 54 return DOMWrapperWorld::current(isolate).domDataStore();
WindowProxy.h 34 #include "bindings/core/v8/DOMWrapperWorld.h"
58 static PassOwnPtr<WindowProxy> create(LocalFrame*, DOMWrapperWorld&, v8::Isolate*);
82 DOMWrapperWorld& world() { return *m_world; }
85 WindowProxy(LocalFrame*, PassRefPtr<DOMWrapperWorld>, v8::Isolate*);
114 RefPtr<DOMWrapperWorld> m_world;
ScriptState.h 16 class DOMWrapperWorld;
48 static PassRefPtr<ScriptState> create(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
70 DOMWrapperWorld& world() const { return *m_world; }
89 ScriptState(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
96 // This RefPtr doesn't cause a cycle because all persistent handles that DOMWrapperWorld holds are weak.
97 RefPtr<DOMWrapperWorld> m_world;
110 static PassRefPtr<ScriptStateForTesting> create(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
116 ScriptStateForTesting(v8::Handle<v8::Context>, PassRefPtr<DOMWrapperWorld>);
ScriptState.cpp 14 PassRefPtr<ScriptState> ScriptState::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
30 ScriptState::ScriptState(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
95 return ScriptState::from(toV8Context(frame, DOMWrapperWorld::mainWorld()));
98 PassRefPtr<ScriptStateForTesting> ScriptStateForTesting::create(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
107 ScriptStateForTesting::ScriptStateForTesting(v8::Handle<v8::Context> context, PassRefPtr<DOMWrapperWorld> world)
ScriptPreprocessor.cpp 50 RefPtr<DOMWrapperWorld> world = DOMWrapperWorld::ensureIsolatedWorld(ScriptPreprocessorIsolatedWorldId, DOMWrapperWorld::mainWorldExtensionGroup);
60 frame->script().executeScriptInIsolatedWorld(ScriptPreprocessorIsolatedWorldId, sources, DOMWrapperWorld::mainWorldExtensionGroup, &scriptResults);
ScriptPromisePropertyBase.h 19 class DOMWrapperWorld;
40 ScriptPromise promise(DOMWrapperWorld&);
V8LazyEventListener.h 58 virtual DOMWrapperWorld& world() const OVERRIDE { return DOMWrapperWorld::mainWorld(); }
ScriptPromisePropertyTest.cpp 8 #include "bindings/core/v8/DOMWrapperWorld.h"
128 m_otherScriptState = ScriptStateForTesting::create(v8::Context::New(isolate()), DOMWrapperWorld::create(1));
141 DOMWrapperWorld& mainWorld() { return mainScriptState()->world(); }
143 DOMWrapperWorld& otherWorld() { return m_otherScriptState->world(); }
160 ScriptValue wrap(DOMWrapperWorld& world, const T& value)
187 ScriptPromise promise(DOMWrapperWorld& world) { return property()->promise(world); }
201 ScriptPromise v = property()->promise(DOMWrapperWorld::mainWorld());
202 ScriptPromise w = property()->promise(DOMWrapperWorld::mainWorld());
215 ScriptPromise v = property()->promise(DOMWrapperWorld::mainWorld());
216 ScriptPromise w = property()->promise(DOMWrapperWorld::mainWorld())
    [all...]
ScriptController.h 49 class DOMWrapperWorld;
80 WindowProxy* windowProxy(DOMWrapperWorld&);
81 WindowProxy* existingWindowProxy(DOMWrapperWorld&);
V8DOMConfiguration.h 90 DOMWrapperWorld& world = DOMWrapperWorld::current(isolate);
139 v8::FunctionCallback callbackForWorld(const DOMWrapperWorld& world) const
153 v8::FunctionCallback callbackForWorld(const DOMWrapperWorld&) const
170 DOMWrapperWorld& world = DOMWrapperWorld::current(isolate);
ScriptController.cpp 97 , m_windowProxy(WindowProxy::create(frame, DOMWrapperWorld::mainWorld(), m_isolate))
210 return windowProxy(DOMWrapperWorld::mainWorld())->isContextInitialized();
213 WindowProxy* ScriptController::existingWindowProxy(DOMWrapperWorld& world)
224 WindowProxy* ScriptController::windowProxy(DOMWrapperWorld& world)
250 DOMWrapperWorld& world = DOMWrapperWorld::current(m_isolate);
483 windowProxy(DOMWrapperWorld::mainWorld())->updateDocument();
488 windowProxy(DOMWrapperWorld::mainWorld())->namedItemAdded(doc, name);
493 windowProxy(DOMWrapperWorld::mainWorld())->namedItemRemoved(doc, name);
499 return !context.IsEmpty() && toDOMWindow(context) && DOMWrapperWorld::current(isolate).isPrivateScriptIsolatedWorld()
    [all...]
ScriptValue.cpp 50 // if (&m_scriptState->world() == &DOMWrapperWorld::current(isolate()))
53 RELEASE_ASSERT(&m_scriptState->world() == &DOMWrapperWorld::current(isolate()));
WorkerScriptController.h 96 RefPtr<DOMWrapperWorld> m_world;
V8AbstractEventListener.h 34 #include "bindings/core/v8/DOMWrapperWorld.h"
113 virtual DOMWrapperWorld& world() const { return scriptState()->world(); }
DOMDataStore.h 35 #include "bindings/core/v8/DOMWrapperWorld.h"
61 return !DOMWrapperWorld::isolatedWorldsExist()
70 return !DOMWrapperWorld::isolatedWorldsExist();
88 return DOMWrapperWorld::mainWorld().domDataStore().m_wrapperMap.setReturnValueFrom(returnValue, V8T::toScriptWrappableBase(object));
108 return DOMWrapperWorld::mainWorld().domDataStore().m_wrapperMap.setReturnValueFrom(returnValue, V8T::toScriptWrappableBase(object));
WindowProxy.cpp 34 #include "bindings/core/v8/DOMWrapperWorld.h"
78 PassOwnPtr<WindowProxy> WindowProxy::create(LocalFrame* frame, DOMWrapperWorld& world, v8::Isolate* isolate)
83 WindowProxy::WindowProxy(LocalFrame* frame, PassRefPtr<DOMWrapperWorld> world, v8::Isolate* isolate)
179 DOMWrapperWorld::setWorldOfInitializingWindow(m_world.get());
181 DOMWrapperWorld::setWorldOfInitializingWindow(0);
  /external/chromium_org/third_party/WebKit/Source/core/events/
ErrorEvent.h 34 #include "bindings/core/v8/DOMWrapperWorld.h"
57 static PassRefPtrWillBeRawPtr<ErrorEvent> create(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld* world)
65 static PassRefPtrWillBeRawPtr<ErrorEvent> createSanitizedError(DOMWrapperWorld* world)
82 DOMWrapperWorld* world() const { return m_world.get(); }
90 ErrorEvent(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld*);
99 RefPtr<DOMWrapperWorld> m_world;
EventListener.h 28 class DOMWrapperWorld;
ErrorEvent.cpp 52 , m_world(DOMWrapperWorld::current(v8::Isolate::GetCurrent()))
62 , m_world(DOMWrapperWorld::current(v8::Isolate::GetCurrent()))
66 ErrorEvent::ErrorEvent(const String& message, const String& fileName, unsigned lineNumber, unsigned columnNumber, DOMWrapperWorld* world)
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8HTMLDocumentCustom.cpp 61 v8::Local<v8::Context> context = toV8Context(frame.get(), DOMWrapperWorld::current(info.GetIsolate()));
V8CustomEventCustom.cpp 94 if (DOMWrapperWorld::current(info.GetIsolate()).isIsolatedWorld())
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorInspectorAgent.h 41 class DOMWrapperWorld;
InspectorController.h 44 class DOMWrapperWorld;

Completed in 1526 milliseconds

1 2 3 4