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

Side by Side 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: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Session* session, 47 Session* session,
48 const base::DictionaryValue& params, 48 const base::DictionaryValue& params,
49 scoped_ptr<base::Value>* value); 49 scoped_ptr<base::Value>* value);
50 50
51 // Retrieve the list of all window handles available to the session. 51 // Retrieve the list of all window handles available to the session.
52 Status ExecuteGetWindowHandles( 52 Status ExecuteGetWindowHandles(
53 Session* session, 53 Session* session,
54 const base::DictionaryValue& params, 54 const base::DictionaryValue& params,
55 scoped_ptr<base::Value>* value); 55 scoped_ptr<base::Value>* value);
56 56
57 // Change focus to another window. The window to change focus to may be
58 // specified by its server assigned window handle, or by the value of its name
59 // attribute.
60 Status ExecuteSwitchToWindow(
61 Session* session,
62 const base::DictionaryValue& params,
63 scoped_ptr<base::Value>* value);
64
57 // Configure the amount of time that a particular type of operation can execute 65 // Configure the amount of time that a particular type of operation can execute
58 // for before they are aborted and a timeout error is returned to the client. 66 // for before they are aborted and a timeout error is returned to the client.
59 Status ExecuteSetTimeout( 67 Status ExecuteSetTimeout(
60 Session* session, 68 Session* session,
61 const base::DictionaryValue& params, 69 const base::DictionaryValue& params,
62 scoped_ptr<base::Value>* value); 70 scoped_ptr<base::Value>* value);
63 71
64 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_ 72 #endif // CHROME_TEST_CHROMEDRIVER_SESSION_COMMANDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698