HomeSort by relevance Sort by last modified time
    Searched full:messageevent (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/dom/
MessageEvent.cpp 29 #include "core/dom/MessageEvent.h"
40 MessageEvent::MessageEvent()
46 MessageEvent::MessageEvent(const AtomicString& type, const MessageEventInit& initializer)
57 MessageEvent::MessageEvent(const String& origin, const String& lastEventId, PassRefPtr<DOMWindow> source, PassOwnPtr<MessagePortArray> ports)
58 : Event(eventNames().messageEvent, false, false)
68 MessageEvent::MessageEvent(PassRefPtr<SerializedScriptValue> data, const String& origin, const String& lastEventId, PassRefPt (…)
    [all...]
MessageEvent.h 51 class MessageEvent : public Event {
53 static PassRefPtr<MessageEvent> create()
55 return adoptRef(new MessageEvent);
57 static PassRefPtr<MessageEvent> create(PassOwnPtr<MessagePortArray> ports, const String& origin = "", const String& lastEventId = "", PassRefPtr<DOMWindow> source = 0)
59 return adoptRef(new MessageEvent(origin, lastEventId, source, ports));
61 static PassRefPtr<MessageEvent> create(PassOwnPtr<MessagePortArray> ports, PassRefPtr<SerializedScriptValue> data, const String& origin = "", const String& lastEventId = "", PassRefPtr<DOMWindow> source = 0)
63 return adoptRef(new MessageEvent(data, origin, lastEventId, source, ports));
65 static PassRefPtr<MessageEvent> create(const String& data, const String& origin = "")
67 return adoptRef(new MessageEvent(data, origin));
69 static PassRefPtr<MessageEvent> create(PassRefPtr<Blob> data, const String& origin = ""
    [all...]
MessagePort.h 88 setAttributeEventListener(eventNames().messageEvent, listener, world);
91 EventListener* onmessage(DOMWrapperWorld* world) { return getAttributeEventListener(eventNames().messageEvent, world); }
MessagePort.idl 31 // We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one,
MessageEvent.idl 31 ] interface MessageEvent : Event {
MessagePort.cpp 35 #include "core/dom/MessageEvent.h"
171 RefPtr<Event> evt = MessageEvent::create(ports.release(), message.release());
  /external/smack/src/org/jivesoftware/smackx/
MessageEventManager.java 35 import org.jivesoftware.smackx.packet.MessageEvent;
78 // Create a MessageEvent Package and add it to the message
79 MessageEvent messageEvent = new MessageEvent();
80 messageEvent.setOffline(offline);
81 messageEvent.setDelivered(delivered);
82 messageEvent.setDisplayed(displayed);
83 messageEvent.setComposing(composing);
84 message.addExtension(messageEvent);
    [all...]
  /external/smack/src/org/jivesoftware/smackx/provider/
MessageEventProvider.java 25 import org.jivesoftware.smackx.packet.MessageEvent;
44 * Parses a MessageEvent packet (extension sub-packet).
52 MessageEvent messageEvent = new MessageEvent();
58 messageEvent.setPacketID(parser.nextText());
59 if (parser.getName().equals(MessageEvent.COMPOSING))
60 messageEvent.setComposing(true);
61 if (parser.getName().equals(MessageEvent.DELIVERED))
62 messageEvent.setDelivered(true)
    [all...]
  /external/chromium_org/chrome_frame/
com_message_event.h 15 // Implements a MessageEvent compliant event object by providing MessageEvent
19 // See the HTML 5 spec for further details on a MessageEvent object:
20 // http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#messageevent
34 // http://dev.w3.org/html5/spec/Overview.html#messageevent
  /external/chromium_org/third_party/WebKit/Source/web/
WebDOMMessageEvent.cpp 39 #include "core/dom/MessageEvent.h"
57 unwrap<MessageEvent>()->initMessageEvent(type, canBubble, cancelable, messageData, origin, lastEventId, window, ports.release());
62 return WebSerializedScriptValue(constUnwrap<MessageEvent>()->dataAsSerializedScriptValue());
67 return WebString(constUnwrap<MessageEvent>()->origin());
  /external/chromium_org/chrome/renderer/
external_host_bindings.h 31 // Creates an uninitialized instance of a MessageEvent object.
32 // This is equivalent to calling window.document.createEvent("MessageEvent")
external_host_bindings.cc 126 DCHECK(status) << "Failed to initialize MessageEvent";
178 STRINGN_TO_NPVARIANT("MessageEvent", sizeof("MessageEvent") - 1, \
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
V8MessageEventCustom.cpp 37 #include "core/dom/MessageEvent.h"
48 MessageEvent* event = V8MessageEvent::toNative(info.Holder());
52 case MessageEvent::DataTypeScriptValue: {
70 case MessageEvent::DataTypeSerializedScriptValue:
79 case MessageEvent::DataTypeString: {
85 case MessageEvent::DataTypeBlob:
89 case MessageEvent::DataTypeArrayBuffer:
103 MessageEvent* event = V8MessageEvent::toNative(args.Holder());
  /external/chromium_org/third_party/WebKit/Source/core/workers/
SharedWorkerGlobalScope.cpp 36 #include "core/dom/MessageEvent.h"
46 PassRefPtr<MessageEvent> createConnectEvent(PassRefPtr<MessagePort> port)
48 RefPtr<MessageEvent> event = MessageEvent::create(adoptPtr(new MessagePortArray(1, port)));
SharedWorkerGlobalScope.h 40 class MessageEvent;
67 PassRefPtr<MessageEvent> createConnectEvent(PassRefPtr<MessagePort>);
WorkerMessagingProxy.cpp 35 #include "core/dom/MessageEvent.h"
75 context->dispatchEvent(MessageEvent::create(ports.release(), m_message));
106 workerObject->dispatchEvent(MessageEvent::create(ports.release(), m_message));
  /external/chromium_org/third_party/WebKit/public/web/
WebDOMMessageEvent.h 39 #include "core/dom/MessageEvent.h"
56 explicit WebDOMMessageEvent(const WTF::PassRefPtr<WebCore::MessageEvent>& e) : WebDOMEvent(e) { }
  /external/smack/src/org/jivesoftware/smackx/packet/
MessageEvent.java 59 public class MessageEvent implements PacketExtension {
168 * @return an iterator over all the types of events of the MessageEvent.
173 allEvents.add(MessageEvent.DELIVERED);
176 allEvents.add(MessageEvent.CANCELLED);
179 allEvents.add(MessageEvent.COMPOSING);
182 allEvents.add(MessageEvent.DISPLAYED);
185 allEvents.add(MessageEvent.OFFLINE);
266 * Returns true if this MessageEvent is a request for notifications.
267 * Returns false if this MessageEvent is a notification of an event.
315 buf.append("<").append(MessageEvent.OFFLINE).append("/>")
    [all...]
  /external/chromium_org/ppapi/api/
ppb_messaging.idl 43 * conforming to the HTML 5 <code>MessageEvent</code> interface.
45 * data in the received <code>MessageEvent</code>.
  /external/chromium_org/ppapi/tests/
test_case.html 310 // particular, we replace document.createEvent, MessageEvent.initMessageEvent,
311 // and the MessageEvent constructor. Previous versions of the PostMessage
318 function MessageEvent() {
319 InternalError("Bad MessageEvent constructor called!");
321 MessageEvent.prototype.initMessageEvent = function() {
322 InternalError("Bad MessageEvent.initMessageEvent called!");
test_post_message.h 77 // Test the MessageEvent object that JavaScript received to make sure it is
  /external/chromium_org/ppapi/c/
ppb_messaging.h 57 * conforming to the HTML 5 <code>MessageEvent</code> interface.
59 * data in the received <code>MessageEvent</code>.
  /external/chromium_org/third_party/WebKit/Source/core/page/
EventSource.h 48 class MessageEvent;
107 PassRefPtr<MessageEvent> createMessageEvent();
EventSource.cpp 43 #include "core/dom/MessageEvent.h"
415 PassRefPtr<MessageEvent> EventSource::createMessageEvent()
417 RefPtr<MessageEvent> event = MessageEvent::create();
418 event->initMessageEvent(m_eventName.isEmpty() ? eventNames().messageEvent : AtomicString(m_eventName), false, false, SerializedScriptValue::create(String(m_data)), m_eventStreamOrigin, m_lastEventId, 0, nullptr);
  /external/chromium_org/third_party/WebKit/Source/modules/mediastream/
RTCDataChannel.cpp 31 #include "core/dom/MessageEvent.h"
234 scheduleDispatchEvent(MessageEvent::create(text));
248 scheduleDispatchEvent(MessageEvent::create(buffer.release()));

Completed in 337 milliseconds

1 2 3