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. This should | |
883 // only be sent the main frame. | |
nasko
2016/03/24 13:55:23
nit: "sent to the main frame".
clamy
2016/03/24 14:01:36
Done.
| |
884 IPC_MESSAGE_ROUTED0(FrameMsg_EnableViewSourceMode) | |
885 | |
882 // ----------------------------------------------------------------------------- | 886 // ----------------------------------------------------------------------------- |
883 // Messages sent from the renderer to the browser. | 887 // Messages sent from the renderer to the browser. |
884 | 888 |
885 // Blink and JavaScript error messages to log to the console | 889 // Blink and JavaScript error messages to log to the console |
886 // or debugger UI. | 890 // or debugger UI. |
887 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, | 891 IPC_MESSAGE_ROUTED4(FrameHostMsg_AddMessageToConsole, |
888 int32_t, /* log level */ | 892 int32_t, /* log level */ |
889 base::string16, /* msg */ | 893 base::string16, /* msg */ |
890 int32_t, /* line number */ | 894 int32_t, /* line number */ |
891 base::string16 /* source id */) | 895 base::string16 /* source id */) |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1453 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 1457 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |
1454 int /* version */, | 1458 int /* version */, |
1455 std::vector<gfx::RectF> /* rects */, | 1459 std::vector<gfx::RectF> /* rects */, |
1456 gfx::RectF /* active_rect */) | 1460 gfx::RectF /* active_rect */) |
1457 #endif | 1461 #endif |
1458 | 1462 |
1459 // Adding a new message? Stick to the sort order above: first platform | 1463 // Adding a new message? Stick to the sort order above: first platform |
1460 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1464 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1461 // platform independent FrameHostMsg, then ifdefs for platform specific | 1465 // platform independent FrameHostMsg, then ifdefs for platform specific |
1462 // FrameHostMsg. | 1466 // FrameHostMsg. |
OLD | NEW |