| 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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
| 10 #include "content/common/frame_message_enums.h" | 10 #include "content/common/frame_message_enums.h" |
| 11 #include "content/common/frame_param.h" | 11 #include "content/common/frame_param.h" |
| 12 #include "content/common/navigation_gesture.h" | 12 #include "content/common/navigation_gesture.h" |
| 13 #include "content/public/common/color_suggestion.h" | 13 #include "content/public/common/color_suggestion.h" |
| 14 #include "content/public/common/common_param_traits.h" | 14 #include "content/public/common/common_param_traits.h" |
| 15 #include "content/public/common/context_menu_params.h" | 15 #include "content/public/common/context_menu_params.h" |
| 16 #include "content/public/common/frame_navigate_params.h" | 16 #include "content/public/common/frame_navigate_params.h" |
| 17 #include "content/public/common/javascript_message_type.h" | 17 #include "content/public/common/javascript_message_type.h" |
| 18 #include "content/public/common/page_state.h" | 18 #include "content/public/common/page_state.h" |
| 19 #include "ipc/ipc_message_macros.h" | 19 #include "ipc/ipc_message_macros.h" |
| 20 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 20 #include "url/gurl.h" | 21 #include "url/gurl.h" |
| 21 | 22 |
| 22 #undef IPC_MESSAGE_EXPORT | 23 #undef IPC_MESSAGE_EXPORT |
| 23 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 24 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 24 | 25 |
| 25 #define IPC_MESSAGE_START FrameMsgStart | 26 #define IPC_MESSAGE_START FrameMsgStart |
| 26 | 27 |
| 27 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, | 28 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::JavaScriptMessageType, |
| 28 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, | 29 content::JAVASCRIPT_MESSAGE_TYPE_ALERT, |
| 29 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) | 30 content::JAVASCRIPT_MESSAGE_TYPE_PROMPT) |
| (...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 | 613 |
| 613 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, | 614 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, |
| 614 int64 /* player_cookie, distinguishes instances */) | 615 int64 /* player_cookie, distinguishes instances */) |
| 615 | 616 |
| 616 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and | 617 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and |
| 617 // |endOffset| are the offsets of the selection in the returned |content|. | 618 // |endOffset| are the offsets of the selection in the returned |content|. |
| 618 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 619 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
| 619 base::string16, /* content */ | 620 base::string16, /* content */ |
| 620 size_t, /* startOffset */ | 621 size_t, /* startOffset */ |
| 621 size_t /* endOffset */) | 622 size_t /* endOffset */) |
| OLD | NEW |