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

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 78866)
+++ chrome/test/webdriver/session.h (working copy)
@@ -188,6 +188,12 @@
const FrameId& current_target() const;
+ 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(
@@ -220,6 +226,8 @@
FrameId current_target_;
+ bool use_native_events_;
+
DISALLOW_COPY_AND_ASSIGN(Session);
};

Powered by Google App Engine
This is Rietveld 408576698