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

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: Rebase Created 8 years, 1 month 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') | chrome/browser/ui/ash/ash_init.cc » ('j') | 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 7ead86f5f4247b5817573d351bff1c399f79f67e..7513df2fff0bb1e18c4543f3d0df8c568e9c8249 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -392,9 +392,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]);
};
}
@@ -1154,11 +1154,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',
« no previous file with comments | « chrome/browser/resources/options/browser_options.html ('k') | chrome/browser/ui/ash/ash_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698