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

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: Address comments. 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 4495606f4b835d4299befc850b23fae00ceda7ad..cc7ab303e42a812795983bb87123b0af46071209 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 synchronous script with arguments.
Status ExecuteExecuteScript(
Session* session,
WebView* web_view,
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value);
+// Evaluates a given asynchronous script with arguments.
+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