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

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

Issue 10915140: Add the partial screen magnifier to Chrome OS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Code review fixes Created 8 years, 3 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: 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 6ec7da0a8c31d292273414624281519464253503..2c2c6de907c81656f9f7a065907057cf47ea066e 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -442,9 +442,9 @@ cr.define('options', function() {
[$('accessibility-high-contrast-check').checked]);
};
- $('accessibility-screen-magnifier-check').onchange = function(event) {
+ $('accessibility-screen-magnifier-type').onchange = function(event) {
chrome.send('screenMagnifierChange',
- [$('accessibility-screen-magnifier-check').checked]);
+ [$('accessibility-screen-magnifier-type').value]);
};
}
@@ -1171,11 +1171,11 @@ cr.define('options', function() {
},
/**
- * Set the initial state of the screen magnifier checkbox.
+ * Set the initial state of the screen magnifier dropdown.
* @private
*/
- setScreenMagnifierCheckboxState_: function(checked) {
- $('accessibility-screen-magnifier-check').checked = checked;
+ setScreenMagnifierTypeState_: function(type) {
+ $('accessibility-screen-magnifier-type').value = type;
},
/**
@@ -1319,7 +1319,7 @@ cr.define('options', function() {
'setMetricsReportingSettingVisibility',
'setPasswordGenerationSettingVisibility',
'setProfilesInfo',
- 'setScreenMagnifierCheckboxState',
+ 'setScreenMagnifierTypeState',
'setSpokenFeedbackCheckboxState',
'setThemesResetButtonEnabled',
'setupCloudPrintConnectorSection',

Powered by Google App Engine
This is Rietveld 408576698