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 #include <map> | 5 #include <map> |
6 #include <set> | 6 #include <set> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1556 | 1556 |
1557 // Destroy a plugin container previously created using CreatePluginContainer. | 1557 // Destroy a plugin container previously created using CreatePluginContainer. |
1558 // id is the XID of the plugin window corresponding to the container that is | 1558 // id is the XID of the plugin window corresponding to the container that is |
1559 // to be destroyed. | 1559 // to be destroyed. |
1560 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, | 1560 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, |
1561 gfx::PluginWindowHandle /* id */) | 1561 gfx::PluginWindowHandle /* id */) |
1562 #endif | 1562 #endif |
1563 | 1563 |
1564 // Clipboard IPC messages | 1564 // Clipboard IPC messages |
1565 | 1565 |
| 1566 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_IsWebCopyCutEnabled, |
| 1567 GURL /* url */, |
| 1568 bool /* enabled */) |
| 1569 |
| 1570 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_IsWebPasteEnabled, |
| 1571 GURL /* url */, |
| 1572 bool /* enabled */) |
| 1573 |
1566 // This message is used when the object list does not contain a bitmap. | 1574 // This message is used when the object list does not contain a bitmap. |
1567 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync, | 1575 IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardWriteObjectsAsync, |
1568 ui::Clipboard::ObjectMap /* objects */) | 1576 ui::Clipboard::ObjectMap /* objects */) |
1569 // This message is used when the object list contains a bitmap. | 1577 // This message is used when the object list contains a bitmap. |
1570 // It is synchronized so that the renderer knows when it is safe to | 1578 // It is synchronized so that the renderer knows when it is safe to |
1571 // free the shared memory used to transfer the bitmap. | 1579 // free the shared memory used to transfer the bitmap. |
1572 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_ClipboardWriteObjectsSync, | 1580 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_ClipboardWriteObjectsSync, |
1573 ui::Clipboard::ObjectMap /* objects */, | 1581 ui::Clipboard::ObjectMap /* objects */, |
1574 base::SharedMemoryHandle /* bitmap handle */) | 1582 base::SharedMemoryHandle /* bitmap handle */) |
1575 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_ClipboardIsFormatAvailable, | 1583 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_ClipboardIsFormatAvailable, |
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2526 // The currently displayed PDF has an unsupported feature. | 2534 // The currently displayed PDF has an unsupported feature. |
2527 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 2535 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
2528 | 2536 |
2529 // JavaScript related messages ----------------------------------------------- | 2537 // JavaScript related messages ----------------------------------------------- |
2530 | 2538 |
2531 // Notify the JavaScript engine in the render to change its parameters | 2539 // Notify the JavaScript engine in the render to change its parameters |
2532 // while performing stress testing. | 2540 // while performing stress testing. |
2533 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 2541 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
2534 int /* cmd */, | 2542 int /* cmd */, |
2535 int /* param */) | 2543 int /* param */) |
OLD | NEW |