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

Unified Diff: chrome/renderer/render_view.cc

Issue 2775001: Add enable-video-fullscreen switch (Closed)
Patch Set: Add NOTIMPLEMENTED() Created 10 years, 6 months 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 | « chrome/renderer/render_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc
index 9ff9ccc1f2555032cb907360b33b6637666e2b58..5f304d3a228917839178dc23459e432f42253d5d 100755
--- a/chrome/renderer/render_view.cc
+++ b/chrome/renderer/render_view.cc
@@ -1898,6 +1898,19 @@ void RenderView::showContextMenu(
Send(new ViewHostMsg_ContextMenu(routing_id_, params));
}
+bool RenderView::supportsFullscreen() {
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableVideoFullscreen);
+}
+
+void RenderView::enterFullscreenForNode(const WebKit::WebNode& node) {
+ NOTIMPLEMENTED();
+}
+
+void RenderView::exitFullscreenForNode(const WebKit::WebNode& node) {
+ NOTIMPLEMENTED();
+}
+
void RenderView::setStatusText(const WebString& text) {
}
« no previous file with comments | « chrome/renderer/render_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698