/external/webkit/Source/WebCore/dom/ |
MessageChannel.idl | 37 readonly attribute MessagePort port1; 38 readonly attribute MessagePort port2;
|
MessagePort.cpp | 28 #include "MessagePort.h" 42 MessagePort::MessagePort(ScriptExecutionContext& scriptExecutionContext) 53 MessagePort::~MessagePort() 61 void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort* port, ExceptionCode& ec) 69 void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, ExceptionCode& ec) 74 void MessagePort::postMessage(PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionCode& ec) 84 MessagePort* dataPort = (*ports)[i].get() [all...] |
MessageChannel.h | 36 class MessagePort; 44 MessagePort* port1() const { return m_port1.get(); } 45 MessagePort* port2() const { return m_port2.get(); } 50 RefPtr<MessagePort> m_port1; 51 RefPtr<MessagePort> m_port2;
|
MessagePort.h | 45 class MessagePort; 49 typedef Vector<RefPtr<MessagePort>, 1> MessagePortArray; 51 class MessagePort : public RefCounted<MessagePort>, public EventTarget { 53 static PassRefPtr<MessagePort> create(ScriptExecutionContext& scriptExecutionContext) { return adoptRef(new MessagePort(scriptExecutionContext)); } 54 ~MessagePort(); 59 void postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort*, ExceptionCode&); 83 virtual MessagePort* toMessagePort() { return this; } 87 using RefCounted<MessagePort>::ref [all...] |
MessageChannel.cpp | 30 #include "MessagePort.h" 36 : m_port1(MessagePort::create(*context)) 37 , m_port2(MessagePort::create(*context))
|
MessagePortChannel.h | 47 class MessagePort; 61 static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>); 68 bool entangleIfOpen(MessagePort*); 76 // Used by MessagePort.postMessage() to prevent callers from passing a port's own entangled port. 77 bool isConnectedTo(MessagePort*); 102 // Returns the entangled port if run by the same thread (see MessagePort::locallyEntangledPort() for more details). 103 MessagePort* locallyEntangledPort(const ScriptExecutionContext*);
|
MessageEvent.idl | 43 readonly attribute MessagePort messagePort; 45 void initMessageEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in SerializedScriptValue dataArg, in DOMString originArg, in DOMString lastEventIdArg, in DOMWindow sourceArg, in MessagePort messagePort);
|
MessageEvent.cpp | 70 MessagePort* MessageEvent::messagePort() 78 void MessageEvent::initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, MessagePort* port)
|
MessageEvent.h | 33 #include "MessagePort.h" 61 MessagePort* messagePort(); 63 void initMessageEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, DOMWindow* source, MessagePort*);
|
MessagePort.idl | 33 ] MessagePort { 34 // We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
|
/external/webkit/Source/WebKit/chromium/src/ |
PlatformMessagePortChannel.h | 46 class MessagePort; 52 static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>); 57 bool entangleIfOpen(MessagePort*); 62 bool isConnectedTo(MessagePort* port); 86 MessagePort* m_localPort;
|
PlatformMessagePortChannel.cpp | 34 #include "MessagePort.h" 52 void MessagePortChannel::createChannel(PassRefPtr<MessagePort> port1, PassRefPtr<MessagePort> port2) 68 bool MessagePortChannel::entangleIfOpen(MessagePort* port) 93 bool MessagePortChannel::isConnectedTo(MessagePort* port) 103 MessagePort* MessagePortChannel::locallyEntangledPort(const ScriptExecutionContext* context) 142 void PlatformMessagePortChannel::createChannel(PassRefPtr<MessagePort> port1, PassRefPtr<MessagePort> port2) 164 bool PlatformMessagePortChannel::entangleIfOpen(MessagePort* port) 230 bool PlatformMessagePortChannel::isConnectedTo(MessagePort* port [all...] |
/external/webkit/Source/WebCore/dom/default/ |
PlatformMessagePortChannel.h | 42 class MessagePort; 49 static void createChannel(PassRefPtr<MessagePort>, PassRefPtr<MessagePort>); 52 bool entangleIfOpen(MessagePort*); 57 bool isConnectedTo(MessagePort*); 59 MessagePort* locallyEntangledPort(const ScriptExecutionContext*); 96 void setRemotePort(MessagePort*); 97 MessagePort* remotePort(); 111 MessagePort* m_remotePort;
|
PlatformMessagePortChannel.cpp | 34 #include "MessagePort.h" 40 void MessagePortChannel::createChannel(PassRefPtr<MessagePort> port1, PassRefPtr<MessagePort> port2) 61 bool MessagePortChannel::entangleIfOpen(MessagePort* port) 86 bool MessagePortChannel::isConnectedTo(MessagePort* port) 96 MessagePort* MessagePortChannel::locallyEntangledPort(const ScriptExecutionContext* context) 118 void PlatformMessagePortChannel::createChannel(PassRefPtr<MessagePort> port1, PassRefPtr<MessagePort> port2) 137 bool PlatformMessagePortChannel::entangleIfOpen(MessagePort* port) 154 void PlatformMessagePortChannel::setRemotePort(MessagePort* port [all...] |
/external/webkit/Source/WebCore/workers/ |
SharedWorker.h | 46 MessagePort* port() const { return m_port.get(); } 53 RefPtr<MessagePort> m_port;
|
SharedWorker.idl | 44 readonly attribute MessagePort port;
|
DedicatedWorkerContext.h | 36 #include "MessagePort.h" 61 void postMessage(PassRefPtr<SerializedScriptValue>, MessagePort*, ExceptionCode&);
|
SharedWorkerContext.cpp | 45 PassRefPtr<MessageEvent> createConnectEvent(PassRefPtr<MessagePort> port)
|
SharedWorkerContext.h | 67 PassRefPtr<MessageEvent> createConnectEvent(PassRefPtr<MessagePort>);
|
DedicatedWorkerContext.cpp | 50 void DedicatedWorkerContext::postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort* port, ExceptionCode& ec) 66 OwnPtr<MessagePortChannelArray> channels = MessagePort::disentanglePorts(ports, ec);
|
DedicatedWorkerContext.idl | 48 void postMessage(in DOMString message, in [Optional] MessagePort messagePort)
|
Worker.idl | 46 void postMessage(in SerializedScriptValue message, in [Optional] MessagePort messagePort)
|
/external/webkit/Source/WebCore/bindings/js/ |
JSMessageChannelCustom.cpp | 40 if (MessagePort* port = m_impl->port1()) 43 if (MessagePort* port = m_impl->port2())
|
JSMessagePortCustom.cpp | 36 #include "MessagePort.h" 49 if (MessagePort* entangledPort = m_impl->locallyEntangledPort()) 87 RefPtr<MessagePort> port = toMessagePort(value);
|
/external/chromium/chrome/browser/extensions/ |
extension_message_service.cc | 36 struct ExtensionMessageService::MessagePort { 39 explicit MessagePort(IPC::Message::Sender* sender = NULL, 45 ExtensionMessageService::MessagePort opener; 46 ExtensionMessageService::MessagePort receiver; 60 static void DispatchOnConnect(const ExtensionMessageService::MessagePort& port, 78 const ExtensionMessageService::MessagePort& port, int source_port_id, 87 static void DispatchOnMessage(const ExtensionMessageService::MessagePort& port, 150 MessagePort receiver( 178 MessagePort receiver; 188 DispatchOnDisconnect(MessagePort(source, MSG_ROUTING_CONTROL) [all...] |