OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <queue> | 5 #include <queue> |
6 | 6 |
7 #include "ash/common/accelerators/accelerator_controller.h" | 7 #include "ash/common/accelerators/accelerator_controller.h" |
8 #include "ash/common/accelerators/accelerator_table.h" | 8 #include "ash/common/accelerators/accelerator_table.h" |
9 #include "ash/common/accessibility_types.h" | 9 #include "ash/common/accessibility_types.h" |
10 #include "ash/common/system/tray/system_tray.h" | |
11 #include "ash/common/wm_shell.h" | 10 #include "ash/common/wm_shell.h" |
12 #include "ash/shell.h" | 11 #include "ash/shell.h" |
| 12 #include "ash/system/tray/system_tray.h" |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/strings/pattern.h" | 15 #include "base/strings/pattern.h" |
16 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
17 #include "chrome/app/chrome_command_ids.h" | 17 #include "chrome/app/chrome_command_ids.h" |
18 #include "chrome/browser/chrome_notification_types.h" | 18 #include "chrome/browser/chrome_notification_types.h" |
19 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 19 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
20 #include "chrome/browser/chromeos/accessibility/speech_monitor.h" | 20 #include "chrome/browser/chromeos/accessibility/speech_monitor.h" |
21 #include "chrome/browser/chromeos/login/login_manager_test.h" | 21 #include "chrome/browser/chromeos/login/login_manager_test.h" |
22 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 22 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync( | 750 ASSERT_TRUE(ui_test_utils::SendKeyPressToWindowSync( |
751 window, ui::VKEY_TAB, false, true /*shift*/, false, false)); | 751 window, ui::VKEY_TAB, false, true /*shift*/, false, false)); |
752 while (speech_monitor_.GetNextUtterance() != "Select your language:") { | 752 while (speech_monitor_.GetNextUtterance() != "Select your language:") { |
753 } | 753 } |
754 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance()); | 754 EXPECT_EQ("English ( United States)", speech_monitor_.GetNextUtterance()); |
755 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(), | 755 EXPECT_TRUE(base::MatchPattern(speech_monitor_.GetNextUtterance(), |
756 "Combo box * of *")); | 756 "Combo box * of *")); |
757 } | 757 } |
758 | 758 |
759 } // namespace chromeos | 759 } // namespace chromeos |
OLD | NEW |