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

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: 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/client_session.js
diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js
index 8c54cb743eedce5e197e53a30c940b372b61cf1a..17cb920f038aa9dcb8ec558fb200ef663fb339d5 100644
--- a/remoting/webapp/crd/js/client_session.js
+++ b/remoting/webapp/crd/js/client_session.js
@@ -611,13 +611,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_);
kelvinp 2015/01/23 23:39:58 Rant: It is weird that sometimes the clientSession
Jamie 2015/01/24 00:46:35 We are going to have to disentangle full-screen fr
this.updateClientSessionUi_(null);
this.container_.removeEventListener('mousemove',

Powered by Google App Engine
This is Rietveld 408576698