Home
last modified time | relevance | path

Searched refs:m_connection (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/Source/WebKit2/WebProcess/Plugins/
DPluginProxy.cpp88 ASSERT(!m_connection); in initialize()
89m_connection = PluginProcessConnectionManager::shared().getPluginProcessConnection(m_pluginPath); in initialize()
91 if (!m_connection) in initialize()
96 m_connection->addPluginProxy(this); in initialize()
102 …if (!m_connection->connection()->sendSync(Messages::WebProcessConnection::CreatePlugin(m_pluginIns… in initialize()
103 m_connection->removePluginProxy(this); in initialize()
117m_connection->connection()->sendSync(Messages::WebProcessConnection::DestroyPlugin(m_pluginInstanc… in destroy()
122 m_connection->removePluginProxy(this); in destroy()
131m_connection->connection()->sendSync(Messages::PluginControllerProxy::PaintEntirePlugin(), Message… in paint()
149m_connection->connection()->send(Messages::PluginControllerProxy::DidUpdate(), m_pluginInstanceID); in paint()
[all …]
DPluginProcessConnection.cpp59m_connection = CoreIPC::Connection::createClientConnection(connectionIdentifier, this, WebProcess:… in PluginProcessConnection()
61 m_connection->setDefaultSyncMessageTimeout(defaultSyncMessageTimeout(m_pluginPath)); in PluginProcessConnection()
62 m_npRemoteObjectMap = NPRemoteObjectMap::create(m_connection.get()); in PluginProcessConnection()
64 m_connection->open(); in PluginProcessConnection()
69 ASSERT(!m_connection); in ~PluginProcessConnection()
93 ASSERT(m_connection); in removePluginProxy()
94 m_connection->invalidate(); in removePluginProxy()
95 m_connection = nullptr; in removePluginProxy()
DPluginProcessConnection.h54 CoreIPC::Connection* connection() const { return m_connection.get(); } in connection()
75 RefPtr<CoreIPC::Connection> m_connection; variable
DPluginProxy.h124 RefPtr<PluginProcessConnection> m_connection; variable
/external/webkit/Source/WebKit2/PluginProcess/
DPluginControllerProxy.cpp55 : m_connection(connection) in PluginControllerProxy()
91 m_connection->removePluginControllerProxy(this, 0); in initialize()
103 m_connection->removePluginControllerProxy(this, plugin); in initialize()
133 m_connection->removePluginControllerProxy(this, plugin); in destroy()
159 m_connection->connection()->send(Messages::PluginProxy::Update(dirtyRect), m_pluginInstanceID); in paint()
204m_connection->connection()->send(Messages::PluginProxy::LoadURL(requestID, method, urlString, targ… in loadURL()
209m_connection->connection()->send(Messages::PluginProxy::CancelStreamLoad(streamID), m_pluginInstan… in cancelStreamLoad()
216m_connection->connection()->send(Messages::PluginProxy::CancelManualStreamLoad(), m_pluginInstance… in cancelManualStreamLoad()
224 …if (!m_connection->connection()->sendSync(Messages::PluginProxy::GetWindowScriptNPObject(), Messag… in windowScriptNPObject()
230 …m_windowNPObject = m_connection->npRemoteObjectMap()->createNPObjectProxy(windowScriptNPObjectID, … in windowScriptNPObject()
[all …]
DPluginProcess.cpp65 ASSERT(!m_connection); in initialize()
67 m_connection = CoreIPC::Connection::createClientConnection(serverIdentifier, this, runLoop); in initialize()
68 m_connection->setDidCloseOnConnectionWorkQueueCallback(didCloseOnConnectionWorkQueue); in initialize()
69 m_connection->open(); in initialize()
154 m_connection->send(Messages::PluginProcessProxy::DidCreateWebProcessConnection(clientPort), 0); in createWebProcessConnection()
179 m_connection->send(Messages::PluginProcessProxy::DidGetSitesWithData(sites, callbackID), 0); in getSitesWithData()
196 m_connection->send(Messages::PluginProcessProxy::DidClearSiteData(callbackID), 0); in clearSiteData()
DWebProcessConnection.cpp47 ASSERT(!m_connection); in ~WebProcessConnection()
52m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::ma… in WebProcessConnection()
53 m_npRemoteObjectMap = NPRemoteObjectMap::create(m_connection.get()); in WebProcessConnection()
55m_connection->setOnlySendMessagesAsDispatchWhenWaitingForSyncReplyWhenProcessingSuchAMessage(true); in WebProcessConnection()
56 m_connection->open(); in WebProcessConnection()
93 m_connection->invalidate(); in removePluginControllerProxy()
94 m_connection = nullptr; in removePluginControllerProxy()
DWebProcessConnection.h47 CoreIPC::Connection* connection() const { return m_connection.get(); } in connection()
71 RefPtr<CoreIPC::Connection> m_connection; variable
DPluginProcess.h86 RefPtr<CoreIPC::Connection> m_connection; variable
/external/webkit/Source/WebKit2/UIProcess/Plugins/
DPluginProcessProxy.cpp87m_connection->send(Messages::PluginProcess::CreateWebProcessConnection(), 0, CoreIPC::DispatchMess… in getPluginProcessConnection()
101 m_connection->send(Messages::PluginProcess::GetSitesWithData(callbackID), 0); in getSitesWithData()
120m_connection->send(Messages::PluginProcess::ClearSiteData(sites, flags, maxAgeInSeconds, callbackI… in clearSiteData()
181 ASSERT(!m_connection); in didFinishLaunching()
188m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::ma… in didFinishLaunching()
189 m_connection->open(); in didFinishLaunching()
198 m_connection->send(Messages::PluginProcess::InitializePluginProcess(parameters), 0); in didFinishLaunching()
202m_connection->send(Messages::PluginProcess::GetSitesWithData(m_pendingGetSitesRequests[i]), 0); in didFinishLaunching()
207m_connection->send(Messages::PluginProcess::ClearSiteData(request.sites, request.flags, request.ma… in didFinishLaunching()
212 m_connection->send(Messages::PluginProcess::CreateWebProcessConnection(), 0); in didFinishLaunching()
DPluginProcessProxy.h125 RefPtr<CoreIPC::Connection> m_connection; variable
/external/webkit/Source/WebKit2/UIProcess/
DWebProcessProxy.cpp75 if (m_connection) in ~WebProcessProxy()
76 m_connection->invalidate(); in ~WebProcessProxy()
114 if (m_connection) { in disconnect()
115 m_connection->invalidate(); in disconnect()
116 m_connection = nullptr; in disconnect()
141 if (!m_connection) in sendMessage()
144 return m_connection->sendMessage(messageID, arguments, messageSendFlags); in sendMessage()
302 m_connection->invalidate(); in didReceiveInvalidMessage()
339 ASSERT(!m_connection); in didFinishLaunching()
341m_connection = CoreIPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::ma… in didFinishLaunching()
[all …]
DWebProcessProxy.h70 ASSERT(m_connection); in connection()
72 return m_connection.get(); in connection()
88 bool isValid() const { return m_connection; } in isValid()
156 RefPtr<CoreIPC::Connection> m_connection; variable
190 return m_connection->sendSync(message, reply, destinationID, timeout); in sendSync()
/external/webkit/Source/WebKit/android/wds/
DCommand.cpp94 , m_connection(connection) {} in InternalCommand()
95 virtual ~InternalCommand() { delete m_connection; } in ~InternalCommand()
99 if (!m_dispatch(m_frame, m_connection)) in doCommand()
101 m_connection->write("EPIC FAIL!\n", 11); in doCommand()
106 const Connection* m_connection; member in android::WDS::InternalCommand
/external/webkit/Source/WebCore/platform/network/cf/
DResourceHandleCFNet.cpp303 if (m_connection) { in ~ResourceHandleInternal()
304 …LOG(Network, "CFNet - Cancelling connection %p (%s)", m_connection, m_firstRequest.url().string().… in ~ResourceHandleInternal()
305 CFURLConnectionCancel(m_connection.get()); in ~ResourceHandleInternal()
434 …d->m_connection.adoptCF(CFURLConnectionCreateWithProperties(0, request.get(), reinterpret_cast<CFU… in createCFURLConnection()
451 CFURLConnectionScheduleWithCurrentMessageQueue(d->m_connection.get()); in start()
452 …CFURLConnectionScheduleDownloadWithRunLoop(d->m_connection.get(), loaderRunLoop(), kCFRunLoopDefau… in start()
453 CFURLConnectionStart(d->m_connection.get()); in start()
455 … URL %s (handle=%p, conn=%p)", firstRequest().url().string().utf8().data(), this, d->m_connection); in start()
462 if (d->m_connection) { in cancel()
463 CFURLConnectionCancel(d->m_connection.get()); in cancel()
[all …]
/external/webkit/Source/WebKit2/WebProcess/
DWebProcess.cpp147 ASSERT(!m_connection); in initialize()
149 m_connection = CoreIPC::Connection::createClientConnection(serverIdentifier, this, runLoop); in initialize()
150 m_connection->setDidCloseOnConnectionWorkQueueCallback(didCloseOnConnectionWorkQueue); in initialize()
151 m_connection->setShouldExitOnSyncMessageSendFailure(true); in initialize()
153 m_connection->open(); in initialize()
311 m_connection->send(Messages::WebContext::AddVisitedLinkHash(linkHash), 0); in addVisitedLink()
534 …if (m_connection->sendSync(Messages::WebProcessProxy::ShouldTerminate(), Messages::WebProcessProxy… in shouldTerminate()
549 m_connection->invalidate(); in terminate()
550 m_connection = nullptr; in terminate()
690 if (!m_connection) in removeWebFrame()
[all …]
DWebProcess.h75 CoreIPC::Connection* connection() const { return m_connection.get(); } in connection()
184 RefPtr<CoreIPC::Connection> m_connection; variable
/external/webkit/Source/WebKit/android/wds/client/
DDevice.h45 : m_connection(conn) in Device()
57 const AdbConnection* m_connection;
DDevice.cpp30 return m_connection->sendRequest("host-serial:%s:%s", m_name, req); in sendRequest()
/external/webkit/Source/WebKit2/Shared/Plugins/
DNPRemoteObjectMap.h63 CoreIPC::Connection* connection() const { return m_connection; } in connection()
71 CoreIPC::Connection* m_connection; variable
/external/webkit/Source/WebCore/platform/network/
DResourceHandleInternal.h95 , m_connection(0) in ResourceHandleInternal()
157 RetainPtr<CFURLConnectionRef> m_connection; variable
159 RetainPtr<NSURLConnection> m_connection; variable
/external/webkit/Source/WebCore/page/
DNavigator.cpp177 if (!m_connection) in connection()
178 m_connection = Connection::create(); in connection()
179 return m_connection.get(); in connection()
DNavigator.h101 mutable RefPtr<Connection> m_connection; variable
/external/webkit/Source/WebCore/platform/network/mac/
DResourceHandleMac.mm278 …d->m_connection.adoptNS([[NSURLConnection alloc] _initWithRequest:nsRequest delegate:delegate uses…
282 …d->m_connection.adoptNS([[NSURLConnection alloc] initWithRequest:nsRequest delegate:delegate start…
289 …d->m_connection.adoptNS([[NSURLConnection alloc] initWithRequest:firstRequest().nsURLRequest() del…
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/WebKit2/PluginProcess/mac/
DPluginProcessMac.mm210m_connection->send(Messages::PluginProcessProxy::SetModalWindowIsShowing(modalWindowIsShowing), 0);
215m_connection->send(Messages::PluginProcessProxy::SetFullscreenWindowIsShowing(fullscreenWindowIsSh…

12