/external/webkit/Source/WebCore/websockets/ |
D | WebSocket.cpp | 85 void WebSocket::setIsAvailable(bool available) in setIsAvailable() 90 bool WebSocket::isAvailable() in isAvailable() 95 WebSocket::WebSocket(ScriptExecutionContext* context) in WebSocket() function in WebCore::WebSocket 102 WebSocket::~WebSocket() in ~WebSocket() 108 void WebSocket::connect(const KURL& url, ExceptionCode& ec) in connect() 113 void WebSocket::connect(const KURL& url, const String& protocol, ExceptionCode& ec) in connect() 156 bool WebSocket::send(const String& message, ExceptionCode& ec) in send() 173 void WebSocket::close() in close() 186 const KURL& WebSocket::url() const in url() 191 WebSocket::State WebSocket::readyState() const in readyState() [all …]
|
D | WebSocket.h | 51 …class WebSocket : public RefCounted<WebSocket>, public EventTarget, public ActiveDOMObject, public… 55 …static PassRefPtr<WebSocket> create(ScriptExecutionContext* context) { return adoptRef(new WebSock… in create() 56 virtual ~WebSocket(); 81 virtual WebSocket* toWebSocket() { return this; } in toWebSocket() 90 using RefCounted<WebSocket>::ref; 91 using RefCounted<WebSocket>::deref; 100 WebSocket(ScriptExecutionContext*);
|
D | WebSocket.idl | 42 ] WebSocket {
|
/external/chromium/net/websockets/ |
D | websocket_unittest.cc | 25 WebSocketEvent(EventType type, net::WebSocket* websocket, in WebSocketEvent() 31 net::WebSocket* socket; 61 virtual void OnOpen(net::WebSocket* socket) { in OnOpen() 69 virtual void OnMessage(net::WebSocket* socket, const std::string& msg) { in OnMessage() 75 virtual void OnError(net::WebSocket* socket) { in OnError() 82 virtual void OnClose(net::WebSocket* socket, bool was_clean) { in OnClose() 115 void InitReadBuf(WebSocket* websocket) { in InitReadBuf() 119 void SetReadConsumed(WebSocket* websocket, int consumed) { in SetReadConsumed() 122 void AddToReadBuf(WebSocket* websocket, const char* data, int len) { in AddToReadBuf() 126 void TestProcessFrameData(WebSocket* websocket, in TestProcessFrameData() [all …]
|
D | websocket.cc | 20 WebSocket::WebSocket(Request* request, WebSocketDelegate* delegate) in WebSocket() function in net::WebSocket 41 WebSocket::~WebSocket() { in ~WebSocket() 47 void WebSocket::Connect() { in Connect() 67 void WebSocket::Send(const std::string& msg) { in Send() 87 void WebSocket::Close() { in Close() 113 NewRunnableMethod(this, &WebSocket::FailConnection)); in Close() 123 NewRunnableMethod(this, &WebSocket::StartClosingHandshake)); in Close() 130 void WebSocket::DetachDelegate() { in DetachDelegate() 145 void WebSocket::OnConnected(SocketStream* socket_stream, in OnConnected() 177 NewRunnableMethod(this, &WebSocket::SendPending)); in OnConnected() [all …]
|
D | websocket.h | 32 class WebSocket; variable 42 virtual void OnOpen(WebSocket* socket) = 0; 46 virtual void OnMessage(WebSocket* socket, const std::string& msg) = 0; 49 virtual void OnError(WebSocket* socket) {} in OnError() 52 virtual void OnClose(WebSocket* socket, bool was_clean) = 0; 55 virtual void OnSocketError(const WebSocket* socket, int error) {} in OnSocketError() 58 class WebSocket : public base::RefCountedThreadSafe<WebSocket>, 127 WebSocket(Request* req, WebSocketDelegate* delegate); 164 friend class base::RefCountedThreadSafe<WebSocket>; 165 virtual ~WebSocket(); [all …]
|
/external/chromium/chrome/browser/net/websocket_experiment/ |
D | websocket_experiment_task.h | 51 class WebSocket; variable 86 net::WebSocket::ProtocolVersion protocol_version; 108 virtual net::WebSocket* CreateWebSocket( 160 virtual void OnOpen(net::WebSocket* websocket); 161 virtual void OnMessage(net::WebSocket* websocket, const std::string& msg); 162 virtual void OnError(net::WebSocket* websocket); 163 virtual void OnClose(net::WebSocket* websocket, bool was_clean); 164 virtual void OnSocketError(const net::WebSocket* websocket, int error); 201 scoped_refptr<net::WebSocket> websocket_;
|
D | websocket_experiment_task.cc | 23 net::WebSocket::ProtocolVersion protocol_version) { in GetProtocolVersionName() 25 case net::WebSocket::DEFAULT_VERSION: in GetProtocolVersionName() 27 case net::WebSocket::DRAFT75: in GetProtocolVersionName() 54 net::WebSocket* WebSocketExperimentTask::Context::CreateWebSocket( in CreateWebSocket() 63 net::WebSocket::Request* request( in CreateWebSocket() 64 new net::WebSocket::Request(config.url, in CreateWebSocket() 70 return new net::WebSocket(request, delegate); in CreateWebSocket() 101 protocol_version(net::WebSocket::DEFAULT_VERSION), in Config() 144 case net::WebSocket::DEFAULT_VERSION: in GetCounterNameForConfig() 147 case net::WebSocket::DRAFT75: in GetCounterNameForConfig() [all …]
|
D | websocket_experiment_runner.cc | 111 task_config.protocol_version = net::WebSocket::DEFAULT_VERSION; in InitConfig() 143 task_config.protocol_version = net::WebSocket::DRAFT75; in InitConfig()
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSWebSocketCustom.cpp | 61 RefPtr<WebSocket> webSocket = WebSocket::create(context); in constructJSWebSocket() 72 …return JSValue::encode(CREATE_DOM_OBJECT_WRAPPER(exec, jsConstructor->globalObject(), WebSocket, w… in constructJSWebSocket()
|
D | JSEventTarget.cpp | 183 if (WebSocket* webSocket = target->toWebSocket()) in toJS() 237 CONVERT_TO_EVENT_TARGET(WebSocket) in toEventTarget()
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/irc/servlet/src/org/chromium/ |
D | IRCProxyWebSocket.java | 17 import org.eclipse.jetty.websocket.WebSocket; 32 protected WebSocket doWebSocketConnect(HttpServletRequest request, in doWebSocketConnect() 37 class ChatWebSocket implements WebSocket, Runnable {
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8WebSocketCustom.cpp | 71 RefPtr<WebSocket> webSocket = WebSocket::create(context); in constructorCallback()
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | Resource.js | 47 WebSocket: 7, property 70 case this.WebSocket: 95 case this.WebSocket: 397 case WebInspector.Resource.Type.WebSocket: 650 || this.type === WebInspector.Resource.Type.WebSocket) 740 if (this.type === WebInspector.Resource.Type.WebSocket) {
|
D | AuditLauncherView.js | 69 if (resource.type === WebInspector.Resource.Type.WebSocket) 79 if (resource.type === WebInspector.Resource.Type.WebSocket)
|
D | NetworkManager.js | 250 resource.type = WebInspector.Resource.Type.WebSocket;
|
/external/webkit/Source/WebCore/bindings/cpp/ |
D | WebDOMEventTarget.cpp | 129 ConvertTo(WebSocket) in ConvertTo() 193 if (WebCore::WebSocket* webSocket = value->toWebSocket()) in toWebKit()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebRuntimeFeatures.cpp | 110 WebSocket::setIsAvailable(enable); in enableSockets() 117 return WebSocket::isAvailable(); in isSocketsEnabled()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_websocket_apitest.cc | 11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { in IN_PROC_BROWSER_TEST_F() argument
|
/external/webkit/LayoutTests/fast/constructors/ |
D | constructor-as-function-crash-expected.txt | 9 PASS: WebSocket
|
/external/webkit/Source/WebCore/bindings/generic/ |
D | RuntimeEnabledFeatures.cpp | 129 return WebSocket::isAvailable(); in webSocketEnabled()
|
/external/webkit/Source/WebCore/dom/ |
D | EventTarget.h | 65 class WebSocket; variable 131 virtual WebSocket* toWebSocket();
|
D | EventTarget.cpp | 134 WebSocket* EventTarget::toWebSocket() in toWebSocket()
|
/external/webkit/Source/WebCore/workers/ |
D | WorkerContext.idl | 96 …attribute [JSCCustomGetter,EnabledAtRuntime] WebSocketConstructor WebSocket; // Usable with the ne…
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | V8DOMWrapper.cpp | 397 if (WebSocket* webSocket = target->toWebSocket()) in convertEventTargetToV8Object()
|