| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 class WebSpeechSynthesizer; | 108 class WebSpeechSynthesizer; |
| 109 class WebSpeechSynthesizerClient; | 109 class WebSpeechSynthesizerClient; |
| 110 class WebStorageNamespace; | 110 class WebStorageNamespace; |
| 111 class WebSyncProvider; | 111 class WebSyncProvider; |
| 112 struct WebFloatPoint; | 112 struct WebFloatPoint; |
| 113 class WebThemeEngine; | 113 class WebThemeEngine; |
| 114 class WebThread; | 114 class WebThread; |
| 115 class WebTrialTokenValidator; | 115 class WebTrialTokenValidator; |
| 116 class WebURL; | 116 class WebURL; |
| 117 class WebURLLoader; | 117 class WebURLLoader; |
| 118 class WebURLResponse; |
| 118 class WebUnitTestSupport; | 119 class WebUnitTestSupport; |
| 119 struct WebLocalizedString; | 120 struct WebLocalizedString; |
| 120 struct WebSize; | 121 struct WebSize; |
| 121 | 122 |
| 122 class Platform { | 123 class Platform { |
| 123 public: | 124 public: |
| 124 // HTML5 Database ------------------------------------------------------ | 125 // HTML5 Database ------------------------------------------------------ |
| 125 | 126 |
| 126 #ifdef WIN32 | 127 #ifdef WIN32 |
| 127 typedef HANDLE FileHandle; | 128 typedef HANDLE FileHandle; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 | 311 |
| 311 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 312 // 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(); } | 313 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } |
| 313 | 314 |
| 314 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 315 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
| 315 | 316 |
| 316 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } | 317 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } |
| 317 | 318 |
| 318 virtual bool portAllowed(const WebURL&) const { return false; } | 319 virtual bool portAllowed(const WebURL&) const { return false; } |
| 319 | 320 |
| 321 // Returns true and stores the position of the end of the headers to |*end| |
| 322 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. |
| 323 virtual bool parseAdditionalHeaders(const char* bytes, size_t /* size */, We
bURLResponse*, size_t* end) const { return false; } |
| 324 |
| 320 // Plugins ------------------------------------------------------------- | 325 // Plugins ------------------------------------------------------------- |
| 321 | 326 |
| 322 // If refresh is true, then cached information should not be used to | 327 // If refresh is true, then cached information should not be used to |
| 323 // satisfy this call. | 328 // satisfy this call. |
| 324 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 329 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } |
| 325 | 330 |
| 326 | 331 |
| 327 // Public Suffix List -------------------------------------------------- | 332 // Public Suffix List -------------------------------------------------- |
| 328 | 333 |
| 329 // May return null on some platforms. | 334 // May return null on some platforms. |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 protected: | 601 protected: |
| 597 BLINK_PLATFORM_EXPORT Platform(); | 602 BLINK_PLATFORM_EXPORT Platform(); |
| 598 virtual ~Platform() { } | 603 virtual ~Platform() { } |
| 599 | 604 |
| 600 WebThread* m_mainThread; | 605 WebThread* m_mainThread; |
| 601 }; | 606 }; |
| 602 | 607 |
| 603 } // namespace blink | 608 } // namespace blink |
| 604 | 609 |
| 605 #endif | 610 #endif |
| OLD | NEW |