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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 11550010: Remove partial magnifier from settings page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index cfa3b1e03229e7d9bf9974943ca70328a8b5d975..dd167355f72a9553a1026e19f3f40efc13aa9e35 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -405,9 +405,9 @@ cr.define('options', function() {
[$('accessibility-high-contrast-check').checked]);
};
- $('accessibility-screen-magnifier-type').onchange = function(event) {
- chrome.send('screenMagnifierChange',
- [$('accessibility-screen-magnifier-type').value]);
+ $('accessibility-screen-magnifier-check').onchange = function(event) {
+ var checked = $('accessibility-screen-magnifier-check').checked;
+ chrome.send('screenMagnifierChange', [checked ? 'full' : '']);
};
}
@@ -1190,7 +1190,7 @@ cr.define('options', function() {
* @private
*/
setMagnifierTypeState_: function(type) {
- $('accessibility-screen-magnifier-type').value = type;
+ $('accessibility-screen-magnifier-check').checked = (type != '');
},
/**
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698