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

Unified Diff: ui/base/test/cocoa_test_event_utils.h

Issue 8332008: Cocoa: Support keyboard navigation in avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address review comments Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/test/cocoa_test_event_utils.h
diff --git a/ui/base/test/cocoa_test_event_utils.h b/ui/base/test/cocoa_test_event_utils.h
index 2d6e7d04bd74c015a1704af8b87d3f4d72520eb6..121f33e85779c2a48cd213c4894a3d38bf398dd6 100644
--- a/ui/base/test/cocoa_test_event_utils.h
+++ b/ui/base/test/cocoa_test_event_utils.h
@@ -43,6 +43,9 @@ NSEvent* LeftMouseDownAtPointInWindow(NSPoint point, NSWindow* window);
std::pair<NSEvent*, NSEvent*> MouseClickInView(NSView* view,
NSUInteger clickCount);
+// Returns a key event with the given character.
+NSEvent* KeyEventWithCharacter(unichar c);
+
} // namespace cocoa_test_event_utils
#endif // UI_BASE_TEST_COCOA_TEST_EVENT_UTILS_H_
« no previous file with comments | « chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller_unittest.mm ('k') | ui/base/test/cocoa_test_event_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698