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 #ifndef UI_BASE_TEST_UI_CONTROLS_H_ | 5 #ifndef UI_BASE_TEST_UI_CONTROLS_H_ |
6 #define UI_BASE_TEST_UI_CONTROLS_H_ | 6 #define UI_BASE_TEST_UI_CONTROLS_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "ui/events/keycodes/keyboard_codes.h" | 10 #include "ui/events/keycodes/keyboard_codes.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #if defined(TOOLKIT_VIEWS) | 90 #if defined(TOOLKIT_VIEWS) |
91 // Runs |closure| after processing all pending ui events. | 91 // Runs |closure| after processing all pending ui events. |
92 void RunClosureAfterAllPendingUIEvents(const base::Closure& closure); | 92 void RunClosureAfterAllPendingUIEvents(const base::Closure& closure); |
93 #endif | 93 #endif |
94 | 94 |
95 #if defined(USE_AURA) | 95 #if defined(USE_AURA) |
96 class UIControlsAura; | 96 class UIControlsAura; |
97 void InstallUIControlsAura(UIControlsAura* instance); | 97 void InstallUIControlsAura(UIControlsAura* instance); |
98 #endif | 98 #endif |
99 | 99 |
| 100 #if defined(OS_MACOSX) |
| 101 // Returns true when tests need to use extra Tab and Shift-Tab key events |
| 102 // to traverse to the desired item; because the application is configured to |
| 103 // traverse more elements for accessibility reasons. |
| 104 bool IsFullKeyboardAccessEnabled(); |
| 105 #endif |
| 106 |
100 } // namespace ui_controls | 107 } // namespace ui_controls |
101 | 108 |
102 #endif // UI_BASE_TEST_UI_CONTROLS_H_ | 109 #endif // UI_BASE_TEST_UI_CONTROLS_H_ |
OLD | NEW |