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

Unified Diff: remoting/webapp/me2mom/client_session.js

Issue 7747029: Removed test code accidentally checked in and set plugin margins to zero. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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/me2mom/choice.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/client_session.js
diff --git a/remoting/webapp/me2mom/client_session.js b/remoting/webapp/me2mom/client_session.js
index 1dc22aa4bff69d6abb9a18a529bb1318ff3da5e2..d697019ea2d8dc175231c517735eb56cbb29106d 100644
--- a/remoting/webapp/me2mom/client_session.js
+++ b/remoting/webapp/me2mom/client_session.js
@@ -395,16 +395,9 @@ remoting.ClientSession.prototype.toggleScaleToFit = function(shouldScale) {
this.plugin.width = this.plugin.desktopWidth;
this.plugin.height = this.plugin.desktopHeight;
}
- remoting.debug.log('window size is now: ' +
- window.innerWidth + ' x ' + window.innerHeight + '.');
remoting.debug.log('plugin size is now: ' +
this.plugin.width + ' x ' + this.plugin.height + '.');
this.plugin.setScaleToFit(shouldScale);
- if (shouldScale) {
- addClass(document.all[0], 'hide-scrollbars');
- } else {
- removeClass(document.all[0], 'hide-scrollbars');
- }
remoting.debug.log('scale to fit is now: ' + shouldScale);
};
« no previous file with comments | « remoting/webapp/me2mom/choice.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698