Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: public/web/WebFrameClient.h

Issue 790543003: Add enterFullscreen/exitFullscreen to WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() { }
};
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698