Home
last modified time | relevance | path

Searched refs:MessagePort (Results 1 – 25 of 122) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/core/dom/
DMessagePort.cpp45 PassRefPtrWillBeRawPtr<MessagePort> MessagePort::create(ExecutionContext& executionContext) in create()
47 RefPtrWillBeRawPtr<MessagePort> port = adoptRefWillBeNoop(new MessagePort(executionContext)); in create()
52 MessagePort::MessagePort(ExecutionContext& executionContext) in MessagePort() function in blink::MessagePort
60 MessagePort::~MessagePort() in ~MessagePort()
65 void MessagePort::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const M… in postMessage()
76 MessagePort* dataPort = (*ports)[i].get(); in postMessage()
82 channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
93 PassOwnPtr<WebMessagePortChannelArray> MessagePort::toWebMessagePortChannelArray(PassOwnPtr<Message… in toWebMessagePortChannelArray()
105 PassOwnPtrWillBeRawPtr<MessagePortArray> MessagePort::toMessagePortArray(ExecutionContext* context,… in toMessagePortArray()
112 ports = MessagePort::entanglePorts(*context, channels.release()); in toMessagePortArray()
[all …]
DMessagePort.h46 class MessagePort; variable
51 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
56 class MessagePort FINAL : public RefCountedWillBeGarbageCollectedFinalized<MessagePort>
61 REFCOUNTED_EVENT_TARGET(MessagePort);
62 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MessagePort);
64 static PassRefPtrWillBeRawPtr<MessagePort> create(ExecutionContext&);
65 virtual ~MessagePort();
88 virtual MessagePort* toMessagePort() OVERRIDE { return this; } in toMessagePort()
108 explicit MessagePort(ExecutionContext&);
119 WeakPtrFactory<MessagePort> m_weakFactory;
DMessageChannel.h38 class MessagePort; variable
50 MessagePort* port1() const { return m_port1.get(); } in port1()
51 MessagePort* port2() const { return m_port2.get(); } in port2()
58 RefPtrWillBeMember<MessagePort> m_port1;
59 RefPtrWillBeMember<MessagePort> m_port2;
DMessageChannel.cpp38 static void createChannel(MessagePort* port1, MessagePort* port2) in createChannel()
51 : m_port1(MessagePort::create(*context)) in MessageChannel()
52 , m_port2(MessagePort::create(*context)) in MessageChannel()
DMessageChannel.idl32 readonly attribute MessagePort port1;
33 readonly attribute MessagePort port2;
/external/chromium_org/content/browser/
Dmessage_port_service.cc12 struct MessagePortService::MessagePort { struct in content::MessagePortService
54 MessagePort& port = message_ports_[message_port_id]; in UpdateMessagePort()
76 MessagePort port; in Create()
146 MessagePort& entangled_port = message_ports_[message_port_id]; in PostMessageTo()
148 std::vector<MessagePort*> sent_ports(sent_message_port_ids.size()); in PostMessageTo()
187 MessagePort& port = message_ports_[message_port_id]; in QueueMessages()
205 MessagePort& port = message_ports_[message_port_id]; in SendQueuedMessages()
219 MessagePort& port = message_ports_[message_port_id]; in SendQueuedMessagesIfPossible()
Dmessage_port_service.h67 struct MessagePort;
68 typedef std::map<int, MessagePort> MessagePorts;
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DServiceWorkerClient.cpp29 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
34 …OwnPtr<WebMessagePortChannelArray> webChannels = MessagePort::toWebMessagePortChannelArray(channel… in postMessage()
DServiceWorker.cpp86 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
95 …OwnPtr<WebMessagePortChannelArray> webChannels = MessagePort::toWebMessagePortChannelArray(channel… in postMessage()
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dmessage_service.h72 class MessagePort {
74 virtual ~MessagePort() {} in ~MessagePort()
102 MessagePort() {} in MessagePort() function
105 DISALLOW_COPY_AND_ASSIGN(MessagePort);
Dmessage_service.cc75 scoped_ptr<MessagePort> opener;
76 scoped_ptr<MessagePort> receiver;
82 scoped_ptr<MessagePort> receiver;
94 MessagePort* receiver, in OpenChannelParams()
134 MessageService::MessagePort::GetRenderProcessHost() { in GetRenderProcessHost()
288 MessagePort* receiver = new ExtensionMessagePort( in OpenChannelToExtension()
430 scoped_ptr<MessagePort> receiver; in OpenChannelToTab()
538 MessagePort* port = IS_OPENER_PORT_ID(closing_port_id) ? in CloseChannelImpl()
649 MessagePort* port = IS_OPENER_PORT_ID(dest_port_id) ? in DispatchMessage()
Dnative_message_port.h14 class NativeMessagePort : public MessageService::MessagePort {
Dextension_message_port.h19 class ExtensionMessagePort : public MessageService::MessagePort {
/external/chromium_org/third_party/WebKit/Source/core/workers/
DSharedWorker.h50 MessagePort* port() const { return m_port.get(); } in port()
63 RefPtrWillBeMember<MessagePort> m_port;
DSharedWorkerGlobalScope.cpp45 PassRefPtrWillBeRawPtr<MessageEvent> createConnectEvent(PassRefPtrWillBeRawPtr<MessagePort> prpPort) in createConnectEvent()
47 RefPtrWillBeRawPtr<MessagePort> port = prpPort; in createConnectEvent()
DSharedWorkerGlobalScope.h71 PassRefPtrWillBeRawPtr<MessageEvent> createConnectEvent(PassRefPtrWillBeRawPtr<MessagePort>);
DWorkerMessagingProxy.cpp77 …OwnPtrWillBeRawPtr<MessagePortArray> ports = MessagePort::entanglePorts(*scriptContext, m_channels… in performTask()
134 …OwnPtrWillBeRawPtr<MessagePortArray> ports = MessagePort::entanglePorts(*m_executionContext.get(),… in postMessageToWorkerObject()
DDedicatedWorkerGlobalScope.cpp68 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
DWorker.cpp96 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
/external/chromium_org/third_party/WebKit/Source/core/events/
DMessageEvent.idl35 …izedByEventConstructor] readonly attribute EventTarget? source; // May be a Window or a MessagePort
37 [InitializedByEventConstructor] readonly attribute MessagePort[] ports;
45 [Default=Undefined] optional MessagePort[] messagePorts);
DEventTargetFactory.in6 core/dom/MessagePort
DEventTarget.h45 class MessagePort; variable
111 virtual MessagePort* toMessagePort();
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DSerializedScriptValue.h50 class MessagePort; variable
53 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
/external/chromium_org/third_party/WebKit/Source/web/
DWebDOMMessageEvent.cpp55 ports = MessagePort::toMessagePortArray(window->document(), webChannels); in initMessageEvent()
DWebSharedWorkerImpl.cpp331 RefPtrWillBeRawPtr<MessagePort> port = MessagePort::create(*context); in connectTask()

12345