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

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

Issue 1779743004: MacViews: Fix MenuRunnerTest.NonLatinMnemonic (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/events/test/cocoa_test_event_utils.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 dfeceb2136c2d5577eab2252ccb3e351f0fb9b5b..6dd6944b39f5aa2c0765f2000bacc2a2797783a6 100644
--- a/ui/events/test/cocoa_test_event_utils.h
+++ b/ui/events/test/cocoa_test_event_utils.h
@@ -9,6 +9,7 @@
#import <objc/objc-class.h>
+#include "ui/events/keycodes/dom/dom_key.h"
#include "ui/events/keycodes/keyboard_codes.h"
namespace cocoa_test_event_utils {
@@ -67,7 +68,8 @@ NSTimeInterval TimeIntervalSinceSystemStartup();
NSEvent* SynthesizeKeyEvent(NSWindow* window,
bool keyDown,
ui::KeyboardCode keycode,
- NSUInteger flags);
+ NSUInteger flags,
+ ui::DomKey dom_key = ui::DomKey::NONE);
} // namespace cocoa_test_event_utils
« no previous file with comments | « no previous file | ui/events/test/cocoa_test_event_utils.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698