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

Side by Side Diff: chrome/test/automation/automation_json_requests.h

Issue 6630001: Allow webdriver users to choose between sending the key events when... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 5 #ifndef CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 6 #define CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 int end_y) WARN_UNUSED_RESULT; 223 int end_y) WARN_UNUSED_RESULT;
224 224
225 // Requests to send the WebKit event for the given |WebKeyEvent| in a 225 // Requests to send the WebKit event for the given |WebKeyEvent| in a
226 // specified tab. Returns true on success. 226 // specified tab. Returns true on success.
227 bool SendWebKeyEventJSONRequest( 227 bool SendWebKeyEventJSONRequest(
228 AutomationMessageSender* sender, 228 AutomationMessageSender* sender,
229 int browser_index, 229 int browser_index,
230 int tab_index, 230 int tab_index,
231 const WebKeyEvent& key_event) WARN_UNUSED_RESULT; 231 const WebKeyEvent& key_event) WARN_UNUSED_RESULT;
232 232
233 // Requests to send the key event for the given keycode+modifiers to a
234 // browser window containing the specified tab. Returns true on success.
235 bool SendNativeKeyEventJSONRequest(
236 AutomationMessageSender* sender,
237 int browser_index,
238 int tab_index,
239 ui::KeyboardCode key_code,
240 int modifiers) WARN_UNUSED_RESULT;
241
233 // Requests to wait for all tabs to stop loading. Returns true on success. 242 // Requests to wait for all tabs to stop loading. Returns true on success.
234 bool SendWaitForAllTabsToStopLoadingJSONRequest( 243 bool SendWaitForAllTabsToStopLoadingJSONRequest(
235 AutomationMessageSender* sender) WARN_UNUSED_RESULT; 244 AutomationMessageSender* sender) WARN_UNUSED_RESULT;
236 245
237 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 246 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/automation_json_requests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698