| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index c4a25d7609fa1743e65382eb206ff4f733f50b3e..7b00522961fd847de4e63fba46bdd95ef0caf8ed 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -85,6 +85,7 @@
|
| #endif
|
|
|
| #if defined(OS_CHROMEOS)
|
| +#include "ash/magnifier/magnifier_constants.h"
|
| #include "chrome/browser/chromeos/accessibility/accessibility_util.h"
|
| #include "chrome/browser/chromeos/extensions/wallpaper_manager_util.h"
|
| #include "chrome/browser/chromeos/login/user_manager.h"
|
| @@ -423,6 +424,22 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
|
|
|
| values->SetString("accessibilityLearnMoreURL",
|
| chrome::kChromeAccessibilityHelpURL);
|
| +
|
| + // Creates magnifierList.
|
| + base::ListValue* magnifierList = new base::ListValue();
|
| + base::ListValue* option_full = new base::ListValue();
|
| + option_full->Append(base::Value::CreateIntegerValue(ash::MAGNIFIER_FULL));
|
| + option_full->Append(new base::StringValue(l10n_util::GetStringUTF16(
|
| + IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL)));
|
| + base::ListValue* option_partial = new base::ListValue();
|
| + option_partial->Append(base::Value::CreateIntegerValue(
|
| + ash::MAGNIFIER_PARTIAL));
|
| + option_partial->Append(new base::StringValue(l10n_util::GetStringUTF16(
|
| + IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL)));
|
| + magnifierList->Append(option_full);
|
| + magnifierList->Append(option_partial);
|
| + values->Set("magnifierList", magnifierList);
|
| +
|
| #endif
|
| #if defined(OS_MACOSX)
|
| values->SetString("macPasswordsWarning",
|
|
|