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

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

Issue 8416024: Re-land 107645 with static initializers removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove static initializers Created 9 years, 1 month 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/renderer/automation/automation_renderer_helper.h » ('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 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_EndTracing, 1487 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_EndTracing,
1488 bool /* success */) 1488 bool /* success */)
1489 1489
1490 // Retrieve trace event data (called after EndTracing). Must keep calling until 1490 // Retrieve trace event data (called after EndTracing). Must keep calling until
1491 // remaining_chunks is 0. 1491 // remaining_chunks is 0.
1492 // TODO(jbates): See bug 100255, IPC send fails if message is too big. This 1492 // TODO(jbates): See bug 100255, IPC send fails if message is too big. This
1493 // code can be removed if that limitation is fixed. 1493 // code can be removed if that limitation is fixed.
1494 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput, 1494 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput,
1495 std::string /* trace_chunk */, 1495 std::string /* trace_chunk */,
1496 int /* remaining_chunks */) 1496 int /* remaining_chunks */)
1497 // Browser -> renderer messages.
1498
1499 // Requests a snapshot.
1500 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage)
1497 1501
1498 // Renderer -> browser messages. 1502 // Renderer -> browser messages.
1499 1503
1504 // Sent as a response to |AutomationMsg_Snapshot|.
1505 IPC_MESSAGE_ROUTED3(AutomationMsg_SnapshotEntirePageACK,
1506 bool /* success */,
1507 std::vector<unsigned char> /* png bytes */,
1508 std::string /* error message */)
1509
1500 // Sent when the renderer has scheduled a client redirect to occur. 1510 // Sent when the renderer has scheduled a client redirect to occur.
1501 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect, 1511 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect,
1502 int64 /* frame_id */, 1512 int64 /* frame_id */,
1503 double /* # of seconds till redirect will be performed */) 1513 double /* # of seconds till redirect will be performed */)
1504 1514
1505 // Sent when the renderer has completed or canceled a client redirect for a 1515 // Sent when the renderer has completed or canceled a client redirect for a
1506 // particular frame. This message may be sent multiple times for the same 1516 // particular frame. This message may be sent multiple times for the same
1507 // redirect. 1517 // redirect.
1508 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, 1518 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect,
1509 int64 /* frame_id */) 1519 int64 /* frame_id */)
1510 1520
1511 1521
1512 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1522 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1513 // This is the section for renderer -> browser automation messages. If it is 1523 // This is the section for renderer -> browser automation messages. If it is
1514 // an automation <-> browser message, put it above this section. 1524 // an automation <-> browser message, put it above this section.
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/renderer/automation/automation_renderer_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698