| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 class WebRTCPeerConnectionHandlerClient; | 70 class WebRTCPeerConnectionHandlerClient; |
| 71 class WebSandboxSupport; | 71 class WebSandboxSupport; |
| 72 class WebSocketStreamHandle; | 72 class WebSocketStreamHandle; |
| 73 class WebSpeechSynthesizer; | 73 class WebSpeechSynthesizer; |
| 74 class WebSpeechSynthesizerClient; | 74 class WebSpeechSynthesizerClient; |
| 75 class WebStorageNamespace; | 75 class WebStorageNamespace; |
| 76 class WebUnitTestSupport; | 76 class WebUnitTestSupport; |
| 77 class WebThemeEngine; | 77 class WebThemeEngine; |
| 78 class WebThread; | 78 class WebThread; |
| 79 class WebURL; | 79 class WebURL; |
| 80 class WebURLError; |
| 80 class WebURLLoader; | 81 class WebURLLoader; |
| 81 class WebWorkerRunLoop; | 82 class WebWorkerRunLoop; |
| 82 struct WebFloatPoint; | 83 struct WebFloatPoint; |
| 83 struct WebLocalizedString; | 84 struct WebLocalizedString; |
| 84 struct WebSize; | 85 struct WebSize; |
| 85 | 86 |
| 86 class Platform { | 87 class Platform { |
| 87 public: | 88 public: |
| 88 // HTML5 Database ------------------------------------------------------ | 89 // HTML5 Database ------------------------------------------------------ |
| 89 | 90 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 266 |
| 266 // Returns a new WebSocketStreamHandle instance. | 267 // Returns a new WebSocketStreamHandle instance. |
| 267 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } | 268 virtual WebSocketStreamHandle* createSocketStreamHandle() { return 0; } |
| 268 | 269 |
| 269 // Returns the User-Agent string that should be used for the given URL. | 270 // Returns the User-Agent string that should be used for the given URL. |
| 270 virtual WebString userAgent(const WebURL&) { return WebString(); } | 271 virtual WebString userAgent(const WebURL&) { return WebString(); } |
| 271 | 272 |
| 272 // A suggestion to cache this metadata in association with this URL. | 273 // A suggestion to cache this metadata in association with this URL. |
| 273 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } | 274 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } |
| 274 | 275 |
| 276 virtual WebURLError cancelledError(const WebURL&) const; |
| 277 |
| 275 | 278 |
| 276 // Plugins ------------------------------------------------------------- | 279 // Plugins ------------------------------------------------------------- |
| 277 | 280 |
| 278 // If refresh is true, then cached information should not be used to | 281 // If refresh is true, then cached information should not be used to |
| 279 // satisfy this call. | 282 // satisfy this call. |
| 280 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } | 283 virtual void getPluginList(bool refresh, WebPluginListBuilder*) { } |
| 281 | 284 |
| 282 | 285 |
| 283 // Resources ----------------------------------------------------------- | 286 // Resources ----------------------------------------------------------- |
| 284 | 287 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 514 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 512 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 515 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 513 | 516 |
| 514 protected: | 517 protected: |
| 515 virtual ~Platform() { } | 518 virtual ~Platform() { } |
| 516 }; | 519 }; |
| 517 | 520 |
| 518 } // namespace WebKit | 521 } // namespace WebKit |
| 519 | 522 |
| 520 #endif | 523 #endif |
| OLD | NEW |