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

Unified Diff: remoting/webapp/window_frame.js

Issue 478033004: Fix a couple of scroll-related issues: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed position and size for apps v1. 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/webapp/main.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/window_frame.js
diff --git a/remoting/webapp/window_frame.js b/remoting/webapp/window_frame.js
index 6aa32b03e193309aa73136f8378132182db93cbe..71a905bdb1e56eb1ee34d29719eccd6065c3797d 100644
--- a/remoting/webapp/window_frame.js
+++ b/remoting/webapp/window_frame.js
@@ -110,12 +110,10 @@ remoting.WindowFrame.prototype.setClientSession = function(clientSession) {
this.clientSession_ = clientSession;
var windowTitle = document.head.querySelector('title');
if (this.clientSession_) {
- document.body.classList.add('connected');
this.title_.innerText = clientSession.getHostDisplayName();
windowTitle.innerText = clientSession.getHostDisplayName() + ' - ' +
chrome.i18n.getMessage(/*i18n-content*/'PRODUCT_NAME');
} else {
- document.body.classList.remove('connected');
this.title_.innerHTML = ' ';
windowTitle.innerText =
chrome.i18n.getMessage(/*i18n-content*/'PRODUCT_NAME');
« no previous file with comments | « remoting/webapp/main.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698