Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1422 int /* autocomplete edit handle */, | 1422 int /* autocomplete edit handle */, |
| 1423 bool /* success */) | 1423 bool /* success */) |
| 1424 | 1424 |
| 1425 // Loads all blocked plug-ins on the page. | 1425 // Loads all blocked plug-ins on the page. |
| 1426 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_LoadBlockedPlugins, | 1426 IPC_SYNC_MESSAGE_CONTROL1_1(AutomationMsg_LoadBlockedPlugins, |
| 1427 int /* tab handle */, | 1427 int /* tab handle */, |
| 1428 bool /* success */) | 1428 bool /* success */) |
| 1429 | 1429 |
| 1430 // Captures the entire page for the tab, including those portions not in | 1430 // Captures the entire page for the tab, including those portions not in |
| 1431 // view, and saves the image as a PNG in the given file location. | 1431 // view, and saves the image as a PNG in the given file location. |
| 1432 // This message is deprecated, use the JSON testing interface for | |
| 1433 // similar functionality. | |
|
Paweł Hajdan Jr.
2011/03/28 19:13:10
nit: Please also add TODO(phajdan.jr) to remove it
| |
| 1432 // Request: | 1434 // Request: |
| 1433 // -int: Tab handle | 1435 // -int: Tab handle |
| 1434 // -FilePath: Path to save the captured image to | 1436 // -FilePath: Path to save the captured image to |
| 1435 // Response: | 1437 // Response: |
| 1436 // -bool: Whether the method succeeded | 1438 // -bool: Whether the method succeeded |
| 1437 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_CaptureEntirePageAsPNG, | 1439 IPC_SYNC_MESSAGE_CONTROL2_1(AutomationMsg_CaptureEntirePageAsPNG_Deprecated, |
| 1438 int, | 1440 int, |
| 1439 FilePath, | 1441 FilePath, |
| 1440 bool) | 1442 bool) |
| 1441 | 1443 |
| 1442 // Notify the JavaScript engine in the render to change its parameters | 1444 // Notify the JavaScript engine in the render to change its parameters |
| 1443 // while performing stress testing. | 1445 // while performing stress testing. |
| 1444 IPC_MESSAGE_CONTROL3(AutomationMsg_JavaScriptStressTestControl, | 1446 IPC_MESSAGE_CONTROL3(AutomationMsg_JavaScriptStressTestControl, |
| 1445 int /* tab handle */, | 1447 int /* tab handle */, |
| 1446 int /* command */, | 1448 int /* command */, |
| 1447 int /* type or run */) | 1449 int /* type or run */) |
| 1448 | 1450 |
| 1449 // This message posts a task to the PROCESS_LAUNCHER thread. Once processed | 1451 // This message posts a task to the PROCESS_LAUNCHER thread. Once processed |
| 1450 // the response is sent back. This is useful when you want to make sure all | 1452 // the response is sent back. This is useful when you want to make sure all |
| 1451 // changes to the number of processes have completed. | 1453 // changes to the number of processes have completed. |
| 1452 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_WaitForProcessLauncherThreadToGoIdle) | 1454 IPC_SYNC_MESSAGE_CONTROL0_0(AutomationMsg_WaitForProcessLauncherThreadToGoIdle) |
| 1453 | 1455 |
| 1454 // Gets a handle of the browser that owns the given tab. | 1456 // Gets a handle of the browser that owns the given tab. |
| 1455 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetParentBrowserOfTab, | 1457 IPC_SYNC_MESSAGE_CONTROL1_2(AutomationMsg_GetParentBrowserOfTab, |
| 1456 int /* tab handle */, | 1458 int /* tab handle */, |
| 1457 int /* browser handle */, | 1459 int /* browser handle */, |
| 1458 bool /* success */) | 1460 bool /* success */) |
| OLD | NEW |