| 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 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1538 // nearest find result in the sending frame. | 1535 // nearest find result in the sending frame. |
| 1539 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1536 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1540 int /* nfr_request_id */, | 1537 int /* nfr_request_id */, |
| 1541 float /* distance */) | 1538 float /* distance */) |
| 1542 #endif | 1539 #endif |
| 1543 | 1540 |
| 1544 // Adding a new message? Stick to the sort order above: first platform | 1541 // Adding a new message? Stick to the sort order above: first platform |
| 1545 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1542 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1546 // platform independent FrameHostMsg, then ifdefs for platform specific | 1543 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1547 // FrameHostMsg. | 1544 // FrameHostMsg. |
| OLD | NEW |