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

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

Issue 7866026: Added trace query code and wired tracing through BrowserProxy so tests can run traces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 9 years, 3 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 // Defines the IPC messages used by the automation interface. 5 // Defines the IPC messages used by the automation interface.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 // None expected 1469 // None expected
1470 IPC_MESSAGE_ROUTED1(AutomationMsg_MoveWindow, 1470 IPC_MESSAGE_ROUTED1(AutomationMsg_MoveWindow,
1471 gfx::Rect /* window position and dimentions */) 1471 gfx::Rect /* window position and dimentions */)
1472 1472
1473 // Is the browser in application mode? 1473 // Is the browser in application mode?
1474 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_IsBrowserInApplicationMode, 1474 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_IsBrowserInApplicationMode,
1475 int /* browser_handle */, 1475 int /* browser_handle */,
1476 bool /* is_application */, 1476 bool /* is_application */,
1477 bool /* success */) 1477 bool /* success */)
1478 1478
1479 // Begin tracing.
1480 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_BeginTracing,
1481 std::vector<std::string> /* included_categories */,
1482 std::vector<std::string> /* excluded_categories */,
1483 bool /* success */)
1484
1485 // End tracing (called after BeginTracing).
1486 IPC_SYNC_MESSAGE_CONTROL0_1(AutomationMsg_EndTracing,
1487 bool /* success */)
1488
1489 // End tracing (called after BeginTracing). Must keep calling until
1490 // remaining_chunks is 0, because IPC sends fail if the payload is too big.
1491 IPC_SYNC_MESSAGE_CONTROL0_2(AutomationMsg_GetTracingOutput,
1492 std::string /* json_chunk */,
1493 int /* remaining_chunks */)
1494
1479 // Renderer -> browser messages. 1495 // Renderer -> browser messages.
1480 1496
1481 // Sent when the renderer has scheduled a client redirect to occur. 1497 // Sent when the renderer has scheduled a client redirect to occur.
1482 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect, 1498 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect,
1483 int64 /* frame_id */, 1499 int64 /* frame_id */,
1484 double /* # of seconds till redirect will be performed */) 1500 double /* # of seconds till redirect will be performed */)
1485 1501
1486 // Sent when the renderer has completed or canceled a client redirect for a 1502 // Sent when the renderer has completed or canceled a client redirect for a
1487 // particular frame. This message may be sent multiple times for the same 1503 // particular frame. This message may be sent multiple times for the same
1488 // redirect. 1504 // redirect.
1489 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, 1505 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect,
1490 int64 /* frame_id */) 1506 int64 /* frame_id */)
1491 1507
1492 1508
1493 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1509 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1494 // This is the section for renderer -> browser automation messages. If it is 1510 // This is the section for renderer -> browser automation messages. If it is
1495 // an automation <-> browser message, put it above this section. 1511 // an automation <-> browser message, put it above this section.
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/test/automation/browser_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698