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

Unified Diff: remoting/webapp/crd/js/fullscreen_v2.js

Issue 875583002: Allow full-screen mode when not connected, and remember the previous setting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
Index: remoting/webapp/crd/js/fullscreen_v2.js
diff --git a/remoting/webapp/crd/js/fullscreen_v2.js b/remoting/webapp/crd/js/fullscreen_v2.js
index ea20f9000f7185ce7554154ac9890fc1bbec28dc..adaccc3ba85568d8689f7bdafa96a4a6918806fe 100644
--- a/remoting/webapp/crd/js/fullscreen_v2.js
+++ b/remoting/webapp/crd/js/fullscreen_v2.js
@@ -43,6 +43,8 @@ remoting.FullscreenAppsV2 = function() {
this.onFullscreened_.bind(this));
chrome.app.window.current().onRestored.addListener(
this.onRestored_.bind(this));
+
+ document.body.classList.toggle('fullscreen', this.isActive());
};
remoting.FullscreenAppsV2.prototype.activate = function(

Powered by Google App Engine
This is Rietveld 408576698