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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
872 // This message notifies the renderer that the user has closed the find-in-page | 872 // This message notifies the renderer that the user has closed the find-in-page |
873 // window (and what action to take regarding the selection). | 873 // window (and what action to take regarding the selection). |
874 IPC_MESSAGE_ROUTED1(FrameMsg_StopFinding, content::StopFindAction /* action */) | 874 IPC_MESSAGE_ROUTED1(FrameMsg_StopFinding, content::StopFindAction /* action */) |
875 | 875 |
876 #if defined(ENABLE_PLUGINS) | 876 #if defined(ENABLE_PLUGINS) |
877 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 877 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
878 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 878 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
879 std::set<url::Origin> /* origin_whitelist */) | 879 std::set<url::Origin> /* origin_whitelist */) |
880 #endif // defined(ENABLE_PLUGINS) | 880 #endif // defined(ENABLE_PLUGINS) |
881 | 881 |
882 // Used to instruct the RenderFrame to go into "view source" mode. | |
nasko
2016/03/23 22:16:46
nit: Add a bit of comment that it is valid to send
| |
883 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) | |
884 | |
882 // ----------------------------------------------------------------------------- | 885 // ----------------------------------------------------------------------------- |
883 // Messages sent from the renderer to the browser. | 886 // Messages sent from the renderer to the browser. |
884 | 887 |
885 // Blink and JavaScript error messages to log to the console | 888 // Blink and JavaScript error messages to log to the console |
886 // or debugger UI. | 889 // or debugger UI. |
887 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, | 890 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, |
888 int32_t, /* log level */ | 891 int32_t, /* log level */ |
889 base::string16, /* msg */ | 892 base::string16, /* msg */ |
890 int32_t, /* line number */ | 893 int32_t, /* line number */ |
891 base::string16 /* source id */) | 894 base::string16 /* source id */) |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1453 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1456 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1454 int /* version */, | 1457 int /* version */, |
1455 std::vector<gfx::RectF> /* rects */, | 1458 std::vector<gfx::RectF> /* rects */, |
1456 gfx::RectF /* active_rect */) | 1459 gfx::RectF /* active_rect */) |
1457 #endif | 1460 #endif |
1458 | 1461 |
1459 // Adding a new message? Stick to the sort order above: first platform | 1462 // Adding a new message? Stick to the sort order above: first platform |
1460 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1463 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1461 // platform independent FrameHostMsg, then ifdefs for platform specific | 1464 // platform independent FrameHostMsg, then ifdefs for platform specific |
1462 // FrameHostMsg. | 1465 // FrameHostMsg. |
OLD | NEW |