| Index: ui/events/test/cocoa_test_event_utils.mm
|
| diff --git a/ui/events/test/cocoa_test_event_utils.mm b/ui/events/test/cocoa_test_event_utils.mm
|
| index fb9054459dfad8452dd6ef0f7cffd0b909aaee88..4022104792941c943289f1a9986cbb83e8b1b09d 100644
|
| --- a/ui/events/test/cocoa_test_event_utils.mm
|
| +++ b/ui/events/test/cocoa_test_event_utils.mm
|
| @@ -67,6 +67,14 @@ static NSEvent* MouseEventAtPointInWindow(NSPoint point,
|
| pressure:1.0];
|
| }
|
|
|
| +NSEvent* RightMouseDownAtPointInWindow(NSPoint point, NSWindow* window) {
|
| + return MouseEventAtPointInWindow(point, NSRightMouseDown, window, 1);
|
| +}
|
| +
|
| +NSEvent* RightMouseDownAtPoint(NSPoint point) {
|
| + return RightMouseDownAtPointInWindow(point, nil);
|
| +}
|
| +
|
| NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window) {
|
| return MouseEventAtPointInWindow(point, NSLeftMouseDown, window, 1);
|
| }
|
|
|