Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index 9a1f0cefc3ed01dcb98076b8c226ac92fc540012..b4c911e1977284a79a644d258b017bc30f85ffe4 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -75,6 +75,7 @@ class WebSocketHandle; |
class WebNode; |
class WebPlugin; |
class WebRTCPeerConnectionHandler; |
+class WebScreenOrientationClient; |
class WebSharedWorker; |
class WebSharedWorkerClient; |
class WebSocketStreamHandle; |
@@ -511,6 +512,12 @@ public: |
// Send initial drawing parameters to a child frame that is being rendered out of process. |
virtual void initializeChildFrame(const WebRect& frameRect, float scaleFactor) { } |
+ |
+ // Screen Orientation -------------------------------------------------- |
+ |
+ // Access the embedder API for (client-based) screen orientation client . |
+ virtual WebScreenOrientationClient* webScreenOrientationClient() { return 0; } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |