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

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

Issue 13130: Fix issue 5079: Incorrect "Active match ordinal" count during Find-in-page... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Defines the IPC messages used by the automation interface. 5 // Defines the IPC messages used by the automation interface.
6 6
7 // This header is meant to be included in multiple passes, hence no traditional 7 // This header is meant to be included in multiple passes, hence no traditional
8 // header guard. 8 // header guard.
9 // See ipc_message_macros.h for explanation of the macros and passes. 9 // See ipc_message_macros.h for explanation of the macros and passes.
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 int /* time */) 304 int /* time */)
305 305
306 // This message starts a find within a tab corresponding to the supplied 306 // This message starts a find within a tab corresponding to the supplied
307 // tab handle. The response contains the number of matches found on the page 307 // tab handle. The response contains the number of matches found on the page
308 // within the tab specified. The parameter 'search_string' specifies what 308 // within the tab specified. The parameter 'search_string' specifies what
309 // string to search for, 'forward' specifies whether to search in forward 309 // string to search for, 'forward' specifies whether to search in forward
310 // direction (1=forward, 0=back), 'match_case' specifies case sensitivity 310 // direction (1=forward, 0=back), 'match_case' specifies case sensitivity
311 // (1=case sensitive, 0=case insensitive). If an error occurs, matches_found 311 // (1=case sensitive, 0=case insensitive). If an error occurs, matches_found
312 // will be -1. 312 // will be -1.
313 // 313 //
314 // NOTE: This message has been deprecated, please use the new message 314 // NOTE: These two message have been deprecated, please use the new messages
idana 2008/12/04 19:02:05 "These two message" -> "These two messages"
315 // AutomationMsg_FindRequest below. 315 // AutomationMsg_FindRequest and AutomationMsg_FindInPageResponse2 below.
316 // 316 //
317 IPC_MESSAGE_ROUTED4(AutomationMsg_FindInPageRequest, 317 IPC_MESSAGE_ROUTED4(AutomationMsg_FindInPageRequest, // DEPRECATED.
318 int, /* tab_handle */ 318 int, /* tab_handle */
319 std::wstring, /* find_request */ 319 std::wstring, /* find_request */
320 int, /* forward */ 320 int, /* forward */
321 int /* match_case */) 321 int /* match_case */)
322 IPC_MESSAGE_ROUTED1(AutomationMsg_FindInPageResponse, 322 IPC_MESSAGE_ROUTED1(AutomationMsg_FindInPageResponse, // DEPRECATED.
323 int /* matches_found */) 323 int /* matches_found */)
324 324
325 // This message sends a inspect element request for a given tab. The response 325 // This message sends a inspect element request for a given tab. The response
326 // contains the number of resources loaded by the inspector controller. 326 // contains the number of resources loaded by the inspector controller.
327 IPC_MESSAGE_ROUTED3(AutomationMsg_InspectElementRequest, 327 IPC_MESSAGE_ROUTED3(AutomationMsg_InspectElementRequest,
328 int, /* tab_handle */ 328 int, /* tab_handle */
329 int, /* x */ 329 int, /* x */
330 int /* y */) 330 int /* y */)
331 IPC_MESSAGE_ROUTED1(AutomationMsg_InspectElementResponse, int) 331 IPC_MESSAGE_ROUTED1(AutomationMsg_InspectElementResponse, int)
332 332
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 // A message for an external host. 726 // A message for an external host.
727 // |receiver| can be a receiving script and |message| is any 727 // |receiver| can be a receiving script and |message| is any
728 // arbitrary string that makes sense to the receiver. 728 // arbitrary string that makes sense to the receiver.
729 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardMessageToExternalHost, 729 IPC_MESSAGE_ROUTED2(AutomationMsg_ForwardMessageToExternalHost,
730 std::string /* receiver*/, 730 std::string /* receiver*/,
731 std::string /* message*/) 731 std::string /* message*/)
732 732
733 // This message starts a find within a tab corresponding to the supplied 733 // This message starts a find within a tab corresponding to the supplied
734 // tab handle. The parameter |request| specifies what to search for. 734 // tab handle. The parameter |request| specifies what to search for.
735 // If an error occurs, |matches_found| will be -1 (see response message 735 // If an error occurs, |matches_found| will be -1 (see response message
736 // AutomationMsg_FindInPageResponse). 736 // AutomationMsg_FindInPageResponse2).
737 // 737 //
738 IPC_MESSAGE_ROUTED2(AutomationMsg_FindRequest, 738 IPC_MESSAGE_ROUTED2(AutomationMsg_FindRequest,
739 int, /* tab_handle */ 739 int, /* tab_handle */
740 FindInPageRequest /* request */) 740 FindInPageRequest /* request */)
741 741
742 // Is the Find window fully visible (and not animating) for the specified 742 // Is the Find window fully visible (and not animating) for the specified
743 // tab? 743 // tab?
744 IPC_MESSAGE_ROUTED1(AutomationMsg_FindWindowVisibilityRequest, 744 IPC_MESSAGE_ROUTED1(AutomationMsg_FindWindowVisibilityRequest,
745 int /* tab_handle */) 745 int /* tab_handle */)
746 IPC_MESSAGE_ROUTED1(AutomationMsg_FindWindowVisibilityResponse, 746 IPC_MESSAGE_ROUTED1(AutomationMsg_FindWindowVisibilityResponse,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 int /* value */) 800 int /* value */)
801 IPC_MESSAGE_ROUTED1(AutomationMsg_SetIntPreferenceResponse, 801 IPC_MESSAGE_ROUTED1(AutomationMsg_SetIntPreferenceResponse,
802 bool /* success */) 802 bool /* success */)
803 803
804 // Queries whether an app modal dialog is currently being shown. (i.e. a 804 // Queries whether an app modal dialog is currently being shown. (i.e. a
805 // javascript alert). 805 // javascript alert).
806 IPC_MESSAGE_ROUTED0(AutomationMsg_ShowingAppModalDialogRequest) 806 IPC_MESSAGE_ROUTED0(AutomationMsg_ShowingAppModalDialogRequest)
807 IPC_MESSAGE_ROUTED1(AutomationMsg_ShowingAppModalDialogResponse, 807 IPC_MESSAGE_ROUTED1(AutomationMsg_ShowingAppModalDialogResponse,
808 bool /* showing dialog */) 808 bool /* showing dialog */)
809 809
810 // Returns the ordinal and the number of matches found as a response to
811 // a AutomationMsg_FindRequest.
812 IPC_MESSAGE_ROUTED2(AutomationMsg_FindInPageResponse2,
813 int /* active_ordinal */,
814 int /* matches_found */)
810 IPC_END_MESSAGES(Automation) 815 IPC_END_MESSAGES(Automation)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698