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

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

Issue 9193024: [Mac] Add a perf test that counts the number of Mach ports in the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile Created 8 years, 11 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/perf/mach_ports_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 // This message notifies the AutomationProvider to append a new tab to the 1499 // This message notifies the AutomationProvider to append a new tab to the
1500 // window with the given handle. The tab will be opened in the background 1500 // window with the given handle. The tab will be opened in the background
1501 // like it was middle-clicked. The return value contains the index of 1501 // like it was middle-clicked. The return value contains the index of
1502 // the new tab, or -1 if the request failed. 1502 // the new tab, or -1 if the request failed.
1503 // The second parameter is the url to be loaded in the new tab. 1503 // The second parameter is the url to be loaded in the new tab.
1504 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_AppendBackgroundTab, 1504 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_AppendBackgroundTab,
1505 int, 1505 int,
1506 GURL, 1506 GURL,
1507 int) 1507 int)
1508 1508
1509 // Used on Mac OS X to read the number of active Mach ports used in the browser
1510 // process.
1511 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_GetMachPortCount,
1512 int /* number of Mach ports */)
1513
1509 // Browser -> renderer messages. 1514 // Browser -> renderer messages.
1510 1515
1511 // Requests a snapshot. 1516 // Requests a snapshot.
1512 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage) 1517 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage)
1513 1518
1514 // Renderer -> browser messages. 1519 // Renderer -> browser messages.
1515 1520
1516 // Sent as a response to |AutomationMsg_Snapshot|. 1521 // Sent as a response to |AutomationMsg_Snapshot|.
1517 IPC_MESSAGE_ROUTED3(AutomationMsg_SnapshotEntirePageACK, 1522 IPC_MESSAGE_ROUTED3(AutomationMsg_SnapshotEntirePageACK,
1518 bool /* success */, 1523 bool /* success */,
1519 std::vector<unsigned char> /* png bytes */, 1524 std::vector<unsigned char> /* png bytes */,
1520 std::string /* error message */) 1525 std::string /* error message */)
1521 1526
1522 // Sent when the renderer has scheduled a client redirect to occur. 1527 // Sent when the renderer has scheduled a client redirect to occur.
1523 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect, 1528 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect,
1524 int64 /* frame_id */, 1529 int64 /* frame_id */,
1525 double /* # of seconds till redirect will be performed */) 1530 double /* # of seconds till redirect will be performed */)
1526 1531
1527 // Sent when the renderer has completed or canceled a client redirect for a 1532 // Sent when the renderer has completed or canceled a client redirect for a
1528 // particular frame. This message may be sent multiple times for the same 1533 // particular frame. This message may be sent multiple times for the same
1529 // redirect. 1534 // redirect.
1530 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, 1535 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect,
1531 int64 /* frame_id */) 1536 int64 /* frame_id */)
1532 1537
1533 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1538 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1534 // This is the section for renderer -> browser automation messages. If it is 1539 // This is the section for renderer -> browser automation messages. If it is
1535 // an automation <-> browser message, put it above this section. The "no line 1540 // an automation <-> browser message, put it above this section. The "no line
1536 // number change" applies only to the automation <-> browser messages. 1541 // number change" applies only to the automation <-> browser messages.
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/perf/mach_ports_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698