| 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 #if defined(ENABLE_PLUGINS) | 877 #if defined(ENABLE_PLUGINS) |
| 878 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 878 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
| 879 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 879 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
| 880 std::set<url::Origin> /* origin_whitelist */) | 880 std::set<url::Origin> /* origin_whitelist */) |
| 881 #endif // defined(ENABLE_PLUGINS) | 881 #endif // defined(ENABLE_PLUGINS) |
| 882 | 882 |
| 883 // Used to instruct the RenderFrame to go into "view source" mode. This should | 883 // Used to instruct the RenderFrame to go into "view source" mode. This should |
| 884 // only be sent to the main frame. | 884 // only be sent to the main frame. |
| 885 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) | 885 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) |
| 886 | 886 |
| 887 // Tells the frame to suppress any further modal dialogs. This ensures that no |
| 888 // ScopedPageLoadDeferrer is on the stack for SwapOut. |
| 889 IPC_MESSAGE_ROUTED0(FrameMsg_SuppressFurtherDialogs) |
| 890 |
| 887 // ----------------------------------------------------------------------------- | 891 // ----------------------------------------------------------------------------- |
| 888 // Messages sent from the renderer to the browser. | 892 // Messages sent from the renderer to the browser. |
| 889 | 893 |
| 890 // Blink and JavaScript error messages to log to the console | 894 // Blink and JavaScript error messages to log to the console |
| 891 // or debugger UI. | 895 // or debugger UI. |
| 892 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, | 896 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, |
| 893 int32_t, /* log level */ | 897 int32_t, /* log level */ |
| 894 base::string16, /* msg */ | 898 base::string16, /* msg */ |
| 895 int32_t, /* line number */ | 899 int32_t, /* line number */ |
| 896 base::string16 /* source id */) | 900 base::string16 /* source id */) |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1450 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
| 1447 int /* version */, | 1451 int /* version */, |
| 1448 std::vector<gfx::RectF> /* rects */, | 1452 std::vector<gfx::RectF> /* rects */, |
| 1449 gfx::RectF /* active_rect */) | 1453 gfx::RectF /* active_rect */) |
| 1450 #endif | 1454 #endif |
| 1451 | 1455 |
| 1452 // Adding a new message? Stick to the sort order above: first platform | 1456 // Adding a new message? Stick to the sort order above: first platform |
| 1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1457 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1454 // platform independent FrameHostMsg, then ifdefs for platform specific | 1458 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1455 // FrameHostMsg. | 1459 // FrameHostMsg. |
| OLD | NEW |