Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Don't exit full-screen on disconnect.
Browse files Browse the repository at this point in the history
BUG=473265

Review URL: https://codereview.chromium.org/1075073002

Cr-Commit-Position: refs/heads/master@{#324699}
  • Loading branch information
jamiewalch authored and Commit bot committed Apr 10, 2015
1 parent 11ef8b4 commit 0e37ea0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions remoting/webapp/crd/js/window_frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,6 @@ remoting.WindowFrame.prototype.getClientArea = function() {
* @private
*/
remoting.WindowFrame.prototype.disconnectSession_ = function() {
// When the user disconnects, exit full-screen mode. This should not be
// necessary, as we do the same thing in client_session.js when the plugin
// is removed. However, there seems to be a bug in chrome.AppWindow.restore
// that causes it to get stuck in full-screen mode without this.
if (chrome.app.window.current().isFullscreen()) {
chrome.app.window.current().restore();
}
remoting.app.disconnect();
};

Expand Down

0 comments on commit 0e37ea0

Please sign in to comment.