HomeSort by relevance Sort by last modified time
    Searched refs:webChannels (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/WebKit/Source/web/
WebDOMMessageEvent.cpp 48 void WebDOMMessageEvent::initMessageEvent(const WebString& type, bool canBubble, bool cancelable, const WebSerializedScriptValue& messageData, const WebString& origin, const WebFrame* sourceFrame, const WebString& lastEventId, const WebMessagePortChannelArray& webChannels)
56 if (!webChannels.isEmpty() && sourceFrame) {
57 OwnPtr<MessagePortChannelArray> channels = adoptPtr(new MessagePortChannelArray(webChannels.size()));
58 for (size_t i = 0; i < webChannels.size(); ++i)
59 (*channels)[i] = adoptPtr(webChannels[i]);
78 WebMessagePortChannelArray webChannels(channels ? channels->size() : 0);
81 webChannels[i] = (*channels)[i].leakPtr();
83 return webChannels;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MessagePort.cpp 90 blink::WebMessagePortChannelArray* webChannels = 0;
92 webChannels = new blink::WebMessagePortChannelArray(channels->size());
94 (*webChannels)[i] = (*channels)[i].leakPtr();
96 m_entangledChannel->postMessage(messageString, webChannels);
153 blink::WebMessagePortChannelArray webChannels;
154 if (!webChannel.tryGetMessage(&messageString, webChannels))
157 if (webChannels.size()) {
158 channels = adoptPtr(new MessagePortChannelArray(webChannels.size()));
159 for (size_t i = 0; i < webChannels.size(); ++i)
160 (*channels)[i] = adoptPtr(webChannels[i])
    [all...]

Completed in 822 milliseconds