Index: remoting/webapp/fullscreen_v2.js |
diff --git a/remoting/webapp/fullscreen_v2.js b/remoting/webapp/fullscreen_v2.js |
index 4e19f348c7b7e72defa505f7817f0e17c283ee80..3aaaab16f3006b4543de81343e387385df7bea85 100644 |
--- a/remoting/webapp/fullscreen_v2.js |
+++ b/remoting/webapp/fullscreen_v2.js |
@@ -102,6 +102,7 @@ remoting.FullscreenAppsV2.prototype.syncWithMaximize = function(sync) { |
remoting.FullscreenAppsV2.prototype.onFullscreened_ = function() { |
this.notifyCallbacksOnRestore_ = true; |
this.eventSource_.raiseEvent(this.kEventName_, true); |
+ document.body.classList.add('fullscreen'); |
}; |
remoting.FullscreenAppsV2.prototype.onMaximized_ = function() { |
@@ -111,6 +112,7 @@ remoting.FullscreenAppsV2.prototype.onMaximized_ = function() { |
}; |
remoting.FullscreenAppsV2.prototype.onRestored_ = function() { |
+ document.body.classList.remove('fullscreen'); |
if (this.hookingWindowEvents_) { |
this.activate(false); |
} |