OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
73 class WebMIDIAccessorClient; | 73 class WebMIDIAccessorClient; |
74 class WebMediaStreamCenter; | 74 class WebMediaStreamCenter; |
75 class WebMediaStreamCenterClient; | 75 class WebMediaStreamCenterClient; |
76 class WebMessagePortChannel; | 76 class WebMessagePortChannel; |
77 class WebMimeRegistry; | 77 class WebMimeRegistry; |
78 class WebPluginListBuilder; | 78 class WebPluginListBuilder; |
79 class WebPrescientNetworking; | 79 class WebPrescientNetworking; |
80 class WebRTCPeerConnectionHandler; | 80 class WebRTCPeerConnectionHandler; |
81 class WebRTCPeerConnectionHandlerClient; | 81 class WebRTCPeerConnectionHandlerClient; |
82 class WebSandboxSupport; | 82 class WebSandboxSupport; |
83 class WebSocketChannelHandle; | |
83 class WebSocketStreamHandle; | 84 class WebSocketStreamHandle; |
84 class WebSpeechSynthesizer; | 85 class WebSpeechSynthesizer; |
85 class WebSpeechSynthesizerClient; | 86 class WebSpeechSynthesizerClient; |
86 class WebStorageNamespace; | 87 class WebStorageNamespace; |
87 class WebStorageQuotaCallbacks; | 88 class WebStorageQuotaCallbacks; |
88 class WebUnitTestSupport; | 89 class WebUnitTestSupport; |
89 class WebThemeEngine; | 90 class WebThemeEngine; |
90 class WebThread; | 91 class WebThread; |
91 class WebURL; | 92 class WebURL; |
92 class WebURLLoader; | 93 class WebURLLoader; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 | 296 |
296 // Returns a new WebURLLoader instance. | 297 // Returns a new WebURLLoader instance. |
297 virtual WebURLLoader* createURLLoader() { return 0; } | 298 virtual WebURLLoader* createURLLoader() { return 0; } |
298 | 299 |
299 // May return null. | 300 // May return null. |
300 virtual WebPrescientNetworking* prescientNetworking() { return 0; } | 301 virtual WebPrescientNetworking* prescientNetworking() { return 0; } |
301 | 302 |
302 // Returns a new WebSocketStreamHandle instance. | 303 // Returns a new WebSocketStreamHandle instance. |
303 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } | 304 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } |
304 | 305 |
306 // Returns a new WebSocketChannelHandle instance. | |
307 virtual WebSocketChannelHandle* createWebSocketChannelHandle() { return 0; } | |
abarth-chromium
2013/08/22 19:39:07
Is the word "channel" essential here? Can we just
yhirano
2013/08/23 01:35:13
Done.
| |
308 | |
305 // Returns the User-Agent string that should be used for the given URL. | 309 // Returns the User-Agent string that should be used for the given URL. |
306 virtual WebString userAgent(const WebURL&) { return WebString(); } | 310 virtual WebString userAgent(const WebURL&) { return WebString(); } |
307 | 311 |
308 // A suggestion to cache this metadata in association with this URL. | 312 // A suggestion to cache this metadata in association with this URL. |
309 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d ata, size_t dataSize) { } | 313 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d ata, size_t dataSize) { } |
310 | 314 |
311 // Returns the decoded data url if url had a supported mimetype and parsing was successful. | 315 // Returns the decoded data url if url had a supported mimetype and parsing was successful. |
312 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString& charset) { return WebData(); } | 316 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString& charset) { return WebData(); } |
313 | 317 |
314 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); } | 318 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError (); } |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
572 WebStorageQuotaType, | 576 WebStorageQuotaType, |
573 WebStorageQuotaCallbacks*) { } | 577 WebStorageQuotaCallbacks*) { } |
574 | 578 |
575 protected: | 579 protected: |
576 virtual ~Platform() { } | 580 virtual ~Platform() { } |
577 }; | 581 }; |
578 | 582 |
579 } // namespace WebKit | 583 } // namespace WebKit |
580 | 584 |
581 #endif | 585 #endif |
OLD | NEW |