| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 5 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 6 | 6 |
| 7 #include "ash/magnifier/magnification_controller.h" | 7 #include "ash/magnifier/magnification_controller.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
| 11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" |
| 12 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 13 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
| 13 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" | 14 #include "chrome/browser/chromeos/cros/cros_in_process_browser_test.h" |
| 14 #include "chrome/browser/chromeos/login/helper.h" | 15 #include "chrome/browser/chromeos/login/helper.h" |
| 15 #include "chrome/browser/chromeos/login/login_utils.h" | 16 #include "chrome/browser/chromeos/login/login_utils.h" |
| 16 #include "chrome/browser/chromeos/login/user_manager.h" | 17 #include "chrome/browser/chromeos/login/user_manager.h" |
| 17 #include "chrome/browser/chromeos/login/user_manager_impl.h" | 18 #include "chrome/browser/chromeos/login/user_manager_impl.h" |
| 18 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 19 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 19 #include "chrome/browser/profiles/profile.h" | 20 #include "chrome/browser/profiles/profile.h" |
| 20 #include "chrome/browser/profiles/profile_manager.h" | 21 #include "chrome/browser/profiles/profile_manager.h" |
| 21 #include "chrome/common/chrome_notification_types.h" | |
| 22 #include "chrome/common/pref_names.h" | 22 #include "chrome/common/pref_names.h" |
| 23 #include "chrome/test/base/testing_profile.h" | 23 #include "chrome/test/base/testing_profile.h" |
| 24 #include "chromeos/chromeos_switches.h" | 24 #include "chromeos/chromeos_switches.h" |
| 25 #include "content/public/browser/notification_service.h" | 25 #include "content/public/browser/notification_service.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
| 27 | 27 |
| 28 namespace chromeos { | 28 namespace chromeos { |
| 29 | 29 |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 EXPECT_TRUE(IsSpokenFeedbackEnabled()); | 402 EXPECT_TRUE(IsSpokenFeedbackEnabled()); |
| 403 EXPECT_TRUE(IsHighContrastEnabled()); | 403 EXPECT_TRUE(IsHighContrastEnabled()); |
| 404 | 404 |
| 405 // Confirms that the prefs have been copied to the user's profile. | 405 // Confirms that the prefs have been copied to the user's profile. |
| 406 EXPECT_TRUE(GetLargeCursorEnabledFromPref()); | 406 EXPECT_TRUE(GetLargeCursorEnabledFromPref()); |
| 407 EXPECT_TRUE(GetSpokenFeedbackEnabledFromPref()); | 407 EXPECT_TRUE(GetSpokenFeedbackEnabledFromPref()); |
| 408 EXPECT_TRUE(GetHighContrastEnabledFromPref()); | 408 EXPECT_TRUE(GetHighContrastEnabledFromPref()); |
| 409 } | 409 } |
| 410 | 410 |
| 411 } // namespace chromeos | 411 } // namespace chromeos |
| OLD | NEW |