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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 11280236: A11y: Add the option to always show the a11y tray menu regardless of the state of a11y features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/options/browser_options_handler.h" 5 #include "chrome/browser/ui/webui/options/browser_options_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 { "accessibilityScreenMagnifierFull", 293 { "accessibilityScreenMagnifierFull",
294 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL }, 294 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL },
295 { "accessibilityScreenMagnifierPartial", 295 { "accessibilityScreenMagnifierPartial",
296 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL }, 296 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL },
297 { "accessibilitySpokenFeedback", 297 { "accessibilitySpokenFeedback",
298 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_DESCRIPTION }, 298 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_DESCRIPTION },
299 { "accessibilityTitle", 299 { "accessibilityTitle",
300 IDS_OPTIONS_SETTINGS_SECTION_TITLE_ACCESSIBILITY }, 300 IDS_OPTIONS_SETTINGS_SECTION_TITLE_ACCESSIBILITY },
301 { "accessibilityVirtualKeyboard", 301 { "accessibilityVirtualKeyboard",
302 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_VIRTUAL_KEYBOARD_DESCRIPTION }, 302 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_VIRTUAL_KEYBOARD_DESCRIPTION },
303 { "accessibilityAlwaysShowMenu",
304 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SHOULD_ALWAYS_SHOW_MENU },
303 { "factoryResetHeading", IDS_OPTIONS_FACTORY_RESET_HEADING }, 305 { "factoryResetHeading", IDS_OPTIONS_FACTORY_RESET_HEADING },
304 { "factoryResetTitle", IDS_OPTIONS_FACTORY_RESET }, 306 { "factoryResetTitle", IDS_OPTIONS_FACTORY_RESET },
305 { "factoryResetRestart", IDS_OPTIONS_FACTORY_RESET_BUTTON }, 307 { "factoryResetRestart", IDS_OPTIONS_FACTORY_RESET_BUTTON },
306 { "factoryResetDataRestart", IDS_RELAUNCH_BUTTON }, 308 { "factoryResetDataRestart", IDS_RELAUNCH_BUTTON },
307 { "factoryResetWarning", IDS_OPTIONS_FACTORY_RESET_WARNING }, 309 { "factoryResetWarning", IDS_OPTIONS_FACTORY_RESET_WARNING },
308 { "factoryResetHelpUrl", IDS_FACTORY_RESET_HELP_URL }, 310 { "factoryResetHelpUrl", IDS_FACTORY_RESET_HELP_URL },
309 { "changePicture", IDS_OPTIONS_CHANGE_PICTURE_CAPTION }, 311 { "changePicture", IDS_OPTIONS_CHANGE_PICTURE_CAPTION },
310 { "datetimeTitle", IDS_OPTIONS_SETTINGS_SECTION_TITLE_DATETIME }, 312 { "datetimeTitle", IDS_OPTIONS_SETTINGS_SECTION_TITLE_DATETIME },
311 { "deviceGroupDescription", IDS_OPTIONS_DEVICE_GROUP_DESCRIPTION }, 313 { "deviceGroupDescription", IDS_OPTIONS_DEVICE_GROUP_DESCRIPTION },
312 { "deviceGroupPointer", IDS_OPTIONS_DEVICE_GROUP_POINTER_SECTION }, 314 { "deviceGroupPointer", IDS_OPTIONS_DEVICE_GROUP_POINTER_SECTION },
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME)); 1422 l10n_util::GetStringUTF16(IDS_PRODUCT_NAME));
1421 } 1423 }
1422 StringValue label(label_str); 1424 StringValue label(label_str);
1423 1425
1424 web_ui()->CallJavascriptFunction( 1426 web_ui()->CallJavascriptFunction(
1425 "BrowserOptions.setupProxySettingsSection", disabled, label); 1427 "BrowserOptions.setupProxySettingsSection", disabled, label);
1426 #endif // !defined(OS_CHROMEOS) 1428 #endif // !defined(OS_CHROMEOS)
1427 } 1429 }
1428 1430
1429 } // namespace options 1431 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698