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

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, 2 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 6fc7f7868cacf6a215771dae8b73e21c0dd9b66e..b2440b0a2d1b2119a55442382ea5e6887f97916e 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -440,9 +440,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]);
};
}
@@ -1155,11 +1155,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;
},
/**
@@ -1302,7 +1302,7 @@ cr.define('options', function() {
'setMetricsReportingSettingVisibility',
'setPasswordGenerationSettingVisibility',
'setProfilesInfo',
- 'setScreenMagnifierCheckboxState',
+ 'setScreenMagnifierTypeState',
'setSpokenFeedbackCheckboxState',
'setThemesResetButtonEnabled',
'setVirtualKeyboardCheckboxState',

Powered by Google App Engine
This is Rietveld 408576698