Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index 4e8481727846219c4eb3d0403c5f3c1ac3defcb8..bdbae5560eefc11a64f15f92f2a4e54ff677e2bb 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; |
@@ -292,6 +293,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. |
@@ -531,6 +533,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. |
@@ -547,6 +550,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. |