Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: webkit/api/public/WebKitClient.h

Issue 243108: Enable WebSocket in test_shell (Closed)
Patch Set: add +net/socket_stream in webkit/DEPS Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/DEPS ('k') | webkit/api/public/WebSocketStreamError.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 namespace WebKit { 44 namespace WebKit {
45 class WebApplicationCacheHost; 45 class WebApplicationCacheHost;
46 class WebApplicationCacheHostClient; 46 class WebApplicationCacheHostClient;
47 class WebClipboard; 47 class WebClipboard;
48 class WebData; 48 class WebData;
49 class WebMessagePortChannel; 49 class WebMessagePortChannel;
50 class WebMimeRegistry; 50 class WebMimeRegistry;
51 class WebPluginListBuilder; 51 class WebPluginListBuilder;
52 class WebSandboxSupport; 52 class WebSandboxSupport;
53 class WebSocketStreamHandle;
53 class WebStorageNamespace; 54 class WebStorageNamespace;
54 class WebString; 55 class WebString;
55 class WebThemeEngine; 56 class WebThemeEngine;
56 class WebURL; 57 class WebURL;
57 class WebURLLoader; 58 class WebURLLoader;
58 struct WebPluginInfo; 59 struct WebPluginInfo;
59 template <typename T> class WebVector; 60 template <typename T> class WebVector;
60 61
61 // FIXME: Once our webkit api is complete, we should not need to inherit 62 // FIXME: Once our webkit api is complete, we should not need to inherit
62 // from TemporaryGlue here. 63 // from TemporaryGlue here.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual void setCookies( 160 virtual void setCookies(
160 const WebURL& url, const WebURL& policyURL, const WebString& cookies) = 0; 161 const WebURL& url, const WebURL& policyURL, const WebString& cookies) = 0;
161 virtual WebString cookies(const WebURL& url, const WebURL& policyURL) = 0; 162 virtual WebString cookies(const WebURL& url, const WebURL& policyURL) = 0;
162 163
163 // A suggestion to prefetch IP information for the given hostname. 164 // A suggestion to prefetch IP information for the given hostname.
164 virtual void prefetchHostName(const WebString&) = 0; 165 virtual void prefetchHostName(const WebString&) = 0;
165 166
166 // Returns a new WebURLLoader instance. 167 // Returns a new WebURLLoader instance.
167 virtual WebURLLoader* createURLLoader() = 0; 168 virtual WebURLLoader* createURLLoader() = 0;
168 169
170 // Returns a new WebSocketStreamHandle instance.
171 virtual WebSocketStreamHandle* createSocketStreamHandle() = 0;
172
169 173
170 // Plugins ------------------------------------------------------------- 174 // Plugins -------------------------------------------------------------
171 175
172 // If refresh is true, then cached information should not be used to 176 // If refresh is true, then cached information should not be used to
173 // satisfy this call. 177 // satisfy this call.
174 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0; 178 virtual void getPluginList(bool refresh, WebPluginListBuilder*) = 0;
175 179
176 180
177 // Profiling ----------------------------------------------------------- 181 // Profiling -----------------------------------------------------------
178 182
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Callable from a background WebKit thread. 234 // Callable from a background WebKit thread.
231 virtual void callOnMainThread(void (*func)()) = 0; 235 virtual void callOnMainThread(void (*func)()) = 0;
232 236
233 protected: 237 protected:
234 ~WebKitClient() { } 238 ~WebKitClient() { }
235 }; 239 };
236 240
237 } // namespace WebKit 241 } // namespace WebKit
238 242
239 #endif 243 #endif
OLDNEW
« no previous file with comments | « webkit/DEPS ('k') | webkit/api/public/WebSocketStreamError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698