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 WebMessagePortChannel; | 84 class WebMessagePortChannel; |
85 class WebMimeRegistry; | 85 class WebMimeRegistry; |
86 class WebNotificationPresenter; | 86 class WebNotificationPresenter; |
87 class WebPluginListBuilder; | 87 class WebPluginListBuilder; |
88 class WebPrescientNetworking; | 88 class WebPrescientNetworking; |
89 class WebPublicSuffixList; | 89 class WebPublicSuffixList; |
90 class WebRTCPeerConnectionHandler; | 90 class WebRTCPeerConnectionHandler; |
91 class WebRTCPeerConnectionHandlerClient; | 91 class WebRTCPeerConnectionHandlerClient; |
92 class WebSandboxSupport; | 92 class WebSandboxSupport; |
93 class WebScrollbarBehavior; | 93 class WebScrollbarBehavior; |
| 94 class WebSecurityOrigin; |
94 class WebSocketHandle; | 95 class WebSocketHandle; |
95 class WebSocketStreamHandle; | 96 class WebSocketStreamHandle; |
96 class WebSpeechSynthesizer; | 97 class WebSpeechSynthesizer; |
97 class WebSpeechSynthesizerClient; | 98 class WebSpeechSynthesizerClient; |
98 class WebStorageNamespace; | 99 class WebStorageNamespace; |
99 struct WebFloatPoint; | 100 struct WebFloatPoint; |
100 class WebThemeEngine; | 101 class WebThemeEngine; |
101 class WebThread; | 102 class WebThread; |
102 class WebURL; | 103 class WebURL; |
103 class WebURLLoader; | 104 class WebURLLoader; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 virtual WebString userAgent() { return WebString(); } | 324 virtual WebString userAgent() { return WebString(); } |
324 | 325 |
325 // A suggestion to cache this metadata in association with this URL. | 326 // A suggestion to cache this metadata in association with this URL. |
326 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } | 327 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } |
327 | 328 |
328 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 329 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. |
329 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } | 330 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } |
330 | 331 |
331 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 332 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
332 | 333 |
| 334 virtual bool isReservedIPAddress(const WebURL&) const { return false; } |
| 335 virtual bool isReservedIPAddress(const WebSecurityOrigin&) const { return fa
lse; } |
333 | 336 |
334 // Plugins ------------------------------------------------------------- | 337 // Plugins ------------------------------------------------------------- |
335 | 338 |
336 // If refresh is true, then cached information should not be used to | 339 // If refresh is true, then cached information should not be used to |
337 // satisfy this call. | 340 // satisfy this call. |
338 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 341 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } |
339 | 342 |
340 | 343 |
341 // Public Suffix List -------------------------------------------------- | 344 // Public Suffix List -------------------------------------------------- |
342 | 345 |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 virtual WebNotificationPresenter* notificationPresenter() { return 0; } | 643 virtual WebNotificationPresenter* notificationPresenter() { return 0; } |
641 | 644 |
642 | 645 |
643 protected: | 646 protected: |
644 virtual ~Platform() { } | 647 virtual ~Platform() { } |
645 }; | 648 }; |
646 | 649 |
647 } // namespace blink | 650 } // namespace blink |
648 | 651 |
649 #endif | 652 #endif |
OLD | NEW |