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

Unified Diff: remoting/webapp/crd/js/client_session.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: Rebase 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
« no previous file with comments | « remoting/webapp/crd/js/app_launcher.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/client_session.js
diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
index f0fa9b4b95417eb6acbc78adfe3688b93a73344f..73bf54e140d656e608692780f81aaf345da29b51 100644
--- a/remoting/webapp/crd/js/client_session.js
+++ b/remoting/webapp/crd/js/client_session.js
@@ -607,13 +607,8 @@ remoting.ClientSession.prototype.removePlugin = function() {
this.plugin_ = null;
}
- // Leave full-screen mode, and stop listening for related events.
- var listener = this.callOnFullScreenChanged_;
- remoting.fullscreen.activate(
- false,
- function() {
- remoting.fullscreen.removeListener(listener);
- });
+ // Stop listening for full-screen events.
+ remoting.fullscreen.removeListener(this.callOnFullScreenChanged_);
this.updateClientSessionUi_(null);
this.container_.removeEventListener('mousemove',
« no previous file with comments | « remoting/webapp/crd/js/app_launcher.js ('k') | remoting/webapp/crd/js/desktop_remoting.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698