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 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1032 // during the current page load happening on the frame. | 1032 // during the current page load happening on the frame. |
1033 IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport, | 1033 IPC_MESSAGE_ROUTED1(FrameMsg_BlinkFeatureUsageReport, |
1034 std::set<int>) /* features */ | 1034 std::set<int>) /* features */ |
1035 | 1035 |
1036 // Informs the renderer that mixed content was found by the browser. The | 1036 // Informs the renderer that mixed content was found by the browser. The |
1037 // included data is used for instance to report to the CSP policy and to log to | 1037 // included data is used for instance to report to the CSP policy and to log to |
1038 // the frame console. | 1038 // the frame console. |
1039 IPC_MESSAGE_ROUTED1(FrameMsg_MixedContentFound, | 1039 IPC_MESSAGE_ROUTED1(FrameMsg_MixedContentFound, |
1040 FrameMsg_MixedContentFound_Params) | 1040 FrameMsg_MixedContentFound_Params) |
1041 | 1041 |
| 1042 // Sent to inform the renderer to invoke a context menu. |
| 1043 // The parameter specifies the location in the render view's coordinates. |
| 1044 IPC_MESSAGE_ROUTED2(FrameMsg_ShowContextMenu, |
| 1045 ui::MenuSourceType, |
| 1046 gfx::Point /* location where menu should be shown */) |
| 1047 |
1042 // ----------------------------------------------------------------------------- | 1048 // ----------------------------------------------------------------------------- |
1043 // Messages sent from the renderer to the browser. | 1049 // Messages sent from the renderer to the browser. |
1044 | 1050 |
1045 // Blink and JavaScript error messages to log to the console | 1051 // Blink and JavaScript error messages to log to the console |
1046 // or debugger UI. | 1052 // or debugger UI. |
1047 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, | 1053 IPC_MESSAGE_ROUTED4(FrameHostMsg_DidAddMessageToConsole, |
1048 int32_t, /* log level */ | 1054 int32_t, /* log level */ |
1049 base::string16, /* msg */ | 1055 base::string16, /* msg */ |
1050 int32_t, /* line number */ | 1056 int32_t, /* line number */ |
1051 base::string16 /* source id */) | 1057 base::string16 /* source id */) |
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1673 int /* nfr_request_id */, | 1679 int /* nfr_request_id */, |
1674 float /* distance */) | 1680 float /* distance */) |
1675 | 1681 |
1676 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1682 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1677 #endif | 1683 #endif |
1678 | 1684 |
1679 // Adding a new message? Stick to the sort order above: first platform | 1685 // Adding a new message? Stick to the sort order above: first platform |
1680 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1686 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1681 // platform independent FrameHostMsg, then ifdefs for platform specific | 1687 // platform independent FrameHostMsg, then ifdefs for platform specific |
1682 // FrameHostMsg. | 1688 // FrameHostMsg. |
OLD | NEW |