Home
last modified time | relevance | path

Searched refs:EventSource (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/page/
DEventSource.cpp57 const unsigned long long EventSource::defaultReconnectDelay = 3000;
59 inline EventSource::EventSource(const KURL& url, ScriptExecutionContext* context) in EventSource() function in WebCore::EventSource
64 , m_reconnectTimer(this, &EventSource::reconnectTimerFired) in EventSource()
73 PassRefPtr<EventSource> EventSource::create(const String& url, ScriptExecutionContext* context, Exc… in create()
92 RefPtr<EventSource> source = adoptRef(new EventSource(fullURL, context)); in create()
100 EventSource::~EventSource() in ~EventSource()
104 void EventSource::connect() in connect()
123 void EventSource::endRequest() in endRequest()
139 void EventSource::scheduleReconnect() in scheduleReconnect()
145 void EventSource::reconnectTimerFired(Timer<EventSource>*) in reconnectTimerFired() argument
[all …]
DEventSource.h53 …class EventSource : public RefCounted<EventSource>, public EventTarget, private ThreadableLoaderCl…
56 … static PassRefPtr<EventSource> create(const String& url, ScriptExecutionContext*, ExceptionCode&);
57 virtual ~EventSource();
77 using RefCounted<EventSource>::ref;
78 using RefCounted<EventSource>::deref;
80 virtual EventSource* toEventSource() { return this; } in toEventSource()
86 EventSource(const KURL&, ScriptExecutionContext*);
102 void reconnectTimerFired(Timer<EventSource>*);
112 Timer<EventSource> m_reconnectTimer;
DEventSource.idl42 ] EventSource {
DDOMWindow.idl553 … attribute [JSCCustomGetter] EventSourceConstructor EventSource; // Usable with new the operator
/external/webkit/Source/WebKit2/Platform/gtk/
DWorkQueueGtk.cpp38 class WorkQueue::EventSource { class in WorkQueue
40 EventSource(PassOwnPtr<WorkItem> workItem, WorkQueue* workQueue, GCancellable* cancellable) in EventSource() function in WorkQueue::EventSource
54 static void executeEventSource(EventSource* eventSource) in executeEventSource()
67 static gboolean performWorkOnce(EventSource* eventSource) in performWorkOnce()
73 static gboolean performWork(GSocket* socket, GIOCondition condition, EventSource* eventSource) in performWork()
84 static gboolean performWorkOnTermination(GPid, gint, EventSource* eventSource) in performWorkOnTermination()
90 static void deleteEventSource(EventSource* eventSource) in deleteEventSource()
148 EventSource* eventSource = new EventSource(item, this, cancellable.get()); in registerEventSourceHandler()
151 …callback(dispatchSource.get(), reinterpret_cast<GSourceFunc>(&WorkQueue::EventSource::performWork), in registerEventSourceHandler()
152 eventSource, reinterpret_cast<GDestroyNotify>(&WorkQueue::EventSource::deleteEventSource)); in registerEventSourceHandler()
[all …]
/external/webkit/Source/WebKit2/Platform/mac/
DWorkQueueMac.cpp60 class WorkQueue::EventSource { class in WorkQueue
62EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> wo… in EventSource() function in WorkQueue::EventSource
73 EventSource* eventSource = static_cast<EventSource*>(source); in eventHandler()
80 EventSource* eventSource = static_cast<EventSource*>(source); in cancelHandler()
98 EventSource* eventSource = static_cast<EventSource*>(source); in finalizeHandler()
126 EventSource* eventSource = new EventSource(eventType, dispatchSource, workItem); in registerMachPortEventHandler()
129 dispatch_source_set_event_handler_f(dispatchSource, &EventSource::eventHandler); in registerMachPortEventHandler()
130 dispatch_source_set_cancel_handler_f(dispatchSource, &EventSource::cancelHandler); in registerMachPortEventHandler()
131 dispatch_set_finalizer_f(dispatchSource, &EventSource::finalizeHandler); in registerMachPortEventHandler()
152 HashMap<mach_port_t, EventSource*>::iterator it = m_eventSources.find(machPort); in unregisterMachPortEventHandler()
[all …]
/external/webkit/Source/WebKit2/Platform/
DWorkQueue.h107 class EventSource; variable
108 HashMap<mach_port_t, EventSource*> m_eventSources;
178 class EventSource; variable
179 HashMap<int, Vector<EventSource*> > m_eventSources;
180 typedef HashMap<int, Vector<EventSource*> >::iterator EventSourceIterator;
/external/webkit/Source/WebCore/bindings/js/
DJSEventSourceCustom.cpp62 RefPtr<EventSource> eventSource = EventSource::create(ustringToString(url), context, ec); in constructJSEventSource()
DJSEventTarget.cpp113 if (EventSource* eventSource = target->toEventSource()) in toJS()
211 CONVERT_TO_EVENT_TARGET(EventSource) in toEventTarget()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8EventSourceConstructor.cpp64 RefPtr<EventSource> eventSource = EventSource::create(url, context, ec); in constructorCallback()
/external/webkit/Source/WebCore/bindings/cpp/
DWebDOMEventTarget.cpp107 ConvertTo(EventSource) in ConvertTo()
155 if (WebCore::EventSource* eventSource = value->toEventSource()) in toWebKit()
/external/webkit/LayoutTests/fast/constructors/
Dconstructor-as-function-crash-expected.txt3 PASS: EventSource
/external/webkit/Source/WebCore/dom/
DEventTarget.h50 class EventSource; variable
104 virtual EventSource* toEventSource();
DEventTarget.cpp82 EventSource* EventTarget::toEventSource() in toEventSource()
/external/webkit/Source/WebCore/workers/
DWorkerContext.idl92 attribute [JSCCustomGetter] EventSourceConstructor EventSource;
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMWrapper.cpp433 if (EventSource* eventSource = target->toEventSource()) in convertEventTargetToV8Object()
/external/webkit/Source/WebCore/
DDerivedSources.make185 EventSource \
DCodeGenerators.pri322 page/EventSource.idl \
DCMakeLists.txt328 page/EventSource.idl
1006 page/EventSource.cpp
DChangeLog-2010-01-292117 Adds EventSource bindings for V8
2120 No new tests (existing layout tests for EventSource should pass).
14301 Modified EventSource event-stream parser to support a single CR as line ending.
14304 * page/EventSource.cpp:
14305 (WebCore::EventSource::EventSource):
14306 (WebCore::EventSource::parseEventStream):
14307 * page/EventSource.h:
18093 * page/EventSource.idl:
27485 * page/EventSource.h: Removed include EventListener.h
49452 * page/EventSource.cpp:
[all …]
DWebCore.pro915 page/EventSource.cpp \
1862 page/EventSource.h \
DWebCore.gypi1329 'page/EventSource.idl',
3423 'page/EventSource.cpp',
3424 'page/EventSource.h',
DGNUmakefile.list.am2194 Source/WebCore/page/EventSource.cpp \
2195 Source/WebCore/page/EventSource.h \
DGNUmakefile.am2210 Source/WebCore/page/EventSource.cpp \
2211 Source/WebCore/page/EventSource.h \
/external/webkit/Source/WebKit2/
DChangeLog2678 (WorkQueue::EventSource::EventSource): Remove unused member
2680 (WorkQueue::EventSource::executeEventSource): Make it return void
2682 (WorkQueue::EventSource::performWork): Return FALSE from the
2708 (WorkQueue::EventSource::EventSource): Add cancellable parameter.
2709 (WorkQueue::EventSource::cancel): New method to cancel the source.
2710 (WorkQueue::EventSource::performWorkOnTermination): New method to
2739 (WorkQueue::EventSource::executeEventSource): This new method
2741 (WorkQueue::EventSource::performWorkOnce): Use
2743 (WorkQueue::EventSource::performWork): Use executeEventSource() to

12