/external/chromium_org/third_party/WebKit/Source/core/dom/ |
D | MessagePort.cpp | 45 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 …]
|
D | MessagePort.h | 46 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;
|
D | MessageChannel.h | 38 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;
|
D | MessageChannel.cpp | 38 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()
|
D | MessageChannel.idl | 32 readonly attribute MessagePort port1; 33 readonly attribute MessagePort port2;
|
/external/chromium_org/content/browser/ |
D | message_port_service.cc | 12 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()
|
D | message_port_service.h | 67 struct MessagePort; 68 typedef std::map<int, MessagePort> MessagePorts;
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
D | ServiceWorkerClient.cpp | 29 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage() 34 …OwnPtr<WebMessagePortChannelArray> webChannels = MessagePort::toWebMessagePortChannelArray(channel… in postMessage()
|
D | ServiceWorker.cpp | 86 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/ |
D | message_service.h | 72 class MessagePort { 74 virtual ~MessagePort() {} in ~MessagePort() 102 MessagePort() {} in MessagePort() function 105 DISALLOW_COPY_AND_ASSIGN(MessagePort);
|
D | message_service.cc | 75 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()
|
D | native_message_port.h | 14 class NativeMessagePort : public MessageService::MessagePort {
|
D | extension_message_port.h | 19 class ExtensionMessagePort : public MessageService::MessagePort {
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
D | SharedWorker.h | 50 MessagePort* port() const { return m_port.get(); } in port() 63 RefPtrWillBeMember<MessagePort> m_port;
|
D | SharedWorkerGlobalScope.cpp | 45 PassRefPtrWillBeRawPtr<MessageEvent> createConnectEvent(PassRefPtrWillBeRawPtr<MessagePort> prpPort) in createConnectEvent() 47 RefPtrWillBeRawPtr<MessagePort> port = prpPort; in createConnectEvent()
|
D | SharedWorkerGlobalScope.h | 71 PassRefPtrWillBeRawPtr<MessageEvent> createConnectEvent(PassRefPtrWillBeRawPtr<MessagePort>);
|
D | WorkerMessagingProxy.cpp | 77 …OwnPtrWillBeRawPtr<MessagePortArray> ports = MessagePort::entanglePorts(*scriptContext, m_channels… in performTask() 134 …OwnPtrWillBeRawPtr<MessagePortArray> ports = MessagePort::entanglePorts(*m_executionContext.get(),… in postMessageToWorkerObject()
|
D | DedicatedWorkerGlobalScope.cpp | 68 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
|
D | Worker.cpp | 96 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, exceptionState); in postMessage()
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
D | MessageEvent.idl | 35 …izedByEventConstructor] readonly attribute EventTarget? source; // May be a Window or a MessagePort 37 [InitializedByEventConstructor] readonly attribute MessagePort[] ports; 45 [Default=Undefined] optional MessagePort[] messagePorts);
|
D | EventTargetFactory.in | 6 core/dom/MessagePort
|
D | EventTarget.h | 45 class MessagePort; variable 111 virtual MessagePort* toMessagePort();
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
D | SerializedScriptValue.h | 50 class MessagePort; variable 53 typedef WillBeHeapVector<RefPtrWillBeMember<MessagePort>, 1> MessagePortArray;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebDOMMessageEvent.cpp | 55 ports = MessagePort::toMessagePortArray(window->document(), webChannels); in initMessageEvent()
|
D | WebSharedWorkerImpl.cpp | 331 RefPtrWillBeRawPtr<MessagePort> port = MessagePort::create(*context); in connectTask()
|