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

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: 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..b30179dbbb0cdfce7737bac8a80334ddf343227a 100644
--- a/remoting/test/remote_desktop_browsertest.h
+++ b/remoting/test/remote_desktop_browsertest.h
@@ -82,10 +82,10 @@ class RemoteDesktopBrowserTest : public ExtensionBrowserTest {
void StartMe2Me();
// Simulate a key event.
- void SimulateKeyPress(ui::KeyboardCode key, int nativeKeyCode);
+ void SimulateKeyPress(ui::KeyboardCode key, const char* code);
void SimulateKeyPress(ui::KeyboardCode key,
- int nativeKeyCode,
+ const char* code,
bool control,
bool shift,
bool alt,

Powered by Google App Engine
This is Rietveld 408576698