OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 // to be be delivered until the notification is disabled. | 1588 // to be be delivered until the notification is disabled. |
1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, | 1589 IPC_MESSAGE_ROUTED1(ViewHostMsg_SetNeedsBeginFrame, |
1590 bool /* enabled */) | 1590 bool /* enabled */) |
1591 | 1591 |
1592 // Reply to the ViewMsg_ExtractSmartClipData message. | 1592 // Reply to the ViewMsg_ExtractSmartClipData message. |
1593 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, | 1593 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, |
1594 base::string16 /* text */, | 1594 base::string16 /* text */, |
1595 base::string16 /* html */, | 1595 base::string16 /* html */, |
1596 gfx::Rect /* rect */) | 1596 gfx::Rect /* rect */) |
1597 | 1597 |
| 1598 // Messages sent from the renderer to the browser after the page has been |
| 1599 // bound into / out of fullscreen. |
| 1600 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidEnterFullscreen) |
| 1601 IPC_MESSAGE_ROUTED0(ViewHostMsg_DidExitFullscreen) |
| 1602 |
1598 #elif defined(OS_MACOSX) | 1603 #elif defined(OS_MACOSX) |
1599 // Request that the browser load a font into shared memory for us. | 1604 // Request that the browser load a font into shared memory for us. |
1600 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, | 1605 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont, |
1601 FontDescriptor /* font to load */, | 1606 FontDescriptor /* font to load */, |
1602 uint32 /* buffer size */, | 1607 uint32 /* buffer size */, |
1603 base::SharedMemoryHandle /* font data */, | 1608 base::SharedMemoryHandle /* font data */, |
1604 uint32 /* font id */) | 1609 uint32 /* font id */) |
1605 | 1610 |
1606 // Informs the browser that a plugin has gained or lost focus. | 1611 // Informs the browser that a plugin has gained or lost focus. |
1607 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, | 1612 IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1640 // Since the browser keeps handles to the allocated transport DIBs, this | 1645 // Since the browser keeps handles to the allocated transport DIBs, this |
1641 // message is sent to tell the browser that it may release them when the | 1646 // message is sent to tell the browser that it may release them when the |
1642 // renderer is finished with them. | 1647 // renderer is finished with them. |
1643 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, | 1648 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, |
1644 TransportDIB::Id /* DIB id */) | 1649 TransportDIB::Id /* DIB id */) |
1645 #endif | 1650 #endif |
1646 | 1651 |
1647 // Adding a new message? Stick to the sort order above: first platform | 1652 // Adding a new message? Stick to the sort order above: first platform |
1648 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1653 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1649 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1654 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |