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

Unified Diff: content/renderer/render_view_impl.cc

Issue 652673002: NOT FOR REVIEW: Modify ToggleFullscreenMode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixPowerBlockerNonMedia
Patch Set: Rebase Created 6 years, 2 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 | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 56e507ce08dd40bbf6ec282a6ec0ec4bbf1ab949..af29c7008ad54e0f00cbe3fc000be90efdb6f3d1 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2073,13 +2073,13 @@ void RenderViewImpl::runModal() {
routing_id_, opener_id_));
}
-bool RenderViewImpl::enterFullScreen() {
- Send(new ViewHostMsg_ToggleFullscreen(routing_id_, true));
+bool RenderViewImpl::enterFullScreen(bool is_video) {
+ Send(new ViewHostMsg_ToggleFullscreen(routing_id_, true, is_video));
return true;
}
-void RenderViewImpl::exitFullScreen() {
- Send(new ViewHostMsg_ToggleFullscreen(routing_id_, false));
+void RenderViewImpl::exitFullScreen(bool is_video) {
+ Send(new ViewHostMsg_ToggleFullscreen(routing_id_, false, is_video));
}
bool RenderViewImpl::requestPointerLock() {
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698