Home
last modified time | relevance | path

Searched refs:messageBody (Results 1 – 24 of 24) sorted by relevance

/external/webkit/Source/WebKit2/UIProcess/
DWebContextInjectedBundleClient.cpp36 …veMessageFromInjectedBundle(WebContext* context, const String& messageName, APIObject* messageBody) in didReceiveMessageFromInjectedBundle() argument
41 …ageFromInjectedBundle(toAPI(context), toAPI(messageName.impl()), toAPI(messageBody), m_client.clie… in didReceiveMessageFromInjectedBundle()
44 …ectedBundle(WebContext* context, const String& messageName, APIObject* messageBody, RefPtr<APIObje… in didReceiveSynchronousMessageFromInjectedBundle() argument
50 …ageFromInjectedBundle(toAPI(context), toAPI(messageName.impl()), toAPI(messageBody), &returnDataRe… in didReceiveSynchronousMessageFromInjectedBundle()
DWebContext.cpp381 void WebContext::postMessageToInjectedBundle(const String& messageName, APIObject* messageBody) in postMessageToInjectedBundle() argument
384 m_pendingMessagesToPostToInjectedBundle.append(make_pair(messageName, messageBody)); in postMessageToInjectedBundle()
390 …undleMessage::PostMessage, 0, CoreIPC::In(messageName, WebContextUserMessageEncoder(messageBody))); in postMessageToInjectedBundle()
395 … WebContext::didReceiveMessageFromInjectedBundle(const String& messageName, APIObject* messageBody) in didReceiveMessageFromInjectedBundle() argument
397 m_injectedBundleClient.didReceiveMessageFromInjectedBundle(this, messageName, messageBody); in didReceiveMessageFromInjectedBundle()
400 …hronousMessageFromInjectedBundle(const String& messageName, APIObject* messageBody, RefPtr<APIObje… in didReceiveSynchronousMessageFromInjectedBundle() argument
402 …eClient.didReceiveSynchronousMessageFromInjectedBundle(this, messageName, messageBody, returnData); in didReceiveSynchronousMessageFromInjectedBundle()
630 RefPtr<APIObject> messageBody; in didReceiveMessage() local
631 WebContextUserMessageDecoder messageDecoder(messageBody, this); in didReceiveMessage()
635 didReceiveMessageFromInjectedBundle(messageName, messageBody.get()); in didReceiveMessage()
[all …]
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundle.cpp77 void InjectedBundle::postMessage(const String& messageName, APIObject* messageBody) in postMessage() argument
79 …yMessage::PostMessage, 0, CoreIPC::In(messageName, InjectedBundleUserMessageEncoder(messageBody))); in postMessage()
82 void InjectedBundle::postSynchronousMessage(const String& messageName, APIObject* messageBody, RefP… in postSynchronousMessage() argument
87 …sMessage, 0, CoreIPC::In(messageName, InjectedBundleUserMessageEncoder(messageBody)), CoreIPC::Out… in postSynchronousMessage()
301 void InjectedBundle::didReceiveMessage(const String& messageName, APIObject* messageBody) in didReceiveMessage() argument
303 m_client.didReceiveMessage(this, messageName, messageBody); in didReceiveMessage()
311 RefPtr<APIObject> messageBody; in didReceiveMessage() local
312 InjectedBundleUserMessageDecoder messageDecoder(messageBody); in didReceiveMessage()
316 didReceiveMessage(messageName, messageBody.get()); in didReceiveMessage()
DInjectedBundleClient.cpp57 …lient::didReceiveMessage(InjectedBundle* bundle, const String& messageName, APIObject* messageBody) in didReceiveMessage() argument
62 …m_client.didReceiveMessage(toAPI(bundle), toAPI(messageName.impl()), toAPI(messageBody), m_client.… in didReceiveMessage()
DInjectedBundleClient.h45 void didReceiveMessage(InjectedBundle*, const String& messageName, APIObject* messageBody);
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/
DInjectedBundle.cpp72 …dReceiveMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, const void *cl… in didReceiveMessage() argument
74 …_cast<InjectedBundle*>(const_cast<void*>(clientInfo))->didReceiveMessage(messageName, messageBody); in didReceiveMessage()
130 void InjectedBundle::didReceiveMessage(WKStringRef messageName, WKTypeRef messageBody) in didReceiveMessage() argument
133 ASSERT(messageBody); in didReceiveMessage()
134 ASSERT(WKGetTypeID(messageBody) == WKBooleanGetTypeID()); in didReceiveMessage()
135 m_dumpPixels = WKBooleanGetValue(static_cast<WKBooleanRef>(messageBody)); in didReceiveMessage()
DInjectedBundle.h82 …static void didReceiveMessage(WKBundleRef, WKStringRef messageName, WKTypeRef messageBody, const v…
87 void didReceiveMessage(WKStringRef messageName, WKTypeRef messageBody);
/external/webkit/Tools/WebKitTestRunner/
DTestController.h76 …ssageFromInjectedBundle(WKContextRef, WKStringRef messageName, WKTypeRef messageBody, const void*);
77 …ageFromInjectedBundle(WKContextRef, WKStringRef messageName, WKTypeRef messageBody, WKTypeRef* ret…
78 void didReceiveMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody);
79 …ef> didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody);
DTestController.cpp458 …njectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void* cl… in didReceiveMessageFromInjectedBundle() argument
460 …er*>(const_cast<void*>(clientInfo))->didReceiveMessageFromInjectedBundle(messageName, messageBody); in didReceiveMessageFromInjectedBundle()
463 …njectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, WKTypeRef* ret… in didReceiveSynchronousMessageFromInjectedBundle() argument
465 …>(clientInfo))->didReceiveSynchronousMessageFromInjectedBundle(messageName, messageBody).leakRef(); in didReceiveSynchronousMessageFromInjectedBundle()
468 …TestController::didReceiveMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody) in didReceiveMessageFromInjectedBundle() argument
472 m_currentInvocation->didReceiveMessageFromInjectedBundle(messageName, messageBody); in didReceiveMessageFromInjectedBundle()
475 …ler::didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody) in didReceiveSynchronousMessageFromInjectedBundle() argument
477 …turn m_currentInvocation->didReceiveSynchronousMessageFromInjectedBundle(messageName, messageBody); in didReceiveSynchronousMessageFromInjectedBundle()
DTestInvocation.cpp175 …TestInvocation::didReceiveMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody) in didReceiveMessageFromInjectedBundle() argument
187 ASSERT(WKGetTypeID(messageBody) == WKStringGetTypeID()); in didReceiveMessageFromInjectedBundle()
188 WKStringRef messageBodyString = static_cast<WKStringRef>(messageBody); in didReceiveMessageFromInjectedBundle()
199 ASSERT(WKGetTypeID(messageBody) == WKDictionaryGetTypeID()); in didReceiveMessageFromInjectedBundle()
200 WKDictionaryRef messageBodyDictionary = static_cast<WKDictionaryRef>(messageBody); in didReceiveMessageFromInjectedBundle()
DTestInvocation.h44 void didReceiveMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody);
45 …ef> didReceiveSynchronousMessageFromInjectedBundle(WKStringRef messageName, WKTypeRef messageBody);
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/API/c/
DWKBundle.h40 …eceiveMessageCallback)(WKBundleRef bundle, WKStringRef name, WKTypeRef messageBody, const void* cl…
56 …XPORT void WKBundlePostMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody);
57 …chronousMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, WKTypeRef* ret…
/external/webkit/Tools/MiniBrowser/mac/WebBundle/
DWebBundleMain.m50 WKStringRef messageBody = WKStringCreateWithCFString(CFSTR("Window was cleared"));
51 WKBundlePostMessage(globalBundle, messageName, messageBody);
53 WKRelease(messageBody);
75 void didRecieveMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, const vo…
79 WKTypeID typeID = WKGetTypeID(messageBody);
81 CFStringRef cfMessageBody = WKStringCopyCFString(0, (WKStringRef)messageBody);
/external/webkit/Source/WebKit2/Platform/CoreIPC/mac/
DConnectionMac.cpp280 uint8_t* messageBody = static_cast<uint8_t*>(messageBodyAttachment.address()); in createArgumentDecoder() local
286 argumentDecoder = new ArgumentDecoder(messageBody, messageBodySize); in createArgumentDecoder()
288 argumentDecoder = new ArgumentDecoder(messageBody, messageBodySize, attachments); in createArgumentDecoder()
295 uint8_t* messageBody = descriptorData; in createArgumentDecoder() local
298 return adoptPtr(new ArgumentDecoder(messageBody, messageBodySize, attachments)); in createArgumentDecoder()
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKContext.h43 …dBundleCallback)(WKContextRef page, WKStringRef messageName, WKTypeRef messageBody, const void *cl…
44 …dBundleCallback)(WKContextRef page, WKStringRef messageName, WKTypeRef messageBody, WKTypeRef* ret…
115 …tPostMessageToInjectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody);
/external/webkit/Tools/TestWebKitAPI/
DInjectedBundleController.cpp94 …dReceiveMessage(WKBundleRef bundle, WKStringRef messageName, WKTypeRef messageBody, const void* cl… in didReceiveMessage() argument
98 self->m_currentTest->didReceiveMessage(bundle, messageName, messageBody); in didReceiveMessage()
DInjectedBundleController.h58 …static void didReceiveMessage(WKBundleRef, WKStringRef messageName, WKTypeRef messageBody, const v…
DInjectedBundleTest.h42 virtual void didReceiveMessage(WKBundleRef, WKStringRef messageName, WKTypeRef messageBody) { } in didReceiveMessage() argument
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp257 unsigned char* messageBody = messageData; in readyReadHandler() local
260 messageBody = reinterpret_cast<unsigned char*>(oolMessageBody->data()); in readyReadHandler()
264 argumentDecoder = new ArgumentDecoder(messageBody, messageInfo.bodySize()); in readyReadHandler()
266 argumentDecoder = new ArgumentDecoder(messageBody, messageInfo.bodySize(), attachments); in readyReadHandler()
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/
DResponsivenessTimerDoesntFireEarly_Bundle.cpp37 virtual void didReceiveMessage(WKBundleRef, WKStringRef messageName, WKTypeRef messageBody);
DCanHandleRequest_Bundle.cpp38 virtual void didReceiveMessage(WKBundleRef, WKStringRef messageName, WKTypeRef messageBody);
DInjectedBundleBasic.cpp39 …njectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void* cl… in didReceiveMessageFromInjectedBundle() argument
DHitTestResultNodeHandle.cpp44 …njectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void* cl… in didReceiveMessageFromInjectedBundle() argument
/external/webkit/Tools/MiniBrowser/mac/
DAppDelegate.m39 …njectedBundle(WKContextRef context, WKStringRef messageName, WKTypeRef messageBody, const void *cl…
43 WKTypeID typeID = WKGetTypeID(messageBody);
45 CFStringRef cfMessageBody = WKStringCopyCFString(0, (WKStringRef)messageBody);