| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 class WebCompositorSupport; | 62 class WebCompositorSupport; |
| 63 class WebConvertableToTraceFormat; | 63 class WebConvertableToTraceFormat; |
| 64 class WebDiscardableMemory; | 64 class WebDiscardableMemory; |
| 65 class WebPlatformEventListener; | 65 class WebPlatformEventListener; |
| 66 class WebFallbackThemeEngine; | 66 class WebFallbackThemeEngine; |
| 67 class WebFlingAnimator; | 67 class WebFlingAnimator; |
| 68 class WebGestureCurveTarget; | 68 class WebGestureCurveTarget; |
| 69 class WebGestureCurve; | 69 class WebGestureCurve; |
| 70 class WebGraphicsContext3DProvider; | 70 class WebGraphicsContext3DProvider; |
| 71 class WebMimeRegistry; | 71 class WebMimeRegistry; |
| 72 class WebPublicSuffixList; | |
| 73 class WebSandboxSupport; | 72 class WebSandboxSupport; |
| 74 class WebScrollbarBehavior; | 73 class WebScrollbarBehavior; |
| 75 struct WebFloatPoint; | 74 struct WebFloatPoint; |
| 76 class WebThemeEngine; | 75 class WebThemeEngine; |
| 77 class WebURL; | 76 class WebURL; |
| 78 class WebURLLoader; | 77 class WebURLLoader; |
| 79 class WebUnitTestSupport; | 78 class WebUnitTestSupport; |
| 80 struct WebLocalizedString; | 79 struct WebLocalizedString; |
| 81 struct WebSize; | 80 struct WebSize; |
| 82 | 81 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 virtual mojo::NetworkService* networkService() { return 0; } | 178 virtual mojo::NetworkService* networkService() { return 0; } |
| 180 | 179 |
| 181 // Returns a new WebURLLoader instance. | 180 // Returns a new WebURLLoader instance. |
| 182 virtual WebURLLoader* createURLLoader() { return 0; } | 181 virtual WebURLLoader* createURLLoader() { return 0; } |
| 183 | 182 |
| 184 // A suggestion to cache this metadata in association with this URL. | 183 // A suggestion to cache this metadata in association with this URL. |
| 185 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } | 184 virtual void cacheMetadata(const WebURL&, double responseTime, const char* d
ata, size_t dataSize) { } |
| 186 | 185 |
| 187 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } | 186 virtual WebURLError cancelledError(const WebURL&) const { return WebURLError
(); } |
| 188 | 187 |
| 189 virtual bool isReservedIPAddress(const WebURL&) const { return false; } | |
| 190 | |
| 191 | |
| 192 // Public Suffix List -------------------------------------------------- | |
| 193 | |
| 194 // May return null on some platforms. | |
| 195 virtual WebPublicSuffixList* publicSuffixList() { return 0; } | |
| 196 | |
| 197 | |
| 198 // Resources ----------------------------------------------------------- | 188 // Resources ----------------------------------------------------------- |
| 199 | 189 |
| 200 // Returns a localized string resource (with substitution parameters). | 190 // Returns a localized string resource (with substitution parameters). |
| 201 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } | 191 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } |
| 202 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } | 192 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } |
| 203 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } | 193 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } |
| 204 | 194 |
| 205 | 195 |
| 206 // Profiling ----------------------------------------------------------- | 196 // Profiling ----------------------------------------------------------- |
| 207 | 197 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 // longer notify the listener, if any. | 405 // longer notify the listener, if any. |
| 416 virtual void stopListening(WebPlatformEventType type) { } | 406 virtual void stopListening(WebPlatformEventType type) { } |
| 417 | 407 |
| 418 protected: | 408 protected: |
| 419 virtual ~Platform() { } | 409 virtual ~Platform() { } |
| 420 }; | 410 }; |
| 421 | 411 |
| 422 } // namespace blink | 412 } // namespace blink |
| 423 | 413 |
| 424 #endif | 414 #endif |
| OLD | NEW |