diff options
Diffstat (limited to 'Source/Platform/chromium/public/Platform.h')
-rw-r--r-- | Source/Platform/chromium/public/Platform.h | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/Source/Platform/chromium/public/Platform.h b/Source/Platform/chromium/public/Platform.h index 64df3ba89..d6ba86fe7 100644 --- a/Source/Platform/chromium/public/Platform.h +++ b/Source/Platform/chromium/public/Platform.h @@ -52,21 +52,22 @@ class WebClipboard; class WebCookieJar; class WebFileSystem; class WebFileUtilities; +class WebFlingAnimator; class WebMediaStreamCenter; class WebMediaStreamCenterClient; class WebMessagePortChannel; class WebMimeRegistry; class WebPeerConnection00Handler; class WebPeerConnection00HandlerClient; -class WebPeerConnectionHandler; -class WebPeerConnectionHandlerClient; -class WebURL; -class WebURLLoader; +class WebRTCPeerConnectionHandler; +class WebRTCPeerConnectionHandlerClient; class WebSandboxSupport; class WebSocketStreamHandle; class WebStorageNamespace; class WebThemeEngine; class WebThread; +class WebURL; +class WebURLLoader; class WebWorkerRunLoop; struct WebLocalizedString; @@ -164,6 +165,15 @@ public: virtual bool isLinkVisited(unsigned long long linkHash) { return false; } + // Hyphenation --------------------------------------------------------- + + // Returns whether we can support hyphenation for the given locale. + virtual bool canHyphenate(const WebString& locale) { return false; } + + // Returns the last position where we can add a hyphen before the given position. + virtual size_t computeLastHyphenLocation(const WebUChar* characters, size_t length, size_t beforeIndex, const WebString& locale) { return 0; } + + // Keygen -------------------------------------------------------------- // Handle the <keygen> tag for generating client certificates @@ -401,19 +411,20 @@ public: // This value must be checked again after a context loss event as the platform's capabilities may have changed. virtual bool canAccelerate2dCanvas() { return false; } + virtual WebFlingAnimator* createFlingAnimator() { return 0; } // WebRTC ---------------------------------------------------------- // DEPRECATED - // Creates an WebPeerConnectionHandler for DeprecatedPeerConnection. - // May return null if WebRTC functionality is not avaliable or out of resources. - virtual WebPeerConnectionHandler* createPeerConnectionHandler(WebPeerConnectionHandlerClient*) { return 0; } - // Creates an WebPeerConnection00Handler for PeerConnection00. // This is an highly experimental feature not yet in the WebRTC standard. // May return null if WebRTC functionality is not avaliable or out of resources. virtual WebPeerConnection00Handler* createPeerConnection00Handler(WebPeerConnection00HandlerClient*) { return 0; } + // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. + // May return null if WebRTC functionality is not avaliable or out of resources. + virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPeerConnectionHandlerClient*) { return 0; } + // May return null if WebRTC functionality is not avaliable or out of resources. virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterClient*) { return 0; } |