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

Unified Diff: chrome/test/webdriver/session.h

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, 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
Index: chrome/test/webdriver/session.h
===================================================================
--- chrome/test/webdriver/session.h (revision 77771)
+++ chrome/test/webdriver/session.h (working copy)
@@ -169,6 +169,12 @@
inline int current_window_id() const { return current_window_id_; }
+ inline bool use_native_events() const { return use_native_events_; }
+
+ inline void set_use_native_events(bool use_native_events) {
+ use_native_events_ = use_native_events;
+ }
+
private:
void RunSessionTask(Task* task);
void RunSessionTaskOnSessionThread(
@@ -210,6 +216,8 @@
std::string current_frame_xpath_;
int current_window_id_;
+ bool use_native_events_;
+
DISALLOW_COPY_AND_ASSIGN(Session);
};

Powered by Google App Engine
This is Rietveld 408576698