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/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" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
14 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 14 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
15 #include "chrome/browser/chromeos/login/helper.h" | 15 #include "chrome/browser/chromeos/login/helper.h" |
16 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 16 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
17 #include "chrome/browser/chromeos/preferences.h" | 17 #include "chrome/browser/chromeos/preferences.h" |
(...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 795 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
796 | 796 |
797 // Check mono audio output. | 797 // Check mono audio output. |
798 SetMonoAudioEnabled(true); | 798 SetMonoAudioEnabled(true); |
799 EXPECT_TRUE(ShouldShowAccessibilityMenu()); | 799 EXPECT_TRUE(ShouldShowAccessibilityMenu()); |
800 SetMonoAudioEnabled(false); | 800 SetMonoAudioEnabled(false); |
801 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 801 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
802 } | 802 } |
803 | 803 |
804 } // namespace chromeos | 804 } // namespace chromeos |
OLD | NEW |