| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 using FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap = | 73 using FrameMsg_SerializeAsMHTML_FrameRoutingIdToContentIdMap = |
| 74 std::map<int, std::string>; | 74 std::map<int, std::string>; |
| 75 | 75 |
| 76 #endif // CONTENT_COMMON_FRAME_MESSAGES_H_ | 76 #endif // CONTENT_COMMON_FRAME_MESSAGES_H_ |
| 77 | 77 |
| 78 #undef IPC_MESSAGE_EXPORT | 78 #undef IPC_MESSAGE_EXPORT |
| 79 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 79 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 80 | 80 |
| 81 #define IPC_MESSAGE_START FrameMsgStart | 81 #define IPC_MESSAGE_START FrameMsgStart |
| 82 | 82 |
| 83 IPC_ENUM_TRAITS_MIN_MAX_VALUE(AccessibilityMode, | |
| 84 AccessibilityModeOff, | |
| 85 AccessibilityModeComplete) | |
| 86 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, | 83 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, |
| 87 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, | 84 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, |
| 88 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) | 85 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) |
| 89 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_Navigate_Type::Value, | 86 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_Navigate_Type::Value, |
| 90 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) | 87 FrameMsg_Navigate_Type::NAVIGATE_TYPE_LAST) |
| 91 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, | 88 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, |
| 92 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) | 89 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) |
| 93 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, | 90 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, |
| 94 blink::WebContextMenuData::MediaTypeLast) | 91 blink::WebContextMenuData::MediaTypeLast) |
| 95 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, | 92 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, |
| (...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1513 // nearest find result in the sending frame. | 1510 // nearest find result in the sending frame. |
| 1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1511 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1515 int /* nfr_request_id */, | 1512 int /* nfr_request_id */, |
| 1516 float /* distance */) | 1513 float /* distance */) |
| 1517 #endif | 1514 #endif |
| 1518 | 1515 |
| 1519 // Adding a new message? Stick to the sort order above: first platform | 1516 // Adding a new message? Stick to the sort order above: first platform |
| 1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1517 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1521 // platform independent FrameHostMsg, then ifdefs for platform specific | 1518 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1522 // FrameHostMsg. | 1519 // FrameHostMsg. |
| OLD | NEW |