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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list.cc

Issue 16658015: Add device policies to control accessibility settings on the login screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed leaky tests. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/configuration_policy_handler_list.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list.cc b/chrome/browser/policy/configuration_policy_handler_list.cc
index 2baabf1a67991c32fd97af79c00dd9da1448ecde..1c73d0ab6b2066a1ff0b7c45707c7d4ea32b2497 100644
--- a/chrome/browser/policy/configuration_policy_handler_list.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list.cc
@@ -18,6 +18,7 @@
#include "policy/policy_constants.h"
#if defined(OS_CHROMEOS)
+#include "ash/magnifier/magnifier_constants.h"
#include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h"
#endif // defined(OS_CHROMEOS)
@@ -383,6 +384,15 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kHighContrastEnabled,
prefs::kHighContrastEnabled,
Value::TYPE_BOOLEAN },
+ { key::kDeviceLoginScreenDefaultLargeCursorEnabled,
+ NULL,
+ Value::TYPE_BOOLEAN },
+ { key::kDeviceLoginScreenDefaultSpokenFeedbackEnabled,
+ NULL,
+ Value::TYPE_BOOLEAN },
+ { key::kDeviceLoginScreenDefaultHighContrastEnabled,
+ NULL,
+ Value::TYPE_BOOLEAN },
{ key::kRebootAfterUpdate,
prefs::kRebootAfterUpdate,
Value::TYPE_BOOLEAN },
@@ -538,6 +548,10 @@ ConfigurationPolicyHandlerList::ConfigurationPolicyHandlerList() {
handlers_.push_back(new IntRangePolicyHandler(key::kUptimeLimit,
prefs::kUptimeLimit,
3600, INT_MAX, true));
+ handlers_.push_back(new IntRangePolicyHandler(
+ key::kDeviceLoginScreenDefaultScreenMagnifierType,
+ NULL,
+ 0, ash::MAGNIFIER_FULL, false));
#endif // defined(OS_CHROMEOS)
}
« no previous file with comments | « chrome/browser/policy/configuration_policy_handler.cc ('k') | chrome/browser/policy/profile_policy_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698