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

Side by Side Diff: chrome/common/automation_messages_internal.h

Issue 10704129: Remove browser::FindTabbedBrowser call in ui test code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous 7 // NOTE: All IPC messages have either a routing_id of 0 (for asynchronous
8 // messages), or one that's been assigned by the proxy (for calls 8 // messages), or one that's been assigned by the proxy (for calls
9 // which expect a response). The routing_id shouldn't be used for 9 // which expect a response). The routing_id shouldn't be used for
10 // any other purpose in these message types. 10 // any other purpose in these message types.
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 571
572 // This message requests the tabstrip index of the tab with the given handle. 572 // This message requests the tabstrip index of the tab with the given handle.
573 // The return value contains the index, which will be -1 on failure. 573 // The return value contains the index, which will be -1 on failure.
574 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_TabIndex, 574 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_TabIndex,
575 int, 575 int,
576 int) 576 int)
577 577
578 // This message requests the handle (int64 app-unique identifier) of 578 // This message requests the handle (int64 app-unique identifier) of
579 // a valid tabbed browser window, i.e. normal type and non-incognito mode. 579 // a valid tabbed browser window, i.e. normal type and non-incognito mode.
580 // On error, the returned handle value is 0. 580 // On error, the returned handle value is 0.
581 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_FindTabbedBrowserWindow, 581 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_DEPRECATED_FindTabbedBrowserWindow,
582 int) 582 int)
583 583
584 // This message requests the number of normal browser windows, i.e. normal 584 // This message requests the number of normal browser windows, i.e. normal
585 // type and non-incognito mode that the app currently has open. The return 585 // type and non-incognito mode that the app currently has open. The return
586 // value is the number of windows. 586 // value is the number of windows.
587 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_NormalBrowserWindowCount, 587 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_NormalBrowserWindowCount,
588 int) 588 int)
589 589
590 // This message tells the browser to start using the new proxy configuration 590 // This message tells the browser to start using the new proxy configuration
591 // represented by the given JSON string. The parameters used in the JSON 591 // represented by the given JSON string. The parameters used in the JSON
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 1001
1002 // Sent when the automation mouse event has been processed. 1002 // Sent when the automation mouse event has been processed.
1003 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK, 1003 IPC_MESSAGE_ROUTED2(AutomationMsg_ProcessMouseEventACK,
1004 bool /* success */, 1004 bool /* success */,
1005 std::string /* error message */) 1005 std::string /* error message */)
1006 1006
1007 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1007 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1008 // This is the section for renderer -> browser automation messages. If it is 1008 // This is the section for renderer -> browser automation messages. If it is
1009 // an automation <-> browser message, put it above this section. The "no line 1009 // an automation <-> browser message, put it above this section. The "no line
1010 // number change" applies only to the automation <-> browser messages. 1010 // number change" applies only to the automation <-> browser messages.
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/automation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698