Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: ui/base/test/ui_controls.h

Issue 1747803003: MacViews: Implement Tab Dragging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed debug logging, use CGEvents for drag-n-drop. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 100 #if defined(OS_MACOSX)
101 // Returns true when tests need to use extra Tab and Shift-Tab key events 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 102 // to traverse to the desired item; because the application is configured to
103 // traverse more elements for accessibility reasons. 103 // traverse more elements for accessibility reasons.
104 bool IsFullKeyboardAccessEnabled(); 104 bool IsFullKeyboardAccessEnabled();
105
106 // When |enable_cgevents| is true, all simulated mouse events will be posted to
107 // the WindowServer, and the actual mouse will move on the screen.
108 void SetSendMouseEventsAsCGEvents(bool enable_cgevents);
109 bool SendMouseEventsAsCGEvents();
105 #endif 110 #endif
106 111
107 } // namespace ui_controls 112 } // namespace ui_controls
108 113
109 #endif // UI_BASE_TEST_UI_CONTROLS_H_ 114 #endif // UI_BASE_TEST_UI_CONTROLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698