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

Unified Diff: remoting/test/remote_desktop_browsertest.h

Issue 23542008: Add a CodeToNativeKeycode helper that converts UIEvent code to native code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback. Created 7 years, 3 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: remoting/test/remote_desktop_browsertest.h
diff --git a/remoting/test/remote_desktop_browsertest.h b/remoting/test/remote_desktop_browsertest.h
index ab8cf86e408f4f36ffe64a894e18471d99e4ed4a..a9922b8abf26b17fb8b4a3dd2f72ff2dd7e2f1d9 100644
--- a/remoting/test/remote_desktop_browsertest.h
+++ b/remoting/test/remote_desktop_browsertest.h
@@ -82,14 +82,14 @@ class RemoteDesktopBrowserTest : public ExtensionBrowserTest {
void StartMe2Me();
// Simulate a key event.
- void SimulateKeyPress(ui::KeyboardCode key, int nativeKeyCode);
-
- void SimulateKeyPress(ui::KeyboardCode key,
- int nativeKeyCode,
- bool control,
- bool shift,
- bool alt,
- bool command);
+ void SimulateKeyPressWithCode(ui::KeyboardCode keyCode, const char* code);
+
+ void SimulateKeyPressWithCode(ui::KeyboardCode keyCode,
+ const char* code,
+ bool control,
+ bool shift,
+ bool alt,
+ bool command);
/* */

Powered by Google App Engine
This is Rietveld 408576698