OLD | NEW |
---|---|
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 Loading... | |
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 | |
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.
| |
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_ |
OLD | NEW |