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/common/accessibility_types.h" | 7 #include "ash/common/accessibility_types.h" |
8 #include "ash/magnifier/magnification_controller.h" | 8 #include "ash/magnifier/magnification_controller.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
22 #include "chrome/browser/profiles/profile_manager.h" | 22 #include "chrome/browser/profiles/profile_manager.h" |
23 #include "chrome/common/extensions/extension_constants.h" | 23 #include "chrome/common/extensions/extension_constants.h" |
24 #include "chrome/common/pref_names.h" | 24 #include "chrome/common/pref_names.h" |
25 #include "chrome/test/base/in_process_browser_test.h" | 25 #include "chrome/test/base/in_process_browser_test.h" |
26 #include "chrome/test/base/testing_profile.h" | 26 #include "chrome/test/base/testing_profile.h" |
27 #include "chromeos/chromeos_switches.h" | 27 #include "chromeos/chromeos_switches.h" |
28 #include "components/prefs/pref_service.h" | 28 #include "components/prefs/pref_service.h" |
29 #include "components/session_manager/core/session_manager.h" | 29 #include "components/session_manager/core/session_manager.h" |
30 #include "components/signin/core/account_id/account_id.h" | 30 #include "components/signin/core/account_id/account_id.h" |
31 #include "components/syncable_prefs/pref_service_syncable.h" | 31 #include "components/sync_preferences/pref_service_syncable.h" |
32 #include "components/user_manager/user_manager.h" | 32 #include "components/user_manager/user_manager.h" |
33 #include "components/user_manager/user_names.h" | 33 #include "components/user_manager/user_names.h" |
34 #include "content/public/browser/notification_service.h" | 34 #include "content/public/browser/notification_service.h" |
35 #include "content/public/test/test_utils.h" | 35 #include "content/public/test/test_utils.h" |
36 #include "testing/gtest/include/gtest/gtest.h" | 36 #include "testing/gtest/include/gtest/gtest.h" |
37 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | 37 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" |
38 #include "ui/base/ime/chromeos/input_method_manager.h" | 38 #include "ui/base/ime/chromeos/input_method_manager.h" |
39 | 39 |
40 using chromeos::input_method::InputMethodManager; | 40 using chromeos::input_method::InputMethodManager; |
41 using chromeos::input_method::InputMethodUtil; | 41 using chromeos::input_method::InputMethodUtil; |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 796 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
797 | 797 |
798 // Check mono audio output. | 798 // Check mono audio output. |
799 SetMonoAudioEnabled(true); | 799 SetMonoAudioEnabled(true); |
800 EXPECT_TRUE(ShouldShowAccessibilityMenu()); | 800 EXPECT_TRUE(ShouldShowAccessibilityMenu()); |
801 SetMonoAudioEnabled(false); | 801 SetMonoAudioEnabled(false); |
802 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 802 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
803 } | 803 } |
804 | 804 |
805 } // namespace chromeos | 805 } // namespace chromeos |
OLD | NEW |