| 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 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 // |endOffset| are the offsets of the selection in the returned |content|. | 626 // |endOffset| are the offsets of the selection in the returned |content|. |
| 626 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, | 627 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, |
| 627 base::string16, /* content */ | 628 base::string16, /* content */ |
| 628 size_t, /* startOffset */ | 629 size_t, /* startOffset */ |
| 629 size_t /* endOffset */) | 630 size_t /* endOffset */) |
| 630 | 631 |
| 631 // Notifies the browser that the renderer has a pending navigation transition. | 632 // Notifies the browser that the renderer has a pending navigation transition. |
| 632 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, | 633 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, |
| 633 int /* render_frame_id */, | 634 int /* render_frame_id */, |
| 634 bool /* is_transition */) | 635 bool /* is_transition */) |
| OLD | NEW |