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

Unified Diff: remoting/webapp/client_session.js

Issue 478033004: Fix a couple of scroll-related issues: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed position and size for apps v1. Created 6 years, 4 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 | « no previous file | remoting/webapp/html/template_main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_session.js
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
index d4c570845703086bb65374a97eb747aa5936b5e9..05882cbefd6e0c59d4b02bb3179bde1f02818bb9 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -585,6 +585,7 @@ remoting.ClientSession.prototype.removePlugin = function() {
} else {
remoting.toolbar.setClientSession(null);
}
+ document.body.classList.remove('connected');
// Remove mediasource-rendering class from the container - this will also
// hide the <video> element.
@@ -972,6 +973,7 @@ remoting.ClientSession.prototype.onConnectionStatusUpdate_ =
} else {
remoting.toolbar.setClientSession(this);
}
+ document.body.classList.add('connected');
this.container_.addEventListener('mousemove',
this.updateMouseCursorPosition_,
« no previous file with comments | « no previous file | remoting/webapp/html/template_main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698