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

Unified Diff: remoting/webapp/client_session.js

Issue 491873004: Add an explicit full-screen button. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webapp_move_context_menu
Patch Set: Rebase. 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 | « remoting/resources/icon_fullscreen.webp ('k') | remoting/webapp/fullscreen.js » ('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 59c50bbcd19f4d202f5bf08b5b5a6ad25b5cad4e..e8d78da0c0b18ece720e0311dda5c07550405435 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -591,7 +591,6 @@ remoting.ClientSession.prototype.removePlugin = function() {
// Leave full-screen mode, and stop listening for related events.
var listener = this.callOnFullScreenChanged_;
- remoting.fullscreen.syncWithMaximize(false);
remoting.fullscreen.activate(
false,
function() {
@@ -984,7 +983,6 @@ remoting.ClientSession.prototype.onConnectionStatusUpdate_ =
}
// Activate full-screen related UX.
remoting.fullscreen.addListener(this.callOnFullScreenChanged_);
- remoting.fullscreen.syncWithMaximize(true);
if (remoting.windowFrame) {
remoting.windowFrame.setClientSession(this);
} else {
« no previous file with comments | « remoting/resources/icon_fullscreen.webp ('k') | remoting/webapp/fullscreen.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698