| 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 class WebSpeechSynthesizer; | 113 class WebSpeechSynthesizer; |
| 114 class WebSpeechSynthesizerClient; | 114 class WebSpeechSynthesizerClient; |
| 115 class WebStorageNamespace; | 115 class WebStorageNamespace; |
| 116 class WebSyncProvider; | 116 class WebSyncProvider; |
| 117 struct WebFloatPoint; | 117 struct WebFloatPoint; |
| 118 class WebThemeEngine; | 118 class WebThemeEngine; |
| 119 class WebThread; | 119 class WebThread; |
| 120 class WebTrialTokenValidator; | 120 class WebTrialTokenValidator; |
| 121 class WebURL; | 121 class WebURL; |
| 122 class WebURLLoader; | 122 class WebURLLoader; |
| 123 class WebURLResponse; |
| 123 class WebUnitTestSupport; | 124 class WebUnitTestSupport; |
| 124 struct WebLocalizedString; | 125 struct WebLocalizedString; |
| 125 struct WebSize; | 126 struct WebSize; |
| 126 | 127 |
| 127 class BLINK_PLATFORM_EXPORT Platform { | 128 class BLINK_PLATFORM_EXPORT Platform { |
| 128 public: | 129 public: |
| 129 // HTML5 Database ------------------------------------------------------ | 130 // HTML5 Database ------------------------------------------------------ |
| 130 | 131 |
| 131 #ifdef WIN32 | 132 #ifdef WIN32 |
| 132 typedef HANDLE FileHandle; | 133 typedef HANDLE FileHandle; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 | 316 |
| 316 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. | 317 // Returns the decoded data url if url had a supported mimetype and parsing
was successful. |
| 317 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } | 318 virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString&
charset) { return WebData(); } |
| 318 | 319 |
| 319 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 320 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
| 320 | 321 |
| 321 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } | 322 virtual bool isReservedIPAddress(const WebString& host) const { return false
; } |
| 322 | 323 |
| 323 virtual bool portAllowed(const WebURL&) const { return false; } | 324 virtual bool portAllowed(const WebURL&) const { return false; } |
| 324 | 325 |
| 326 // Returns true and stores the position of the end of the headers to |*end| |
| 327 // if the headers part ends in |bytes[0..size]|. Returns false otherwise. |
| 328 virtual bool parseMultipartHeadersFromBody(const char* bytes, size_t /* size
*/, WebURLResponse*, size_t* end) const { return false; } |
| 329 |
| 325 // Plugins ------------------------------------------------------------- | 330 // Plugins ------------------------------------------------------------- |
| 326 | 331 |
| 327 // 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 |
| 328 // satisfy this call. | 333 // satisfy this call. |
| 329 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 334 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } |
| 330 | 335 |
| 331 | 336 |
| 332 // Public Suffix List -------------------------------------------------- | 337 // Public Suffix List -------------------------------------------------- |
| 333 | 338 |
| 334 // May return null on some platforms. | 339 // May return null on some platforms. |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 protected: | 617 protected: |
| 613 Platform(); | 618 Platform(); |
| 614 virtual ~Platform() { } | 619 virtual ~Platform() { } |
| 615 | 620 |
| 616 WebThread* m_mainThread; | 621 WebThread* m_mainThread; |
| 617 }; | 622 }; |
| 618 | 623 |
| 619 } // namespace blink | 624 } // namespace blink |
| 620 | 625 |
| 621 #endif | 626 #endif |
| OLD | NEW |