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

Unified Diff: chrome/test/webdriver/automation.cc

Issue 6630001: Allow webdriver users to choose between sending the key events when... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 10 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/webdriver/automation.cc
===================================================================
--- chrome/test/webdriver/automation.cc (revision 76851)
+++ chrome/test/webdriver/automation.cc (working copy)
@@ -242,6 +242,7 @@
void Automation::SendWebKeyEvent(int tab_id,
const WebKeyEvent& key_event,
+ bool use_native_events,
bool* success) {
std::string reply;
DictionaryValue dict;
@@ -254,6 +255,7 @@
dict.SetString("text", key_event.modified_text);
dict.SetInteger("modifiers", key_event.modifiers);
dict.SetBoolean("isSystemKey", false);
+ dict.SetBoolean("useNativeEvents", use_native_events);
*success = SendJSONRequest(tab_id, dict, &reply);
if (!*success) {

Powered by Google App Engine
This is Rietveld 408576698