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

Unified Diff: chrome/test/remoting/remote_desktop_browsertest.h

Issue 2048533002: Add code and key into the browser test key simulation methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chromeos build Created 4 years, 6 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: chrome/test/remoting/remote_desktop_browsertest.h
diff --git a/chrome/test/remoting/remote_desktop_browsertest.h b/chrome/test/remoting/remote_desktop_browsertest.h
index c7761a1cc80e885aed531f8874dd02d817cdfe66..e0b9f784ecc4271d21d57b936c4531a6c5484a64 100644
--- a/chrome/test/remoting/remote_desktop_browsertest.h
+++ b/chrome/test/remoting/remote_desktop_browsertest.h
@@ -14,6 +14,8 @@
#include "content/public/browser/notification_service.h"
#include "content/public/test/browser_test_utils.h"
#include "net/dns/mock_host_resolver.h"
+#include "ui/events/keycodes/dom/dom_code.h"
+#include "ui/events/keycodes/dom/dom_key.h"
namespace {
// Command line arguments specific to the chromoting browser tests.
@@ -110,8 +112,9 @@ class RemoteDesktopBrowserTest : public extensions::PlatformAppBrowserTest {
void SimulateKeyPressWithCode(ui::KeyboardCode keyCode,
const std::string& code);
- void SimulateKeyPressWithCode(ui::KeyboardCode keyCode,
- const std::string& code,
+ void SimulateKeyPressWithCode(ui::DomKey key,
+ ui::DomCode code,
+ ui::KeyboardCode keyCode,
bool control,
bool shift,
bool alt,
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc ('k') | chrome/test/remoting/remote_desktop_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698