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

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

Issue 958693002: Fix bump scrolling doesn't work if the app is in fullscreen mode before connecting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/desktop_connected_view.js
diff --git a/remoting/webapp/crd/js/desktop_connected_view.js b/remoting/webapp/crd/js/desktop_connected_view.js
index 5e6d2575d23ae88cbfe72fa35063ab680d68bb19..dde6821a4e0735a6fd3f3d0443f87ac0fd8af49c 100644
--- a/remoting/webapp/crd/js/desktop_connected_view.js
+++ b/remoting/webapp/crd/js/desktop_connected_view.js
@@ -307,8 +307,10 @@ remoting.DesktopConnectedView.prototype.updateClientSessionUi_ = function(
document.body.classList.add('connected');
this.container_.addEventListener(
'mousemove', this.updateMouseCursorPosition_, true);
+
// Activate full-screen related UX.
remoting.fullscreen.addListener(this.callOnFullScreenChanged_);
+ this.onFullScreenChanged_(remoting.fullscreen.isActive());
this.setFocusHandlers_();
}
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698