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

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

Issue 12224106: [chromedriver] Implement command: switchToWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Enhance py testcase for switchToWindow. Created 7 years, 10 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/session_commands.h
diff --git a/chrome/test/chromedriver/session_commands.h b/chrome/test/chromedriver/session_commands.h
index 259bf8898f4d65b9474c26c2777f34f1922739a1..65530b8bcc1cc2bdd26f432def5e730c68debd89 100644
--- a/chrome/test/chromedriver/session_commands.h
+++ b/chrome/test/chromedriver/session_commands.h
@@ -54,6 +54,14 @@ Status ExecuteGetWindowHandles(
const base::DictionaryValue& params,
scoped_ptr<base::Value>* value);
+// Change focus to another window. The window to change focus to may be
kkania 2013/02/12 01:33:04 i think focus is a bit misleading. It just changes
chrisgao (Use stgao instead) 2013/02/12 20:38:16 Done.
+// specified by its server assigned window handle, or by the value of its name
+// attribute.
+Status ExecuteSwitchToWindow(
+ Session* session,
+ const base::DictionaryValue& params,
+ scoped_ptr<base::Value>* value);
+
// Configure the amount of time that a particular type of operation can execute
// for before they are aborted and a timeout error is returned to the client.
Status ExecuteSetTimeout(

Powered by Google App Engine
This is Rietveld 408576698