summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 16:02:19 +0000
committersimonmorris@chromium.org <simonmorris@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-21 16:02:19 +0000
commit4e8131f6e889a1cfbe138aa34833c4174d19fed2 (patch)
treeef1660505d99939a6221ea1f25b881ed71a9a3ed /remoting
parent775e37aa10a7aff3eb792d75d55ea346e436e220 (diff)
downloadchromium_src-4e8131f6e889a1cfbe138aa34833c4174d19fed2.zip
chromium_src-4e8131f6e889a1cfbe138aa34833c4174d19fed2.tar.gz
chromium_src-4e8131f6e889a1cfbe138aa34833c4174d19fed2.tar.bz2
[Chromoting] Make the state of the scale-to-fit button visible, and correct at startup.
BUG=116633 Review URL: https://chromiumcodereview.appspot.com/9798001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127972 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/client_session.js2
-rw-r--r--remoting/webapp/main.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
index bdba23c..9de1d48 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -227,7 +227,7 @@ remoting.ClientSession.prototype.onPluginInitialized_ =
}
// Enable scale-to-fit if the plugin is new enough for high-quality scaling.
- this.setScaleToFit(this.plugin.isHiQualityScalingSupported());
+ remoting.setScaleToFit(this.plugin.isHiQualityScalingSupported());
/** @type {remoting.ClientSession} */ var that = this;
/** @param {string} msg The IQ stanza to send. */
diff --git a/remoting/webapp/main.css b/remoting/webapp/main.css
index 1c7005c..6b00d4c 100644
--- a/remoting/webapp/main.css
+++ b/remoting/webapp/main.css
@@ -154,7 +154,7 @@ Component: Modal Dialog
-webkit-transition: all 0.218s;
}
-button:active {
+button:active, .toggle-button-active {
background: #ebebeb -webkit-linear-gradient(#f4f4f4, #efefef 40%, #dcdcdc);
color: #333;
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.2);