/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | DOMWrapperWorld.cpp | 51 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::create(int worldId, int extensionGroup) in create() argument 53 return adoptRef(new DOMWrapperWorld(worldId, extensionGroup)); in create() 56 DOMWrapperWorld::DOMWrapperWorld(int worldId, int extensionGroup) in DOMWrapperWorld() argument 57 : m_worldId(worldId) in DOMWrapperWorld() 126 static bool isIsolatedWorldId(int worldId) in isIsolatedWorldId() argument 128 return MainWorldId < worldId && worldId < IsolatedWorldIdLimit; in isIsolatedWorldId() 132 PassRefPtr<DOMWrapperWorld> DOMWrapperWorld::ensureIsolatedWorld(int worldId, int extensionGroup) in ensureIsolatedWorld() argument 134 ASSERT(isIsolatedWorldId(worldId)); in ensureIsolatedWorld() 137 WorldMap::AddResult result = map.add(worldId, 0); in ensureIsolatedWorld() 140 ASSERT(world->worldId() == worldId); in ensureIsolatedWorld() [all …]
|
D | V8DOMActivityLogger.cpp | 33 void V8DOMActivityLogger::setActivityLogger(int worldId, const String& extensionId, PassOwnPtr<V8DO… in setActivityLogger() argument 35 if (worldId) in setActivityLogger() 36 domActivityLoggersForIsolatedWorld().set(worldId, logger); in setActivityLogger() 41 V8DOMActivityLogger* V8DOMActivityLogger::activityLogger(int worldId, const String& extensionId) in activityLogger() argument 43 if (worldId) { in activityLogger() 45 DOMActivityLoggerMapForIsolatedWorld::iterator it = loggers.find(worldId); in activityLogger() 57 V8DOMActivityLogger* V8DOMActivityLogger::activityLogger(int worldId, const KURL& url) in activityLogger() argument 60 if (worldId) in activityLogger() 61 return activityLogger(worldId, String()); in activityLogger() 69 return activityLogger(worldId, url.host()); in activityLogger()
|
D | DOMWrapperWorld.h | 63 static PassRefPtr<DOMWrapperWorld> create(int worldId = -1, int extensionGroup = -1); 67 static PassRefPtr<DOMWrapperWorld> ensureIsolatedWorld(int worldId, int extensionGroup); 100 static void setIsolatedWorldSecurityOrigin(int worldId, PassRefPtr<SecurityOrigin>); 111 static void setIsolatedWorldContentSecurityPolicy(int worldId, const String& policy); 119 int worldId() const { return m_worldId; } in worldId() function 179 DOMWrapperWorld(int worldId, int extensionGroup);
|
D | V8DOMActivityLogger.h | 62 static void setActivityLogger(int worldId, const String&, PassOwnPtr<V8DOMActivityLogger>); 63 static V8DOMActivityLogger* activityLogger(int worldId, const String& extensionId); 64 static V8DOMActivityLogger* activityLogger(int worldId, const KURL&);
|
D | WindowProxy.cpp | 97 m_frame->loader().client()->willReleaseScriptContext(context, m_world->worldId()); in disposeContext() 231 …>loader().client()->didCreateScriptContext(context, m_world->extensionGroup(), m_world->worldId()); in initialize() 255 int worldId = m_world->worldId(); in createContext() local 257 …(!m_frame->loader().client()->allowScriptExtension(extensions[i]->name(), extensionGroup, worldId)) in createContext() 365 m_world->worldId(), m_frame->document() ? m_frame->document()->baseURI() : KURL())); in updateActivityLogger()
|
D | ScriptController.cpp | 218 IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(world.worldId()); in existingWindowProxy() 230 IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(world.worldId()); in windowProxy() 236 m_isolatedWorlds.set(world.worldId(), isolatedWorldWindowProxy.release()); in windowProxy() 456 void ScriptController::setWorldDebugId(int worldId, int debuggerId) in setWorldDebugId() argument 459 bool isMainWorld = worldId == MainWorldId; in setWorldDebugId() 464 IsolatedWorldMap::iterator iter = m_isolatedWorlds.find(worldId); in setWorldDebugId()
|
D | ScriptController.h | 148 void setWorldDebugId(int worldId, int debuggerId);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebDOMActivityLogger.cpp | 91 bool hasDOMActivityLogger(int worldId, const WebString& extensionId) in hasDOMActivityLogger() argument 93 return V8DOMActivityLogger::activityLogger(worldId, extensionId); in hasDOMActivityLogger() 96 void setDOMActivityLogger(int worldId, const WebString& extensionId, WebDOMActivityLogger* logger) in setDOMActivityLogger() argument 99 …V8DOMActivityLogger::setActivityLogger(worldId, extensionId, adoptPtr(new DOMActivityLoggerContain… in setDOMActivityLogger()
|
D | FrameLoaderClientImpl.cpp | 135 …lientImpl::didCreateScriptContext(v8::Handle<v8::Context> context, int extensionGroup, int worldId) in didCreateScriptContext() argument 139 webview->devToolsAgentPrivate()->didCreateScriptContext(m_webFrame, worldId); in didCreateScriptContext() 141 m_webFrame->client()->didCreateScriptContext(m_webFrame, context, extensionGroup, worldId); in didCreateScriptContext() 144 void FrameLoaderClientImpl::willReleaseScriptContext(v8::Handle<v8::Context> context, int worldId) in willReleaseScriptContext() argument 147 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worldId); in willReleaseScriptContext() 152 int worldId) in allowScriptExtension() argument 155 …eturn m_webFrame->permissionClient()->allowScriptExtension(extensionName, extensionGroup, worldId); in allowScriptExtension()
|
D | FrameLoaderClientImpl.h | 62 …virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGroup, int worldId) OVER… 63 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE; 67 …virtual bool allowScriptExtension(const String& extensionName, int extensionGroup, int worldId) OV…
|
D | WebDevToolsAgentPrivate.h | 50 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) = 0;
|
D | WebDevToolsAgentImpl.cpp | 299 void WebDevToolsAgentImpl::didCreateScriptContext(WebLocalFrameImpl* webframe, int worldId) in didCreateScriptContext() argument 302 frame->script().setWorldDebugId(worldId, m_debuggerId); in didCreateScriptContext() 304 if (worldId) in didCreateScriptContext()
|
D | WebDevToolsAgentImpl.h | 80 virtual void didCreateScriptContext(WebLocalFrameImpl*, int worldId) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebDOMActivityLogger.h | 54 BLINK_EXPORT bool hasDOMActivityLogger(int worldId, const WebString& extensionId); 60 BLINK_EXPORT void setDOMActivityLogger(int worldId, const WebString& extensionId, WebDOMActivityLog…
|
D | WebPermissionClient.h | 85 … virtual bool allowScriptExtension(const WebString& extensionName, int extensionGroup, int worldId) in allowScriptExtension() argument
|
D | WebFrameClient.h | 436 …idCreateScriptContext(WebLocalFrame*, v8::Handle<v8::Context>, int extensionGroup, int worldId) { } in didCreateScriptContext() argument 439 virtual void willReleaseScriptContext(WebLocalFrame*, v8::Handle<v8::Context>, int worldId) { } in willReleaseScriptContext() argument
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | FrameLoaderClient.h | 162 … virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGroup, int worldId) = 0; 163 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) = 0; 164 …irtual bool allowScriptExtension(const String& extensionName, int extensionGroup, int worldId) = 0;
|
D | EmptyClients.h | 239 …virtual void didCreateScriptContext(v8::Handle<v8::Context>, int extensionGroup, int worldId) OVER… in didCreateScriptContext() argument 240 virtual void willReleaseScriptContext(v8::Handle<v8::Context>, int worldId) OVERRIDE { } in willReleaseScriptContext() argument 241 …virtual bool allowScriptExtension(const String& extensionName, int extensionGroup, int worldId) OV… in allowScriptExtension() argument
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WebFrameTest.cpp | 2810 Notification(WebLocalFrame* frame, v8::Handle<v8::Context> context, int worldId) in Notification() 2813 , worldId(worldId) in Notification() 2824 … return other && frame == other->frame && context == other->context && worldId == other->worldId; in Equals() 2829 int worldId; member 2853 …xt(WebLocalFrame* frame, v8::Handle<v8::Context> context, int extensionGroup, int worldId) OVERRIDE in didCreateScriptContext() argument 2855 createNotifications.push_back(new Notification(frame, context, worldId)); in didCreateScriptContext() 2858 …llReleaseScriptContext(WebLocalFrame* frame, v8::Handle<v8::Context> context, int worldId) OVERRIDE in willReleaseScriptContext() argument 2860 releaseNotifications.push_back(new Notification(frame, context, worldId)); in willReleaseScriptContext() 2888 EXPECT_EQ(0, firstCreateNotification->worldId); in TEST_F() 2892 EXPECT_EQ(0, secondCreateNotification->worldId); in TEST_F() [all …]
|