OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "ash/common/system/tray/system_tray.h" | |
8 #include "ash/common/wm_shell.h" | 7 #include "ash/common/wm_shell.h" |
9 #include "ash/shell.h" | 8 #include "ash/shell.h" |
10 #include "ash/sticky_keys/sticky_keys_controller.h" | 9 #include "ash/sticky_keys/sticky_keys_controller.h" |
11 #include "ash/sticky_keys/sticky_keys_overlay.h" | 10 #include "ash/sticky_keys/sticky_keys_overlay.h" |
| 11 #include "ash/system/tray/system_tray.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 14 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/browser_window.h" | 17 #include "chrome/browser/ui/browser_window.h" |
18 #include "chrome/browser/ui/location_bar/location_bar.h" | 18 #include "chrome/browser/ui/location_bar/location_bar.h" |
19 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 19 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
20 #include "chrome/browser/ui/view_ids.h" | 20 #include "chrome/browser/ui/view_ids.h" |
21 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 EXPECT_TRUE(sticky_keys_overlay->is_visible()); | 225 EXPECT_TRUE(sticky_keys_overlay->is_visible()); |
226 DisableStickyKeys(); | 226 DisableStickyKeys(); |
227 EXPECT_FALSE(controller->GetOverlayForTest()); | 227 EXPECT_FALSE(controller->GetOverlayForTest()); |
228 for (auto key_code : modifier_keys) { | 228 for (auto key_code : modifier_keys) { |
229 SendKeyPress(key_code); | 229 SendKeyPress(key_code); |
230 EXPECT_FALSE(controller->GetOverlayForTest()); | 230 EXPECT_FALSE(controller->GetOverlayForTest()); |
231 } | 231 } |
232 } | 232 } |
233 | 233 |
234 } // namespace chromeos | 234 } // namespace chromeos |
OLD | NEW |