| 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/macros.h" |
| 10 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
| 11 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
| 12 #include "chrome/browser/chrome_notification_types.h" | 13 #include "chrome/browser/chrome_notification_types.h" |
| 13 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" | 14 #include "chrome/browser/chromeos/accessibility/magnification_manager.h" |
| 14 #include "chrome/browser/chromeos/login/helper.h" | 15 #include "chrome/browser/chromeos/login/helper.h" |
| 15 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 16 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 16 #include "chrome/browser/chromeos/preferences.h" | 17 #include "chrome/browser/chromeos/preferences.h" |
| 17 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 18 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 18 #include "chrome/browser/extensions/api/braille_display_private/mock_braille_con
troller.h" | 19 #include "chrome/browser/extensions/api/braille_display_private/mock_braille_con
troller.h" |
| 19 #include "chrome/browser/prefs/pref_service_syncable_util.h" | 20 #include "chrome/browser/prefs/pref_service_syncable_util.h" |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 710 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 711 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
| 711 | 712 |
| 712 // Check on-screen keyboard. | 713 // Check on-screen keyboard. |
| 713 SetVirtualKeyboardEnabled(true); | 714 SetVirtualKeyboardEnabled(true); |
| 714 EXPECT_TRUE(ShouldShowAccessibilityMenu()); | 715 EXPECT_TRUE(ShouldShowAccessibilityMenu()); |
| 715 SetVirtualKeyboardEnabled(false); | 716 SetVirtualKeyboardEnabled(false); |
| 716 EXPECT_FALSE(ShouldShowAccessibilityMenu()); | 717 EXPECT_FALSE(ShouldShowAccessibilityMenu()); |
| 717 } | 718 } |
| 718 | 719 |
| 719 } // namespace chromeos | 720 } // namespace chromeos |
| OLD | NEW |