Home
last modified time | relevance | path

Searched refs:EventData (Results 1 – 14 of 14) sorted by relevance

/external/webkit/Source/WebCore/dom/
DMessagePortChannel.cpp36 PassOwnPtr<MessagePortChannel::EventData> MessagePortChannel::EventData::create(PassRefPtr<Serializ… in create()
38 return new EventData(message, channels); in create()
41 MessagePortChannel::EventData::EventData(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<Mess… in EventData() function in WebCore::MessagePortChannel::EventData
DMessagePortChannel.h82 class EventData {
83 WTF_MAKE_NONCOPYABLE(EventData); WTF_MAKE_FAST_ALLOCATED;
85 …static PassOwnPtr<EventData> create(PassRefPtr<SerializedScriptValue>, PassOwnPtr<MessagePortChann…
91EventData(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray>);
97 void postMessageToRemote(PassOwnPtr<EventData>);
100 bool tryGetMessageFromRemote(OwnPtr<EventData>&);
DMessagePort.cpp94 …m_entangledChannel->postMessageToRemote(MessagePortChannel::EventData::create(message, channels.re… in postMessage()
173 OwnPtr<MessagePortChannel::EventData> eventData; in dispatchMessages()
/external/webkit/Source/WebCore/dom/default/
DPlatformMessagePortChannel.h54 void postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData>);
55 bool tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>&);
66 PassOwnPtr<MessagePortChannel::EventData> tryGetMessage() in tryGetMessage()
71 bool appendAndCheckEmpty(PassOwnPtr<MessagePortChannel::EventData> message) in appendAndCheckEmpty()
84 MessageQueue<MessagePortChannel::EventData> m_queue;
DPlatformMessagePortChannel.cpp71 void MessagePortChannel::postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData> message) in postMessageToRemote()
76 bool MessagePortChannel::tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>& result) in tryGetMessageFromRemote()
183 void PlatformMessagePortChannel::postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData> mess… in postMessageToRemote()
193 bool PlatformMessagePortChannel::tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>& res… in tryGetMessageFromRemote()
/external/chromium/base/files/
Dfile_path_watcher_mac.cc63 class EventData { class in base::files::__anon3f6ebe330111::FilePathWatcherImpl
65 EventData(const FilePath& path, const FilePath::StringType& subdir) in EventData() function in base::files::__anon3f6ebe330111::FilePathWatcherImpl::EventData
124 static EventData* EventDataForKevent(const struct kevent& event) { in EventDataForKevent()
125 return reinterpret_cast<EventData*>(event.udata); in EventDataForKevent()
140 EventData* entry = EventDataForKevent(event); in ReleaseEvent()
177 EventData* data = new EventData(built_path, subdir); in EventsForPath()
220 EventData* event_data = EventDataForKevent(*event); in AreKeventValuesValid()
241 EventData* next_event_data = EventDataForKevent(*next_event); in HandleAttributesChange()
282 EventData* next_event_data = EventDataForKevent(*next_event); in HandleCreateItemChange()
323 EventData* event_data = EventDataForKevent(events_[valid]); in UpdateWatches()
[all …]
/external/chromium/third_party/libjingle/source/talk/session/tunnel/
Dpseudotcpchannel.cc55 struct EventData : public MessageData { struct
57 EventData(int ev, int err = 0) : event(ev), error(err) { } in EventData() function
181 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_CLOSE, 0)); in OnChannelDestroyed()
199 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_CLOSE, -1)); in OnSessionTerminate()
265 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_READ), true); in Read()
395 new EventData(SE_OPEN | SE_READ | SE_WRITE)); in OnTcpOpen()
408 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_READ)); in OnTcpReadable()
419 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_WRITE)); in OnTcpWriteable()
428 stream_thread_->Post(this, MSG_ST_EVENT, new EventData(SE_CLOSE, nError)); in OnTcpClosed()
463 EventData* data = static_cast<EventData*>(pmsg->pdata); in OnMessage()
Dtunnelsessionclient.cc55 struct EventData : public talk_base::MessageData { struct
57 EventData(int ev, int err = 0) : event(ev), error(err) { } in EventData() function
/external/webkit/Source/WebKit/chromium/src/
DPlatformMessagePortChannel.cpp78 void MessagePortChannel::postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData> message) in postMessageToRemote()
83 bool MessagePortChannel::tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>& result) in tryGetMessageFromRemote()
177 void PlatformMessagePortChannel::postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData> mess… in postMessageToRemote()
196 bool PlatformMessagePortChannel::tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>& res… in tryGetMessageFromRemote()
215 … result = MessagePortChannel::EventData::create(serializedMessage.release(), channels.release()); in tryGetMessageFromRemote()
DPlatformMessagePortChannel.h59 void postMessageToRemote(PassOwnPtr<MessagePortChannel::EventData>);
60 bool tryGetMessageFromRemote(OwnPtr<MessagePortChannel::EventData>&);
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2937374 class EventData - 'new' call: WebCore/dom/MessagePortChannel.cpp:38
49443 (WebCore::MessagePortChannel::EventData::create):
49444 (WebCore::MessagePortChannel::EventData::EventData):
49446 (WebCore::MessagePortChannel::EventData::message):
50174 (WebCore::MessagePortChannel::EventData::EventData):
65704EventData now contains a MessagePortChannelArray field instead of a single MessagePortChannel.
65705 (WebCore::MessagePortChannel::EventData::create):
65706 (WebCore::MessagePortChannel::EventData::EventData):
65708 (WebCore::MessagePortChannel::EventData::channels):
96353 (WebCore::MessagePortChannel::EventData::create):
[all …]
DChangeLog-2009-06-1670612 * dom/MessagePort.h: Fixed message queue to keep EventData pointers - otherwise, we would
70613 ref/deref EventData::message from different threads, which is not allowed.
70617 (WebCore::MessagePort::EventData::create): Updated for EventData being refcountable now.
70618 (WebCore::MessagePort::EventData::EventData): Ditto.
72172 (WebCore::MessagePort::EventData::EventData):
72173 (WebCore::MessagePort::EventData::~EventData):
DChangeLog-2010-12-0661007 (WebCore::MessagePortChannel::EventData::EventData):
DChangeLog9206 (WebCore::MessagePortChannel::EventData::create): Use adoptPtr.