/external/webkit/Source/WebKit2/WebProcess/Plugins/ |
PluginProxy.cpp | 88 ASSERT(!m_connection); 89 m_connection = PluginProcessConnectionManager::shared().getPluginProcessConnection(m_pluginPath); 91 if (!m_connection) 96 m_connection->addPluginProxy(this); 102 if (!m_connection->connection()->sendSync(Messages::WebProcessConnection::CreatePlugin(m_pluginInstanceID, parameters, pluginController->userAgent(), pluginController->isPrivateBrowsingEnabled(), pluginController->isAcceleratedCompositingEnabled()), Messages::WebProcessConnection::CreatePlugin::Reply(result, remoteLayerClientID), 0) || !result) { 103 m_connection->removePluginProxy(this); 117 m_connection->connection()->sendSync(Messages::WebProcessConnection::DestroyPlugin(m_pluginInstanceID), Messages::WebProcessConnection::DestroyPlugin::Reply(), 0); 122 m_connection->removePluginProxy(this); 131 m_connection->connection()->sendSync(Messages::PluginControllerProxy::PaintEntirePlugin(), Messages::PluginControllerProxy::PaintEntirePlugin::Reply(), m_pluginInstanceID); 149 m_connection->connection()->send(Messages::PluginControllerProxy::DidUpdate(), m_pluginInstanceID) [all...] |
PluginProcessConnection.cpp | 59 m_connection = CoreIPC::Connection::createClientConnection(connectionIdentifier, this, WebProcess::shared().runLoop()); 61 m_connection->setDefaultSyncMessageTimeout(defaultSyncMessageTimeout(m_pluginPath)); 62 m_npRemoteObjectMap = NPRemoteObjectMap::create(m_connection.get()); 64 m_connection->open(); 69 ASSERT(!m_connection); 93 ASSERT(m_connection); 94 m_connection->invalidate(); 95 m_connection = nullptr;
|
PluginProcessConnection.h | 54 CoreIPC::Connection* connection() const { return m_connection.get(); } 75 RefPtr<CoreIPC::Connection> m_connection; member in class:WebKit::PluginProcessConnection
|
/external/webkit/Source/WebKit2/UIProcess/ |
WebProcessProxy.cpp | 75 if (m_connection) 76 m_connection->invalidate(); 114 if (m_connection) { 115 m_connection->invalidate(); 116 m_connection = nullptr; 140 // If the web process has exited, m_connection will be null here. 141 if (!m_connection) 144 return m_connection->sendMessage(messageID, arguments, messageSendFlags); 302 m_connection->invalidate(); 339 ASSERT(!m_connection); [all...] |
WebProcessProxy.h | 70 ASSERT(m_connection); 72 return m_connection.get(); 88 bool isValid() const { return m_connection; } 156 RefPtr<CoreIPC::Connection> m_connection; member in class:WebKit::WebProcessProxy 190 return m_connection->sendSync(message, reply, destinationID, timeout);
|
/external/webkit/Source/WebKit2/PluginProcess/ |
PluginControllerProxy.cpp | 55 : m_connection(connection) 91 m_connection->removePluginControllerProxy(this, 0); 103 m_connection->removePluginControllerProxy(this, plugin); 133 m_connection->removePluginControllerProxy(this, plugin); 159 m_connection->connection()->send(Messages::PluginProxy::Update(dirtyRect), m_pluginInstanceID); 204 m_connection->connection()->send(Messages::PluginProxy::LoadURL(requestID, method, urlString, target, headerFields, httpBody, allowPopups), m_pluginInstanceID); 209 m_connection->connection()->send(Messages::PluginProxy::CancelStreamLoad(streamID), m_pluginInstanceID); 216 m_connection->connection()->send(Messages::PluginProxy::CancelManualStreamLoad(), m_pluginInstanceID); 224 if (!m_connection->connection()->sendSync(Messages::PluginProxy::GetWindowScriptNPObject(), Messages::PluginProxy::GetWindowScriptNPObject::Reply(windowScriptNPObjectID), m_pluginInstanceID)) 230 m_windowNPObject = m_connection->npRemoteObjectMap()->createNPObjectProxy(windowScriptNPObjectID, m_plugin.get()) [all...] |
PluginProcess.cpp | 65 ASSERT(!m_connection); 67 m_connection = CoreIPC::Connection::createClientConnection(serverIdentifier, this, runLoop); 68 m_connection->setDidCloseOnConnectionWorkQueueCallback(didCloseOnConnectionWorkQueue); 69 m_connection->open(); 154 m_connection->send(Messages::PluginProcessProxy::DidCreateWebProcessConnection(clientPort), 0); 179 m_connection->send(Messages::PluginProcessProxy::DidGetSitesWithData(sites, callbackID), 0); 196 m_connection->send(Messages::PluginProcessProxy::DidClearSiteData(callbackID), 0);
|
WebProcessConnection.cpp | 47 ASSERT(!m_connection); 52 m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::main()); 53 m_npRemoteObjectMap = NPRemoteObjectMap::create(m_connection.get()); 55 m_connection->setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage(true); 56 m_connection->open(); 93 m_connection->invalidate(); 94 m_connection = nullptr;
|
WebProcessConnection.h | 47 CoreIPC::Connection* connection() const { return m_connection.get(); } 71 RefPtr<CoreIPC::Connection> m_connection; member in class:WebKit::WebProcessConnection
|
PluginProcess.h | 86 RefPtr<CoreIPC::Connection> m_connection; member in class:WebKit::PluginProcess
|
/external/webkit/Source/WebKit2/UIProcess/Plugins/ |
PluginProcessProxy.cpp | 87 m_connection->send(Messages::PluginProcess::CreateWebProcessConnection(), 0, CoreIPC::DispatchMessageEvenWhenWaitingForSyncReply); 101 m_connection->send(Messages::PluginProcess::GetSitesWithData(callbackID), 0); 120 m_connection->send(Messages::PluginProcess::ClearSiteData(sites, flags, maxAgeInSeconds, callbackID), 0); 181 ASSERT(!m_connection); 188 m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::main()); 189 m_connection->open(); 198 m_connection->send(Messages::PluginProcess::InitializePluginProcess(parameters), 0); 202 m_connection->send(Messages::PluginProcess::GetSitesWithData(m_pendingGetSitesRequests[i]), 0); 207 m_connection->send(Messages::PluginProcess::ClearSiteData(request.sites, request.flags, request.maxAgeInSeconds, request.callbackID), 0); 212 m_connection->send(Messages::PluginProcess::CreateWebProcessConnection(), 0) [all...] |
/external/webkit/Source/WebKit/android/wds/client/ |
Device.h | 45 : m_connection(conn) 57 const AdbConnection* m_connection; member in class:Device
|
Device.cpp | 30 return m_connection->sendRequest("host-serial:%s:%s", m_name, req);
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceHandleCFNet.cpp | 303 if (m_connection) { 304 LOG(Network, "CFNet - Cancelling connection %p (%s)", m_connection, m_firstRequest.url().string().utf8().data()); 305 CFURLConnectionCancel(m_connection.get()); 434 d->m_connection.adoptCF(CFURLConnectionCreateWithProperties(0, request.get(), reinterpret_cast<CFURLConnectionClient*>(&client), connectionProperties.get())); 451 CFURLConnectionScheduleWithCurrentMessageQueue(d->m_connection.get()); 452 CFURLConnectionScheduleDownloadWithRunLoop(d->m_connection.get(), loaderRunLoop(), kCFRunLoopDefaultMode); 453 CFURLConnectionStart(d->m_connection.get()); 455 LOG(Network, "CFNet - Starting URL %s (handle=%p, conn=%p)", firstRequest().url().string().utf8().data(), this, d->m_connection); 462 if (d->m_connection) { 463 CFURLConnectionCancel(d->m_connection.get()) [all...] |
/external/webkit/Source/WebKit/android/wds/ |
Command.cpp | 94 , m_connection(connection) {} 95 virtual ~InternalCommand() { delete m_connection; } 99 if (!m_dispatch(m_frame, m_connection)) 101 m_connection->write("EPIC FAIL!\n", 11); 106 const Connection* m_connection; member in class:android::WDS::InternalCommand
|
/external/webkit/Source/WebKit2/Shared/Plugins/ |
NPRemoteObjectMap.h | 63 CoreIPC::Connection* connection() const { return m_connection; } 71 CoreIPC::Connection* m_connection; member in class:WebKit::NPRemoteObjectMap
|
/external/webkit/Source/WebKit2/WebProcess/ |
WebProcess.cpp | 147 ASSERT(!m_connection); 149 m_connection = CoreIPC::Connection::createClientConnection(serverIdentifier, this, runLoop); 150 m_connection->setDidCloseOnConnectionWorkQueueCallback(didCloseOnConnectionWorkQueue); 151 m_connection->setShouldExitOnSyncMessageSendFailure(true); 153 m_connection->open(); 311 m_connection->send(Messages::WebContext::AddVisitedLinkHash(linkHash), 0); 534 if (m_connection->sendSync(Messages::WebProcessProxy::ShouldTerminate(), Messages::WebProcessProxy::ShouldTerminate::Reply(shouldTerminate), 0) 549 m_connection->invalidate(); 550 m_connection = nullptr; 690 if (!m_connection) [all...] |
WebProcess.h | 75 CoreIPC::Connection* connection() const { return m_connection.get(); } 184 RefPtr<CoreIPC::Connection> m_connection; member in class:WebKit::WebProcess
|
/external/webkit/Source/WebCore/platform/network/ |
ResourceHandleInternal.h | 95 , m_connection(0) 157 RetainPtr<CFURLConnectionRef> m_connection; member in class:WebCore::ResourceHandleInternal 159 RetainPtr<NSURLConnection> m_connection; member in class:WebCore::ResourceHandleInternal
|
/external/webkit/Source/WebKit2/Scripts/webkit2/ |
messages_unittest.py | 418 RefPtr<CoreIPC::Connection> m_connection; 439 RefPtr<CoreIPC::Connection> m_connection; 541 : m_connection(connection) 548 ASSERT(!m_connection); 555 bool result = m_connection->sendSyncReply(m_arguments.release()); 556 m_connection = nullptr; 561 : m_connection(connection) 568 ASSERT(!m_connection); 574 bool result = m_connection->sendSyncReply(m_arguments.release()); 575 m_connection = nullptr [all...] |
messages.py | 236 result.append(' RefPtr<CoreIPC::Connection> m_connection;\n') 547 result.append(' : m_connection(connection)\n') 554 result.append(' ASSERT(!m_connection);\n') 561 result.append(' bool result = m_connection->sendSyncReply(m_arguments.release());\n') 562 result.append(' m_connection = nullptr;\n')
|
/external/webkit/Source/WebCore/platform/network/mac/ |
ResourceHandleMac.mm | 278 d->m_connection.adoptNS([[NSURLConnection alloc] _initWithRequest:nsRequest delegate:delegate usesCache:YES maxContentLength:0 startImmediately:NO connectionProperties:propertyDictionary]); 282 d->m_connection.adoptNS([[NSURLConnection alloc] initWithRequest:nsRequest delegate:delegate startImmediately:NO]); 289 d->m_connection.adoptNS([[NSURLConnection alloc] initWithRequest:firstRequest().nsURLRequest() delegate:delegate]); 358 if (d->m_connection) { 372 LOG(Network, "Handle %p cancel connection %p", this, d->m_connection.get()); 380 [d->m_connection.get() cancel]; 385 if (d->m_connection) 386 wkSetNSURLConnectionDefersCallbacks(d->m_connection.get(), defers); 395 [d->m_connection.get() scheduleInRunLoop:runLoop forMode:(NSString *)pair->mode()]; 397 [d->m_connection.get() start] [all...] |
/external/webkit/Source/WebCore/page/ |
Navigator.cpp | 177 if (!m_connection) 178 m_connection = Connection::create(); 179 return m_connection.get();
|
Navigator.h | 101 mutable RefPtr<Connection> m_connection; member in class:WebCore::Navigator
|
/external/webkit/Source/WebKit2/PluginProcess/mac/ |
PluginProcessMac.mm | 210 m_connection->send(Messages::PluginProcessProxy::SetModalWindowIsShowing(modalWindowIsShowing), 0); 215 m_connection->send(Messages::PluginProcessProxy::SetFullscreenWindowIsShowing(fullscreenWindowIsShowing), 0);
|