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

Unified Diff: chrome/test/chromedriver/window_commands.h

Issue 12675002: [chromedriver] Implement command: executeAsyncScript and setScriptTimeout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/chromedriver/window_commands.h
diff --git a/chrome/test/chromedriver/window_commands.h b/chrome/test/chromedriver/window_commands.h
index a77d2ee56c6fbd864fe81f982bfc72add4d10ac6..7c35ab9b9417e9c471691e273bc267459f8e4f05 100644
--- a/chrome/test/chromedriver/window_commands.h
+++ b/chrome/test/chromedriver/window_commands.h
@@ -39,13 +39,20 @@ Status ExecuteGet(
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value);
-// Evaluates a given script with arguments.
+// Evaluates a given script with arguments synchronously.
Status ExecuteExecuteScript(
Session* session,
WebView* web_view,
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value);
+// Evaluates a given script with arguments asynchronously.
kkania 2013/03/08 17:25:12 technically, it doesn't evaluate a script asynchro
chrisgao (Use stgao instead) 2013/03/08 21:06:24 Done.
+Status ExecuteExecuteAsyncScript(
+ Session* session,
+ WebView* web_view,
+ const base::DictionaryValue& params,
+ scoped_ptr<base::Value>* value);
+
// Changes the targeted frame for the given session.
Status ExecuteSwitchToFrame(
Session* session,

Powered by Google App Engine
This is Rietveld 408576698