/external/webkit/Source/WebCore/page/ |
EventSource.h | 36 #if ENABLE(EVENTSOURCE) 53 class EventSource : public RefCounted<EventSource>, public EventTarget, private ThreadableLoaderClient, public ActiveDOMObject { 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; } 86 EventSource(const KURL&, ScriptExecutionContext*); 102 void reconnectTimerFired(Timer<EventSource>*); [all...] |
EventSource.cpp | 36 #if ENABLE(EVENTSOURCE) 38 #include "EventSource.h" 57 const unsigned long long EventSource::defaultReconnectDelay = 3000; 59 inline EventSource::EventSource(const KURL& url, ScriptExecutionContext* context) 64 , m_reconnectTimer(this, &EventSource::reconnectTimerFired) 73 PassRefPtr<EventSource> EventSource::create(const String& url, ScriptExecutionContext* context, ExceptionCode& ec) 92 RefPtr<EventSource> source = adoptRef(new EventSource(fullURL, context)) [all...] |
EventSource.idl | 35 Conditional=EVENTSOURCE, 42 ] EventSource {
|
DOMWindow.idl | 554 attribute [JSCCustomGetter] EventSourceConstructor EventSource; // Usable with new the operator [all...] |
/external/webkit/Source/WebKit2/Platform/mac/ |
WorkQueueMac.cpp | 60 class WorkQueue::EventSource { 62 EventSource(MachPortEventType eventType, dispatch_source_t dispatchSource, PassOwnPtr<WorkItem> workItem) 73 EventSource* eventSource = static_cast<EventSource*>(source); 75 eventSource->m_workItem->execute(); 80 EventSource* eventSource = static_cast<EventSource*>(source); 82 mach_port_t machPort = dispatch_source_get_handle(eventSource->m_dispatchSource) [all...] |
/external/webkit/Source/WebKit2/Platform/gtk/ |
WorkQueueGtk.cpp | 37 // WorkQueue::EventSource 38 class WorkQueue::EventSource { 40 EventSource(PassOwnPtr<WorkItem> workItem, WorkQueue* workQueue, GCancellable* cancellable) 54 static void executeEventSource(EventSource* eventSource) 56 ASSERT(eventSource); 57 WorkQueue* queue = eventSource->m_workQueue; 64 eventSource->m_workItem->execute(); 67 static gboolean performWorkOnce(EventSource* eventSource) [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSEventSourceCustom.cpp | 34 #if ENABLE(EVENTSOURCE) 38 #include "EventSource.h" 59 return throwVMError(exec, createReferenceError(exec, "EventSource constructor associated document is unavailable")); 62 RefPtr<EventSource> eventSource = EventSource::create(ustringToString(url), context, ec); 68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), eventSource.release()))); 73 #endif // ENABLE(EVENTSOURCE)
|
JSEventTarget.cpp | 54 #if ENABLE(EVENTSOURCE) 55 #include "EventSource.h" 112 #if ENABLE(EVENTSOURCE) 113 if (EventSource* eventSource = target->toEventSource()) 114 return toJS(exec, globalObject, eventSource); 210 #if ENABLE(EVENTSOURCE) 211 CONVERT_TO_EVENT_TARGET(EventSource)
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8EventSourceConstructor.cpp | 33 #if ENABLE(EVENTSOURCE) 36 #include "EventSource.h" 48 INC_STATS("DOM.EventSource.Constructor"); 54 // Allocate an EventSource object as its internal field. 57 return throwError("EventSource constructor's associated context is not available", V8Proxy::ReferenceError); 64 RefPtr<EventSource> eventSource = EventSource::create(url, context, ec); 69 V8DOMWrapper::setDOMWrapper(args.Holder(), &info, eventSource.get()); 72 eventSource->ref() [all...] |
/external/mdnsresponder/mDNSShared/ |
dnsextd.h | 108 typedef struct EventSource 115 struct EventSource * next; 116 } EventSource; 151 GenLinkedList eventSources; // linked list of EventSource's
|
dnsextd.c | 240 EventSource * newSource; 245 InitLinkedList( &self->eventSources, offsetof( EventSource, next)); 248 newSource = ( EventSource*) malloc( sizeof *newSource ); 272 EventSource * source; 275 for ( source = ( EventSource* ) self->eventSources.Head; source; source = source->next ) [all...] |
/external/webkit/Source/WebKit2/Platform/ |
WorkQueue.h | 107 class EventSource; 108 HashMap<mach_port_t, EventSource*> m_eventSources; 178 class EventSource; 179 HashMap<int, Vector<EventSource*> > m_eventSources; 180 typedef HashMap<int, Vector<EventSource*> >::iterator EventSourceIterator;
|
/external/webkit/Source/WebCore/bindings/cpp/ |
WebDOMEventTarget.cpp | 27 #include "EventSource.h" 106 #if ENABLE(EVENTSOURCE) 107 ConvertTo(EventSource) 154 #if ENABLE(EVENTSOURCE) 155 if (WebCore::EventSource* eventSource = value->toEventSource()) 156 return toWebKit(eventSource);
|
/external/webkit/Source/WebCore/dom/ |
EventTarget.h | 50 class EventSource; 104 virtual EventSource* toEventSource();
|
EventTarget.cpp | 82 EventSource* EventTarget::toEventSource()
|
/external/webkit/Source/WebCore/workers/ |
WorkerContext.idl | 92 attribute [JSCCustomGetter] EventSourceConstructor EventSource;
|
/external/webkit/Source/WebCore/bindings/v8/ |
V8DOMWrapper.cpp | 428 #if ENABLE(EVENTSOURCE) 429 if (EventSource* eventSource = target->toEventSource()) 430 return toV8(eventSource);
|