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

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

Issue 8294030: Fix snapshotting on linux by creating a separate automation path for (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Pawel's comments Created 9 years, 2 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 // Browser -> renderer messages.
1480
1481 // Requests a snapshot.
1482 IPC_MESSAGE_ROUTED0(AutomationMsg_SnapshotEntirePage)
1483
1479 // Renderer -> browser messages. 1484 // Renderer -> browser messages.
1480 1485
1486 // Sent as a response to |AutomationMsg_Snapshot|.
1487 IPC_MESSAGE_ROUTED3(AutomationMsg_SnapshotEntirePageACK,
1488 bool /* success */,
1489 std::vector<unsigned char> /* png bytes */,
1490 std::string /* error message */)
1491
1481 // Sent when the renderer has scheduled a client redirect to occur. 1492 // Sent when the renderer has scheduled a client redirect to occur.
1482 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect, 1493 IPC_MESSAGE_ROUTED2(AutomationMsg_WillPerformClientRedirect,
1483 int64 /* frame_id */, 1494 int64 /* frame_id */,
1484 double /* # of seconds till redirect will be performed */) 1495 double /* # of seconds till redirect will be performed */)
1485 1496
1486 // Sent when the renderer has completed or canceled a client redirect for a 1497 // 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 1498 // particular frame. This message may be sent multiple times for the same
1488 // redirect. 1499 // redirect.
1489 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect, 1500 IPC_MESSAGE_ROUTED1(AutomationMsg_DidCompleteOrCancelClientRedirect,
1490 int64 /* frame_id */) 1501 int64 /* frame_id */)
1491 1502
1492 1503
1493 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE. 1504 // YOUR NEW MESSAGE MIGHT NOT BELONG HERE.
1494 // This is the section for renderer -> browser automation messages. If it is 1505 // This is the section for renderer -> browser automation messages. If it is
1495 // an automation <-> browser message, put it above this section. 1506 // an automation <-> browser message, put it above this section.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698