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

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, 9 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 int end_y) WARN_UNUSED_RESULT; 183 int end_y) WARN_UNUSED_RESULT;
184 184
185 // Requests to send the WebKit event for the given |WebKeyEvent| in a 185 // Requests to send the WebKit event for the given |WebKeyEvent| in a
186 // specified tab. Returns true on success. 186 // specified tab. Returns true on success.
187 bool SendWebKeyEventJSONRequest( 187 bool SendWebKeyEventJSONRequest(
188 AutomationMessageSender* sender, 188 AutomationMessageSender* sender,
189 int browser_index, 189 int browser_index,
190 int tab_index, 190 int tab_index,
191 const WebKeyEvent& key_event) WARN_UNUSED_RESULT; 191 const WebKeyEvent& key_event) WARN_UNUSED_RESULT;
192 192
193 // Requests to send the event for the given |WebKeyEvent| to a
194 // browser window containing the specified tab. Returns true on success.
195 bool SendNativeKeyEventJSONRequest(
196 AutomationMessageSender* sender,
197 int browser_index,
198 int tab_index,
199 ui::KeyboardCode key_code,
200 int modifiers) WARN_UNUSED_RESULT;
201
193 // Requests to wait for all tabs to stop loading. Returns true on success. 202 // Requests to wait for all tabs to stop loading. Returns true on success.
194 bool SendWaitForAllTabsToStopLoadingJSONRequest( 203 bool SendWaitForAllTabsToStopLoadingJSONRequest(
195 AutomationMessageSender* sender) WARN_UNUSED_RESULT; 204 AutomationMessageSender* sender) WARN_UNUSED_RESULT;
196 205
197 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_ 206 #endif // CHROME_TEST_AUTOMATION_AUTOMATION_JSON_REQUESTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698