#include "components/policy/core/common/policy_details.h"
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_pref_names.h"
+#include "components/policy/core/common/schema.h"
+#include "components/translate/core/common/translate_pref_names.h"
#include "grit/component_strings.h"
#include "policy/policy_constants.h"
{ key::kHighContrastEnabled,
prefs::kHighContrastEnabled,
base::Value::TYPE_BOOLEAN },
+ { key::kVirtualKeyboardEnabled,
+ prefs::kVirtualKeyboardEnabled,
+ base::Value::TYPE_BOOLEAN },
{ key::kDeviceLoginScreenDefaultLargeCursorEnabled,
NULL,
base::Value::TYPE_BOOLEAN },
{ key::kDeviceLoginScreenDefaultHighContrastEnabled,
NULL,
base::Value::TYPE_BOOLEAN },
+ { key::kDeviceLoginScreenDefaultVirtualKeyboardEnabled,
+ NULL,
+ base::Value::TYPE_BOOLEAN },
{ key::kRebootAfterUpdate,
prefs::kRebootAfterUpdate,
base::Value::TYPE_BOOLEAN },
} // namespace
-scoped_ptr<ConfigurationPolicyHandlerList> BuildHandlerList() {
+scoped_ptr<ConfigurationPolicyHandlerList> BuildHandlerList(
+ const Schema& chrome_schema) {
scoped_ptr<ConfigurationPolicyHandlerList> handlers(
new ConfigurationPolicyHandlerList(base::Bind(&GetChromePolicyDetails)));
for (size_t i = 0; i < arraysize(kSimplePolicyMap); ++i) {
0,
INT_MAX,
true)));
+ handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
+ new IntRangePolicyHandler(key::kSAMLOfflineSigninTimeLimit,
+ prefs::kSAMLOfflineSigninTimeLimit,
+ -1,
+ INT_MAX,
+ true)));
handlers->AddHandler(
make_scoped_ptr<ConfigurationPolicyHandler>(new IntRangePolicyHandler(
key::kIdleActionAC,