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

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

Issue 7718008: Use a split toggle button to reflect scaling state. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added tool-tip for scale-to-fit button. 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
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..0bbe55b50bc348cf7e9a24b68ddb515e23e72ff6 100644
--- a/remoting/webapp/me2mom/client_session.js
+++ b/remoting/webapp/me2mom/client_session.js
@@ -365,7 +365,7 @@ remoting.ClientSession.prototype.onDesktopSizeChanged_ = function() {
* @param {boolean} shouldScale If the plugin should scale itself.
* @return {void} Nothing.
*/
-remoting.ClientSession.prototype.toggleScaleToFit = function(shouldScale) {
+remoting.ClientSession.prototype.setScaleToFit = function(shouldScale) {
if (shouldScale) {
if (this.plugin.desktopWidth == 0 ||
this.plugin.desktopHeight == 0) {

Powered by Google App Engine
This is Rietveld 408576698