| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 interacting with frames. | 5 // IPC messages for interacting with frames. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 // Saves the image at location x, y to the disk (if there indeed is an | 955 // Saves the image at location x, y to the disk (if there indeed is an |
| 956 // image at that location). | 956 // image at that location). |
| 957 IPC_MESSAGE_ROUTED2(FrameMsg_SaveImageAt, | 957 IPC_MESSAGE_ROUTED2(FrameMsg_SaveImageAt, |
| 958 int /* x */, | 958 int /* x */, |
| 959 int /* y */) | 959 int /* y */) |
| 960 | 960 |
| 961 #if defined(ENABLE_PLUGINS) | 961 #if defined(ENABLE_PLUGINS) |
| 962 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 962 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
| 963 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 963 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
| 964 std::set<url::Origin> /* origin_whitelist */) | 964 std::set<url::Origin> /* origin_whitelist */) |
| 965 |
| 966 // This message notifies that the frame that the volume of the Pepper instance |
| 967 // for |pp_instance| should be changed to |volume|. |
| 968 IPC_MESSAGE_ROUTED2(FrameMsg_SetPepperVolume, |
| 969 int32_t /* pp_instance */, |
| 970 double /* volume */) |
| 965 #endif // defined(ENABLE_PLUGINS) | 971 #endif // defined(ENABLE_PLUGINS) |
| 966 | 972 |
| 967 // Used to instruct the RenderFrame to go into "view source" mode. This should | 973 // Used to instruct the RenderFrame to go into "view source" mode. This should |
| 968 // only be sent to the main frame. | 974 // only be sent to the main frame. |
| 969 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) | 975 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) |
| 970 | 976 |
| 971 // Tells the frame to suppress any further modal dialogs. This ensures that no | 977 // Tells the frame to suppress any further modal dialogs. This ensures that no |
| 972 // ScopedPageLoadDeferrer is on the stack for SwapOut. | 978 // ScopedPageLoadDeferrer is on the stack for SwapOut. |
| 973 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) | 979 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) |
| 974 | 980 |
| (...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1561 // nearest find result in the sending frame. | 1567 // nearest find result in the sending frame. |
| 1562 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1568 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1563 int /* nfr_request_id */, | 1569 int /* nfr_request_id */, |
| 1564 float /* distance */) | 1570 float /* distance */) |
| 1565 #endif | 1571 #endif |
| 1566 | 1572 |
| 1567 // Adding a new message? Stick to the sort order above: first platform | 1573 // Adding a new message? Stick to the sort order above: first platform |
| 1568 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1574 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1569 // platform independent FrameHostMsg, then ifdefs for platform specific | 1575 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1570 // FrameHostMsg. | 1576 // FrameHostMsg. |
| OLD | NEW |