| Index: chrome/test/webdriver/session.h
|
| ===================================================================
|
| --- chrome/test/webdriver/session.h (revision 74135)
|
| +++ chrome/test/webdriver/session.h (working copy)
|
| @@ -8,6 +8,8 @@
|
| #include <string>
|
|
|
| #include "base/scoped_ptr.h"
|
| +#include "base/string16.h"
|
| +#include "base/values.h"
|
| #include "chrome/test/webdriver/automation.h"
|
| #include "chrome/test/webdriver/error_codes.h"
|
|
|
| @@ -42,6 +44,9 @@
|
| const ListValue* const args,
|
| Value** value);
|
|
|
| + // Send the given keys to the given element dictionary. This function takes
|
| + // ownership of |element|.
|
| + ErrorCode SendKeys(DictionaryValue* element, const string16& keys);
|
|
|
| bool NavigateToURL(const std::string& url);
|
| bool GoForward();
|
| @@ -78,6 +83,7 @@
|
| base::WaitableEvent* done_event);
|
| void InitOnSessionThread(bool* success);
|
| void TerminateOnSessionThread();
|
| + void SendKeysOnSessionThread(const string16& keys, bool* success);
|
|
|
| scoped_ptr<Automation> automation_;
|
| base::Thread thread_;
|
|
|