| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 class WebMediaStreamCenterClient; | 84 class WebMediaStreamCenterClient; |
| 85 class WebMessagePortChannel; | 85 class WebMessagePortChannel; |
| 86 class WebMimeRegistry; | 86 class WebMimeRegistry; |
| 87 class WebNotificationPresenter; | 87 class WebNotificationPresenter; |
| 88 class WebPluginListBuilder; | 88 class WebPluginListBuilder; |
| 89 class WebPrescientNetworking; | 89 class WebPrescientNetworking; |
| 90 class WebPublicSuffixList; | 90 class WebPublicSuffixList; |
| 91 class WebRTCPeerConnectionHandler; | 91 class WebRTCPeerConnectionHandler; |
| 92 class WebRTCPeerConnectionHandlerClient; | 92 class WebRTCPeerConnectionHandlerClient; |
| 93 class WebSandboxSupport; | 93 class WebSandboxSupport; |
| 94 class WebSecurityOrigin; |
| 94 class WebScrollbarBehavior; | 95 class WebScrollbarBehavior; |
| 95 class WebSocketHandle; | 96 class WebSocketHandle; |
| 96 class WebSocketStreamHandle; | 97 class WebSocketStreamHandle; |
| 97 class WebSpeechSynthesizer; | 98 class WebSpeechSynthesizer; |
| 98 class WebSpeechSynthesizerClient; | 99 class WebSpeechSynthesizerClient; |
| 99 class WebStorageNamespace; | 100 class WebStorageNamespace; |
| 100 struct WebFloatPoint; | 101 struct WebFloatPoint; |
| 101 class WebThemeEngine; | 102 class WebThemeEngine; |
| 102 class WebThread; | 103 class WebThread; |
| 103 class WebURL; | 104 class WebURL; |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 virtual WebString userAgent() { return WebString(); } | 317 virtual WebString userAgent() { return WebString(); } |
| 317 | 318 |
| 318 // A suggestion to cache this metadata in association with this URL. | 319 // A suggestion to cache this metadata in association with this URL. |
| 319 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } | 320 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } |
| 320 | 321 |
| 321 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 322 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. |
| 322 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } | 323 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } |
| 323 | 324 |
| 324 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 325 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
| 325 | 326 |
| 327 virtual bool isReservedIPAddress(const WebURL&) const { return false; } |
| 328 virtual bool isReservedIPAddress(const WebSecurityOrigin&) const { return fa
lse; } |
| 326 | 329 |
| 327 // Plugins ------------------------------------------------------------- | 330 // Plugins ------------------------------------------------------------- |
| 328 | 331 |
| 329 // If refresh is true, then cached information should not be used to | 332 // If refresh is true, then cached information should not be used to |
| 330 // satisfy this call. | 333 // satisfy this call. |
| 331 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 334 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } |
| 332 | 335 |
| 333 | 336 |
| 334 // Public Suffix List -------------------------------------------------- | 337 // Public Suffix List -------------------------------------------------- |
| 335 | 338 |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 688 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
| 686 | 689 |
| 687 | 690 |
| 688 protected: | 691 protected: |
| 689 virtual ~Platform() { } | 692 virtual ~Platform() { } |
| 690 }; | 693 }; |
| 691 | 694 |
| 692 } // namespace blink | 695 } // namespace blink |
| 693 | 696 |
| 694 #endif | 697 #endif |
| OLD | NEW |