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

Side by Side Diff: chrome/test/chromedriver/window_commands.h

Issue 22263003: [chromedriver] Implement touch down, up, and move commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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_WINDOW_COMMANDS_H_ 5 #ifndef CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_
6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ 6 #define CHROME_TEST_CHROMEDRIVER_WINDOW_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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 const base::DictionaryValue& params, 146 const base::DictionaryValue& params,
147 scoped_ptr<base::Value>* value); 147 scoped_ptr<base::Value>* value);
148 148
149 // Double-clicks at the current mouse coordinates (set by last moveto). 149 // Double-clicks at the current mouse coordinates (set by last moveto).
150 Status ExecuteMouseDoubleClick( 150 Status ExecuteMouseDoubleClick(
151 Session* session, 151 Session* session,
152 WebView* web_view, 152 WebView* web_view,
153 const base::DictionaryValue& params, 153 const base::DictionaryValue& params,
154 scoped_ptr<base::Value>* value); 154 scoped_ptr<base::Value>* value);
155 155
156 // Touch press at a given coordinate.
157 Status ExecuteTouchDown(
158 Session* session,
159 WebView* web_view,
160 const base::DictionaryValue& params,
161 scoped_ptr<base::Value>* value);
162
163 // Touch release at a given coordinate.
164 Status ExecuteTouchUp(
165 Session* session,
166 WebView* web_view,
167 const base::DictionaryValue& params,
168 scoped_ptr<base::Value>* value);
169
170 // Touch move at a given coordinate.
171 Status ExecuteTouchMove(
172 Session* session,
173 WebView* web_view,
174 const base::DictionaryValue& params,
175 scoped_ptr<base::Value>* value);
176
156 Status ExecuteGetActiveElement( 177 Status ExecuteGetActiveElement(
157 Session* session, 178 Session* session,
158 WebView* web_view, 179 WebView* web_view,
159 const base::DictionaryValue& params, 180 const base::DictionaryValue& params,
160 scoped_ptr<base::Value>* value); 181 scoped_ptr<base::Value>* value);
161 182
162 // Send a sequence of key strokes to the active element. 183 // Send a sequence of key strokes to the active element.
163 Status ExecuteSendKeysToActiveElement( 184 Status ExecuteSendKeysToActiveElement(
164 Session* session, 185 Session* session,
165 WebView* web_view, 186 WebView* web_view,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 const base::DictionaryValue& params, 277 const base::DictionaryValue& params,
257 scoped_ptr<base::Value>* value); 278 scoped_ptr<base::Value>* value);
258 279
259 Status ExecuteSetLocation( 280 Status ExecuteSetLocation(
260 Session* session, 281 Session* session,
261 WebView* web_view, 282 WebView* web_view,
262 const base::DictionaryValue& params, 283 const base::DictionaryValue& params,
263 scoped_ptr<base::Value>* value); 284 scoped_ptr<base::Value>* value);
264 285
265 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_ 286 #endif // CHROME_TEST_CHROMEDRIVER_WINDOW_COMMANDS_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/test/test_expectations ('k') | chrome/test/chromedriver/window_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698