Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: content/common/view_messages.h

Issue 14487003: Add a new pair of IPC categories for messages that need handling as input events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addresses feedback Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
11 #include "cc/output/compositor_frame.h" 11 #include "cc/output/compositor_frame.h"
12 #include "cc/output/compositor_frame_ack.h" 12 #include "cc/output/compositor_frame_ack.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "content/common/content_param_traits.h" 14 #include "content/common/content_param_traits.h"
15 #include "content/common/edit_command.h"
16 #include "content/common/navigation_gesture.h" 15 #include "content/common/navigation_gesture.h"
17 #include "content/common/pepper_renderer_instance_data.h" 16 #include "content/common/pepper_renderer_instance_data.h"
18 #include "content/common/view_message_enums.h" 17 #include "content/common/view_message_enums.h"
19 #include "content/port/common/input_event_ack_state.h" 18 #include "content/port/common/input_event_ack_state.h"
20 #include "content/public/common/common_param_traits.h" 19 #include "content/public/common/common_param_traits.h"
21 #include "content/public/common/context_menu_params.h" 20 #include "content/public/common/context_menu_params.h"
22 #include "content/public/common/favicon_url.h" 21 #include "content/public/common/favicon_url.h"
23 #include "content/public/common/file_chooser_params.h" 22 #include "content/public/common/file_chooser_params.h"
24 #include "content/public/common/frame_navigate_params.h" 23 #include "content/public/common/frame_navigate_params.h"
25 #include "content/public/common/javascript_message_type.h" 24 #include "content/public/common/javascript_message_type.h"
26 #include "content/public/common/page_zoom.h" 25 #include "content/public/common/page_zoom.h"
27 #include "content/public/common/referrer.h" 26 #include "content/public/common/referrer.h"
28 #include "content/public/common/renderer_preferences.h" 27 #include "content/public/common/renderer_preferences.h"
29 #include "content/public/common/stop_find_action.h" 28 #include "content/public/common/stop_find_action.h"
30 #include "content/public/common/three_d_api_types.h" 29 #include "content/public/common/three_d_api_types.h"
31 #include "content/public/common/window_container_type.h" 30 #include "content/public/common/window_container_type.h"
32 #include "ipc/ipc_channel_handle.h" 31 #include "ipc/ipc_channel_handle.h"
33 #include "ipc/ipc_message_macros.h" 32 #include "ipc/ipc_message_macros.h"
34 #include "ipc/ipc_platform_file.h" 33 #include "ipc/ipc_platform_file.h"
35 #include "media/audio/audio_parameters.h" 34 #include "media/audio/audio_parameters.h"
36 #include "media/base/channel_layout.h" 35 #include "media/base/channel_layout.h"
37 #include "media/base/media_log_event.h" 36 #include "media/base/media_log_event.h"
38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 37 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
39 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 38 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h"
42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h"
45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" 43 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h"
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 44 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
47 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" 45 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
48 #include "third_party/skia/include/core/SkBitmap.h" 46 #include "third_party/skia/include/core/SkBitmap.h"
49 #include "ui/base/ime/text_input_type.h" 47 #include "ui/base/ime/text_input_type.h"
50 #include "ui/base/range/range.h" 48 #include "ui/base/range/range.h"
51 #include "ui/gfx/point.h" 49 #include "ui/gfx/point.h"
52 #include "ui/gfx/rect.h" 50 #include "ui/gfx/rect.h"
(...skipping 17 matching lines...) Expand all
70 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) 68 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value)
71 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) 69 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType)
72 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) 70 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type)
73 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type) 71 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type)
74 IPC_ENUM_TRAITS(WebKit::WebPopupType) 72 IPC_ENUM_TRAITS(WebKit::WebPopupType)
75 IPC_ENUM_TRAITS(WebKit::WebTextDirection) 73 IPC_ENUM_TRAITS(WebKit::WebTextDirection)
76 IPC_ENUM_TRAITS(WebMenuItem::Type) 74 IPC_ENUM_TRAITS(WebMenuItem::Type)
77 IPC_ENUM_TRAITS(WindowContainerType) 75 IPC_ENUM_TRAITS(WindowContainerType)
78 IPC_ENUM_TRAITS(content::FaviconURL::IconType) 76 IPC_ENUM_TRAITS(content::FaviconURL::IconType)
79 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 77 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
80 IPC_ENUM_TRAITS(content::InputEventAckState)
81 IPC_ENUM_TRAITS(content::JavaScriptMessageType) 78 IPC_ENUM_TRAITS(content::JavaScriptMessageType)
82 IPC_ENUM_TRAITS(content::NavigationGesture) 79 IPC_ENUM_TRAITS(content::NavigationGesture)
83 IPC_ENUM_TRAITS(content::PageZoom) 80 IPC_ENUM_TRAITS(content::PageZoom)
84 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) 81 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
85 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) 82 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
86 IPC_ENUM_TRAITS(content::StopFindAction) 83 IPC_ENUM_TRAITS(content::StopFindAction)
87 IPC_ENUM_TRAITS(content::ThreeDAPIType) 84 IPC_ENUM_TRAITS(content::ThreeDAPIType)
88 IPC_ENUM_TRAITS(media::ChannelLayout) 85 IPC_ENUM_TRAITS(media::ChannelLayout)
89 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) 86 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
90 IPC_ENUM_TRAITS(ui::TextInputType) 87 IPC_ENUM_TRAITS(ui::TextInputType)
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 IPC_STRUCT_TRAITS_MEMBER(selection_end) 185 IPC_STRUCT_TRAITS_MEMBER(selection_end)
189 #endif 186 #endif
190 IPC_STRUCT_TRAITS_END() 187 IPC_STRUCT_TRAITS_END()
191 188
192 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) 189 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext)
193 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) 190 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu)
194 IPC_STRUCT_TRAITS_MEMBER(request_id) 191 IPC_STRUCT_TRAITS_MEMBER(request_id)
195 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) 192 IPC_STRUCT_TRAITS_MEMBER(render_widget_id)
196 IPC_STRUCT_TRAITS_END() 193 IPC_STRUCT_TRAITS_END()
197 194
198 IPC_STRUCT_TRAITS_BEGIN(content::EditCommand)
199 IPC_STRUCT_TRAITS_MEMBER(name)
200 IPC_STRUCT_TRAITS_MEMBER(value)
201 IPC_STRUCT_TRAITS_END()
202
203 IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL) 195 IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL)
204 IPC_STRUCT_TRAITS_MEMBER(icon_url) 196 IPC_STRUCT_TRAITS_MEMBER(icon_url)
205 IPC_STRUCT_TRAITS_MEMBER(icon_type) 197 IPC_STRUCT_TRAITS_MEMBER(icon_type)
206 IPC_STRUCT_TRAITS_END() 198 IPC_STRUCT_TRAITS_END()
207 199
208 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams) 200 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams)
209 IPC_STRUCT_TRAITS_MEMBER(mode) 201 IPC_STRUCT_TRAITS_MEMBER(mode)
210 IPC_STRUCT_TRAITS_MEMBER(title) 202 IPC_STRUCT_TRAITS_MEMBER(title)
211 IPC_STRUCT_TRAITS_MEMBER(default_file_name) 203 IPC_STRUCT_TRAITS_MEMBER(default_file_name)
212 IPC_STRUCT_TRAITS_MEMBER(accept_types) 204 IPC_STRUCT_TRAITS_MEMBER(accept_types)
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) 843 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK)
852 844
853 // Tells the render view that a SwapBuffers was completed. Typically, 845 // Tells the render view that a SwapBuffers was completed. Typically,
854 // SwapBuffers requests go from renderer -> GPU process -> browser. Most 846 // SwapBuffers requests go from renderer -> GPU process -> browser. Most
855 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack. 847 // platforms still use the GfxCxt3D Echo for receiving the SwapBuffers Ack.
856 // Using Echo routes the ack from browser -> GPU process -> renderer, while this 848 // Using Echo routes the ack from browser -> GPU process -> renderer, while this
857 // Ack goes directly from browser -> renderer. This is not used for the threaded 849 // Ack goes directly from browser -> renderer. This is not used for the threaded
858 // compositor path. 850 // compositor path.
859 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK) 851 IPC_MESSAGE_ROUTED0(ViewMsg_SwapBuffers_ACK)
860 852
861 // Sends an input event to the render widget.
862 IPC_MESSAGE_ROUTED2(ViewMsg_HandleInputEvent,
863 IPC::WebInputEventPointer /* event */,
864 bool /* is_keyboard_shortcut */)
865
866 // Tells the render widget that a smooth scroll completed. 853 // Tells the render widget that a smooth scroll completed.
867 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted, 854 IPC_MESSAGE_ROUTED1(ViewMsg_SmoothScrollCompleted,
868 int /* gesture_id */) 855 int /* gesture_id */)
869 856
870 // This message notifies the renderer that the next key event is bound to one
871 // or more pre-defined edit commands. If the next key event is not handled
872 // by webkit, the specified edit commands shall be executed against current
873 // focused frame.
874 // Parameters
875 // * edit_commands (see chrome/common/edit_command_types.h)
876 // Contains one or more edit commands.
877 // See third_party/WebKit/Source/WebCore/editing/EditorCommand.cpp for detailed
878 // definition of webkit edit commands.
879 //
880 // This message must be sent just before sending a key event.
881 IPC_MESSAGE_ROUTED1(ViewMsg_SetEditCommandsForNextKeyEvent,
882 std::vector<content::EditCommand> /* edit_commands */)
883
884 // Message payload is the name/value of a WebCore edit command to execute.
885 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteEditCommand,
886 std::string, /* name */
887 std::string /* value */)
888
889 IPC_MESSAGE_ROUTED0(ViewMsg_MouseCaptureLost)
890
891 // TODO(darin): figure out how this meshes with RestoreFocus
892 IPC_MESSAGE_ROUTED1(ViewMsg_SetFocus,
893 bool /* enable */)
894
895 // Tells the renderer to focus the first (last if reverse is true) focusable 857 // Tells the renderer to focus the first (last if reverse is true) focusable
896 // node. 858 // node.
897 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus, 859 IPC_MESSAGE_ROUTED1(ViewMsg_SetInitialFocus,
898 bool /* reverse */) 860 bool /* reverse */)
899 861
900 // Tells the renderer to scroll the currently focused node into rect only if
901 // the currently focused node is a Text node (textfield, text area or content
902 // editable divs).
903 IPC_MESSAGE_ROUTED1(ViewMsg_ScrollFocusedEditableNodeIntoRect, gfx::Rect)
904
905 // Executes custom context menu action that was provided from WebKit. 862 // Executes custom context menu action that was provided from WebKit.
906 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction, 863 IPC_MESSAGE_ROUTED2(ViewMsg_CustomContextMenuAction,
907 content::CustomContextMenuContext /* custom_context */, 864 content::CustomContextMenuContext /* custom_context */,
908 unsigned /* action */) 865 unsigned /* action */)
909 866
910 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that 867 // Sent in response to a ViewHostMsg_ContextMenu to let the renderer know that
911 // the menu has been closed. 868 // the menu has been closed.
912 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed, 869 IPC_MESSAGE_ROUTED1(ViewMsg_ContextMenuClosed,
913 content::CustomContextMenuContext /* custom_context */) 870 content::CustomContextMenuContext /* custom_context */)
914 871
(...skipping 13 matching lines...) Expand all
928 IPC_MESSAGE_ROUTED3(ViewMsg_Find, 885 IPC_MESSAGE_ROUTED3(ViewMsg_Find,
929 int /* request_id */, 886 int /* request_id */,
930 string16 /* search_text */, 887 string16 /* search_text */,
931 WebKit::WebFindOptions) 888 WebKit::WebFindOptions)
932 889
933 // This message notifies the renderer that the user has closed the FindInPage 890 // This message notifies the renderer that the user has closed the FindInPage
934 // window (and what action to take regarding the selection). 891 // window (and what action to take regarding the selection).
935 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, 892 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding,
936 content::StopFindAction /* action */) 893 content::StopFindAction /* action */)
937 894
938 // These messages are typically generated from context menus and request the
939 // renderer to apply the specified operation to the current selection.
940 IPC_MESSAGE_ROUTED0(ViewMsg_Undo)
941 IPC_MESSAGE_ROUTED0(ViewMsg_Redo)
942 IPC_MESSAGE_ROUTED0(ViewMsg_Cut)
943 IPC_MESSAGE_ROUTED0(ViewMsg_Copy)
944 #if defined(OS_MACOSX)
945 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard)
946 #endif
947 IPC_MESSAGE_ROUTED0(ViewMsg_Paste)
948 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle)
949 // Replaces the selected region or a word around the cursor with the
950 // specified string.
951 IPC_MESSAGE_ROUTED1(ViewMsg_Replace,
952 string16)
953 // Replaces the misspelling in the selected region with the specified string.
954 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceMisspelling,
955 string16)
956 IPC_MESSAGE_ROUTED0(ViewMsg_Delete)
957 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll)
958
959 // Replaces a date time input field. 895 // Replaces a date time input field.
960 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, 896 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
961 ViewHostMsg_DateTimeDialogValue_Params /* value */) 897 ViewHostMsg_DateTimeDialogValue_Params /* value */)
962 898
963 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect)
964
965 // Requests the renderer to select the region between two points.
966 // Expects a SelectRange_ACK message when finished.
967 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
968 gfx::Point /* start */,
969 gfx::Point /* end */)
970
971 // Requests the renderer to move the caret selection toward the point.
972 // Expects a MoveCaret_ACK message when finished.
973 IPC_MESSAGE_ROUTED1(ViewMsg_MoveCaret,
974 gfx::Point /* location */)
975
976 // Copies the image at location x, y to the clipboard (if there indeed is an 899 // Copies the image at location x, y to the clipboard (if there indeed is an
977 // image at that location). 900 // image at that location).
978 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 901 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
979 int /* x */, 902 int /* x */,
980 int /* y */) 903 int /* y */)
981 904
982 // Tells the renderer to perform the given action on the media player 905 // Tells the renderer to perform the given action on the media player
983 // located at the given point. 906 // located at the given point.
984 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 907 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
985 gfx::Point, /* location */ 908 gfx::Point, /* location */
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, 1227 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted,
1305 int /* snapshot_id */, 1228 int /* snapshot_id */,
1306 gfx::Size /* size */, 1229 gfx::Size /* size */,
1307 std::vector<unsigned char> /* png */) 1230 std::vector<unsigned char> /* png */)
1308 1231
1309 // Tells the renderer to suspend/resume the webkit timers. 1232 // Tells the renderer to suspend/resume the webkit timers.
1310 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, 1233 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended,
1311 bool /* suspend */) 1234 bool /* suspend */)
1312 1235
1313 #if defined(OS_ANDROID) 1236 #if defined(OS_ANDROID)
1314 // Sent when the user clicks on the find result bar to activate a find result.
1315 // The point (x,y) is in fractions of the content document's width and height.
1316 IPC_MESSAGE_ROUTED3(ViewMsg_ActivateNearestFindResult,
1317 int /* request_id */,
1318 float /* x */,
1319 float /* y */)
1320
1321 // Sent when the browser wants the bounding boxes of the current find matches. 1237 // Sent when the browser wants the bounding boxes of the current find matches.
1322 // 1238 //
1323 // If match rects are already cached on the browser side, |current_version| 1239 // If match rects are already cached on the browser side, |current_version|
1324 // should be the version number from the ViewHostMsg_FindMatchRects_Reply 1240 // should be the version number from the ViewHostMsg_FindMatchRects_Reply
1325 // they came in, so the renderer can tell if it needs to send updated rects. 1241 // they came in, so the renderer can tell if it needs to send updated rects.
1326 // Otherwise just pass -1 to always receive the list of rects. 1242 // Otherwise just pass -1 to always receive the list of rects.
1327 // 1243 //
1328 // There must be an active search string (it is probably most useful to call 1244 // There must be an active search string (it is probably most useful to call
1329 // this immediately after a ViewHostMsg_Find_Reply message arrives with 1245 // this immediately after a ViewHostMsg_Find_Reply message arrives with
1330 // final_update set to true). 1246 // final_update set to true).
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
1668 1584
1669 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect, 1585 // Sent to unblock the browser's UI thread if it is waiting on an UpdateRect,
1670 // which may get delayed until the browser's UI unblocks. 1586 // which may get delayed until the browser's UI unblocks.
1671 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed) 1587 IPC_MESSAGE_ROUTED0(ViewHostMsg_UpdateIsDelayed)
1672 1588
1673 // Sent by the renderer when accelerated compositing is enabled or disabled to 1589 // Sent by the renderer when accelerated compositing is enabled or disabled to
1674 // notify the browser whether or not is should do painting. 1590 // notify the browser whether or not is should do painting.
1675 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing, 1591 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidActivateAcceleratedCompositing,
1676 bool /* true if the accelerated compositor is actve */) 1592 bool /* true if the accelerated compositor is actve */)
1677 1593
1678 // Acknowledges receipt of a ViewMsg_HandleInputEvent message.
1679 IPC_MESSAGE_ROUTED2(ViewHostMsg_HandleInputEvent_ACK,
1680 WebKit::WebInputEvent::Type,
1681 content::InputEventAckState /* ack_result */)
1682
1683 IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params) 1594 IPC_STRUCT_BEGIN(ViewHostMsg_BeginSmoothScroll_Params)
1684 IPC_STRUCT_MEMBER(bool, scroll_down) 1595 IPC_STRUCT_MEMBER(bool, scroll_down)
1685 IPC_STRUCT_MEMBER(int, pixels_to_scroll) 1596 IPC_STRUCT_MEMBER(int, pixels_to_scroll)
1686 IPC_STRUCT_MEMBER(int, mouse_event_x) 1597 IPC_STRUCT_MEMBER(int, mouse_event_x)
1687 IPC_STRUCT_MEMBER(int, mouse_event_y) 1598 IPC_STRUCT_MEMBER(int, mouse_event_y)
1688 IPC_STRUCT_END() 1599 IPC_STRUCT_END()
1689 1600
1690 IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll, 1601 IPC_MESSAGE_ROUTED2(ViewHostMsg_BeginSmoothScroll,
1691 int /* gesture_id */, 1602 int /* gesture_id */,
1692 ViewHostMsg_BeginSmoothScroll_Params /* params */) 1603 ViewHostMsg_BeginSmoothScroll_Params /* params */)
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
2358 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2269 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2359 // for details. 2270 // for details.
2360 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2271 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2361 LOGFONT /* font_data */, 2272 LOGFONT /* font_data */,
2362 string16 /* characters */) 2273 string16 /* characters */)
2363 #endif 2274 #endif
2364 2275
2365 // Adding a new message? Stick to the sort order above: first platform 2276 // Adding a new message? Stick to the sort order above: first platform
2366 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2277 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2367 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2278 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/swapped_out_messages.cc ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698