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

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

Issue 1157553003: Center the focus of the text input in magnifier screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits. Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('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 <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 { "accessibilityAutoclickDropdown", 382 { "accessibilityAutoclickDropdown",
383 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_AUTOCLICK_DROPDOWN_DESCRIPTION }, 383 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_AUTOCLICK_DROPDOWN_DESCRIPTION },
384 { "accessibilityExplanation", 384 { "accessibilityExplanation",
385 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION }, 385 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_EXPLANATION },
386 { "accessibilityHighContrast", 386 { "accessibilityHighContrast",
387 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_HIGH_CONTRAST_DESCRIPTION }, 387 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_HIGH_CONTRAST_DESCRIPTION },
388 { "accessibilityLargeCursor", 388 { "accessibilityLargeCursor",
389 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_LARGE_CURSOR_DESCRIPTION }, 389 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_LARGE_CURSOR_DESCRIPTION },
390 { "accessibilityScreenMagnifier", 390 { "accessibilityScreenMagnifier",
391 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_DESCRIPTION }, 391 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_DESCRIPTION },
392 { "accessibilityScreenMagnifierCenterFocus",
393 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_CENTER_FOCUS },
392 { "accessibilityScreenMagnifierFull", 394 { "accessibilityScreenMagnifierFull",
393 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL }, 395 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL },
394 { "accessibilityScreenMagnifierOff", 396 { "accessibilityScreenMagnifierOff",
395 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_OFF }, 397 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_OFF },
396 { "accessibilityScreenMagnifierPartial", 398 { "accessibilityScreenMagnifierPartial",
397 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL }, 399 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL },
398 { "accessibilitySettings", 400 { "accessibilitySettings",
399 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SETTINGS }, 401 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SETTINGS },
400 { "accessibilitySpokenFeedback", 402 { "accessibilitySpokenFeedback",
401 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SPOKEN_FEEDBACK_DESCRIPTION }, 403 IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SPOKEN_FEEDBACK_DESCRIPTION },
(...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 void BrowserOptionsHandler::OnPolicyUpdated(const policy::PolicyNamespace& ns, 2169 void BrowserOptionsHandler::OnPolicyUpdated(const policy::PolicyNamespace& ns,
2168 const policy::PolicyMap& previous, 2170 const policy::PolicyMap& previous,
2169 const policy::PolicyMap& current) { 2171 const policy::PolicyMap& current) {
2170 std::set<std::string> different_keys; 2172 std::set<std::string> different_keys;
2171 current.GetDifferingKeys(previous, &different_keys); 2173 current.GetDifferingKeys(previous, &different_keys);
2172 if (ContainsKey(different_keys, policy::key::kMetricsReportingEnabled)) 2174 if (ContainsKey(different_keys, policy::key::kMetricsReportingEnabled))
2173 SetupMetricsReportingCheckbox(); 2175 SetupMetricsReportingCheckbox();
2174 } 2176 }
2175 2177
2176 } // namespace options 2178 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698