Index: public/web/WebFrameClient.h |
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h |
index c6559bd922b592a19f8aa297d5fdf50ac632eb3b..26e7547469344df070c8072bd3a4c3fae6d0a8a8 100644 |
--- a/public/web/WebFrameClient.h |
+++ b/public/web/WebFrameClient.h |
@@ -592,6 +592,17 @@ public: |
// Access the embedder API for speech recognition services. |
virtual WebSpeechRecognizer* speechRecognizer() { return 0; } |
+ |
+ // Fullscreen ---------------------------------------------------------- |
+ |
+ // Called to enter/exit fullscreen mode. If enterFullScreen returns true, |
+ // then WebWidget::{will,Did}EnterFullScreen should bound resizing the |
+ // WebWidget into fullscreen mode. Similarly, when exitFullScreen is |
+ // called, WebWidget::{will,Did}ExitFullScreen should bound resizing the |
+ // WebWidget out of fullscreen mode. |
+ virtual bool enterFullscreen() { return false; } |
+ virtual bool exitFullscreen() { return false; } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |