| Index: ui/events/test/cocoa_test_event_utils.h
|
| diff --git a/ui/events/test/cocoa_test_event_utils.h b/ui/events/test/cocoa_test_event_utils.h
|
| index 76c6a32fec5dd424f20ed164cbdacf696229d375..6f6beb0337da59eda6a7ce5eba7e55f308e60c85 100644
|
| --- a/ui/events/test/cocoa_test_event_utils.h
|
| +++ b/ui/events/test/cocoa_test_event_utils.h
|
| @@ -10,6 +10,7 @@
|
| #import <objc/objc-class.h>
|
|
|
| #include "base/basictypes.h"
|
| +#include "ui/events/keycodes/keyboard_codes.h"
|
|
|
| namespace cocoa_test_event_utils {
|
|
|
| @@ -48,6 +49,15 @@ NSEvent* EnterExitEventWithType(NSEventType event_type);
|
| // Return an "other" event with the given type.
|
| NSEvent* OtherEventWithType(NSEventType event_type);
|
|
|
| +// Time interval since system startup. Tests shouldn't rely on this.
|
| +NSTimeInterval TimeIntervalSinceSystemStartup();
|
| +
|
| +// Creates a key event in a particular window.
|
| +NSEvent* SynthesizeKeyEvent(NSWindow* window,
|
| + bool keyDown,
|
| + ui::KeyboardCode keycode,
|
| + NSUInteger flags);
|
| +
|
| } // namespace cocoa_test_event_utils
|
|
|
| #endif // UI_EVENTS_TEST_COCOA_TEST_EVENT_UTILS_H_
|
|
|