OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/prefs/pref_change_registrar.h" | |
15 #include "base/prefs/pref_service.h" | |
16 #include "base/run_loop.h" | 14 #include "base/run_loop.h" |
17 #include "base/values.h" | 15 #include "base/values.h" |
18 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 16 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
19 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 17 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
20 #include "chrome/browser/chromeos/policy/device_policy_builder.h" | 18 #include "chrome/browser/chromeos/policy/device_policy_builder.h" |
21 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" | 19 #include "chrome/browser/chromeos/policy/device_policy_cros_browser_test.h" |
22 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" | 20 #include "chrome/browser/chromeos/policy/proto/chrome_device_policy.pb.h" |
23 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 21 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
24 #include "chrome/browser/lifetime/application_lifetime.h" | 22 #include "chrome/browser/lifetime/application_lifetime.h" |
25 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
26 #include "chrome/browser/profiles/profile_manager.h" | 24 #include "chrome/browser/profiles/profile_manager.h" |
27 #include "chrome/common/pref_names.h" | 25 #include "chrome/common/pref_names.h" |
28 #include "chromeos/chromeos_switches.h" | 26 #include "chromeos/chromeos_switches.h" |
| 27 #include "components/prefs/pref_change_registrar.h" |
| 28 #include "components/prefs/pref_service.h" |
29 #include "testing/gtest/include/gtest/gtest.h" | 29 #include "testing/gtest/include/gtest/gtest.h" |
30 #include "ui/chromeos/accessibility_types.h" | 30 #include "ui/chromeos/accessibility_types.h" |
31 | 31 |
32 namespace em = enterprise_management; | 32 namespace em = enterprise_management; |
33 | 33 |
34 namespace policy { | 34 namespace policy { |
35 | 35 |
36 namespace { | 36 namespace { |
37 | 37 |
38 const em::AccessibilitySettingsProto_ScreenMagnifierType kFullScreenMagnifier = | 38 const em::AccessibilitySettingsProto_ScreenMagnifierType kFullScreenMagnifier = |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 base::FundamentalValue(true)); | 457 base::FundamentalValue(true)); |
458 | 458 |
459 // Verify that the on-screen keyboard is enabled. | 459 // Verify that the on-screen keyboard is enabled. |
460 chromeos::AccessibilityManager* accessibility_manager = | 460 chromeos::AccessibilityManager* accessibility_manager = |
461 chromeos::AccessibilityManager::Get(); | 461 chromeos::AccessibilityManager::Get(); |
462 ASSERT_TRUE(accessibility_manager); | 462 ASSERT_TRUE(accessibility_manager); |
463 EXPECT_TRUE(accessibility_manager->IsVirtualKeyboardEnabled()); | 463 EXPECT_TRUE(accessibility_manager->IsVirtualKeyboardEnabled()); |
464 } | 464 } |
465 | 465 |
466 } // namespace policy | 466 } // namespace policy |
OLD | NEW |