Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index d00f86f7475e860ef4369767f636140306d707db..a466e6206cca320c0a8ca7afbbabafce53ba7b50 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -55,6 +55,7 @@ class WebContentDecryptionModule; |
class WebClipboard; |
class WebCompositorSupport; |
class WebCookieJar; |
+class WebCrypto; |
class WebDeviceMotionListener; |
class WebDiscardableMemory; |
class WebFallbackThemeEngine; |
@@ -294,6 +295,7 @@ public: |
// A wrapper for tcmalloc's GetHeapProfile() |
virtual WebString getHeapProfile() { return WebString(); } |
+ |
// Message Ports ------------------------------------------------------- |
// Creates a Message Port Channel. This can be called on any thread. |
@@ -533,6 +535,7 @@ public: |
// with |velocity| and already scrolled |cumulativeScroll| pixels. |
virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; } |
+ |
// WebRTC ---------------------------------------------------------- |
// Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. |
@@ -549,6 +552,12 @@ public: |
virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
+ // WebCrypto ---------------------------------------------------------- |
+ |
+ // May return 0. |
+ virtual WebCrypto* crypto() { return 0; } |
+ |
+ |
// Device Motion / Orientation ---------------------------------------- |
// Sets a Listener to listen for device motion data updates. |