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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/socket_stream_handle_data.cc ('k') | content/common/worker_messages.h » ('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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 #include "content/common/mac/font_descriptor.h" 65 #include "content/common/mac/font_descriptor.h"
66 #endif 66 #endif
67 67
68 #undef IPC_MESSAGE_EXPORT 68 #undef IPC_MESSAGE_EXPORT
69 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 69 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
70 70
71 #define IPC_MESSAGE_START ViewMsgStart 71 #define IPC_MESSAGE_START ViewMsgStart
72 72
73 IPC_ENUM_TRAITS(AccessibilityMode) 73 IPC_ENUM_TRAITS(AccessibilityMode)
74 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) 74 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value)
75 IPC_ENUM_TRAITS(WebKit::WebContextMenuData::MediaType) 75 IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType)
76 IPC_ENUM_TRAITS(WebKit::WebMediaPlayerAction::Type) 76 IPC_ENUM_TRAITS(blink::WebMediaPlayerAction::Type)
77 IPC_ENUM_TRAITS(WebKit::WebPluginAction::Type) 77 IPC_ENUM_TRAITS(blink::WebPluginAction::Type)
78 IPC_ENUM_TRAITS(WebKit::WebPopupType) 78 IPC_ENUM_TRAITS(blink::WebPopupType)
79 IPC_ENUM_TRAITS(WebKit::WebTextDirection) 79 IPC_ENUM_TRAITS(blink::WebTextDirection)
80 IPC_ENUM_TRAITS(WindowContainerType) 80 IPC_ENUM_TRAITS(WindowContainerType)
81 IPC_ENUM_TRAITS(content::FaviconURL::IconType) 81 IPC_ENUM_TRAITS(content::FaviconURL::IconType)
82 IPC_ENUM_TRAITS(content::FileChooserParams::Mode) 82 IPC_ENUM_TRAITS(content::FileChooserParams::Mode)
83 IPC_ENUM_TRAITS(content::JavaScriptMessageType) 83 IPC_ENUM_TRAITS(content::JavaScriptMessageType)
84 IPC_ENUM_TRAITS(content::MenuItem::Type) 84 IPC_ENUM_TRAITS(content::MenuItem::Type)
85 IPC_ENUM_TRAITS(content::NavigationGesture) 85 IPC_ENUM_TRAITS(content::NavigationGesture)
86 IPC_ENUM_TRAITS(content::PageZoom) 86 IPC_ENUM_TRAITS(content::PageZoom)
87 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum) 87 IPC_ENUM_TRAITS(content::RendererPreferencesHintingEnum)
88 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum) 88 IPC_ENUM_TRAITS(content::RendererPreferencesSubpixelRenderingEnum)
89 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy, 89 IPC_ENUM_TRAITS_MAX_VALUE(content::TapMultipleTargetsStrategy,
90 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX) 90 content::TAP_MULTIPLE_TARGETS_STRATEGY_MAX)
91 IPC_ENUM_TRAITS(content::StopFindAction) 91 IPC_ENUM_TRAITS(content::StopFindAction)
92 IPC_ENUM_TRAITS(content::ThreeDAPIType) 92 IPC_ENUM_TRAITS(content::ThreeDAPIType)
93 IPC_ENUM_TRAITS(media::ChannelLayout) 93 IPC_ENUM_TRAITS(media::ChannelLayout)
94 IPC_ENUM_TRAITS(media::MediaLogEvent::Type) 94 IPC_ENUM_TRAITS(media::MediaLogEvent::Type)
95 IPC_ENUM_TRAITS(ui::MenuSourceType) 95 IPC_ENUM_TRAITS(ui::MenuSourceType)
96 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX) 96 IPC_ENUM_TRAITS_MAX_VALUE(ui::TextInputMode, ui::TEXT_INPUT_MODE_MAX)
97 IPC_ENUM_TRAITS(ui::TextInputType) 97 IPC_ENUM_TRAITS(ui::TextInputType)
98 98
99 #if defined(OS_MACOSX) 99 #if defined(OS_MACOSX)
100 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) 100 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor)
101 IPC_STRUCT_TRAITS_MEMBER(font_name) 101 IPC_STRUCT_TRAITS_MEMBER(font_name)
102 IPC_STRUCT_TRAITS_MEMBER(font_point_size) 102 IPC_STRUCT_TRAITS_MEMBER(font_point_size)
103 IPC_STRUCT_TRAITS_END() 103 IPC_STRUCT_TRAITS_END()
104 #endif 104 #endif
105 105
106 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCompositionUnderline) 106 IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline)
107 IPC_STRUCT_TRAITS_MEMBER(startOffset) 107 IPC_STRUCT_TRAITS_MEMBER(startOffset)
108 IPC_STRUCT_TRAITS_MEMBER(endOffset) 108 IPC_STRUCT_TRAITS_MEMBER(endOffset)
109 IPC_STRUCT_TRAITS_MEMBER(color) 109 IPC_STRUCT_TRAITS_MEMBER(color)
110 IPC_STRUCT_TRAITS_MEMBER(thick) 110 IPC_STRUCT_TRAITS_MEMBER(thick)
111 IPC_STRUCT_TRAITS_END() 111 IPC_STRUCT_TRAITS_END()
112 112
113 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFindOptions) 113 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions)
114 IPC_STRUCT_TRAITS_MEMBER(forward) 114 IPC_STRUCT_TRAITS_MEMBER(forward)
115 IPC_STRUCT_TRAITS_MEMBER(matchCase) 115 IPC_STRUCT_TRAITS_MEMBER(matchCase)
116 IPC_STRUCT_TRAITS_MEMBER(findNext) 116 IPC_STRUCT_TRAITS_MEMBER(findNext)
117 IPC_STRUCT_TRAITS_END() 117 IPC_STRUCT_TRAITS_END()
118 118
119 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebMediaPlayerAction) 119 IPC_STRUCT_TRAITS_BEGIN(blink::WebMediaPlayerAction)
120 IPC_STRUCT_TRAITS_MEMBER(type) 120 IPC_STRUCT_TRAITS_MEMBER(type)
121 IPC_STRUCT_TRAITS_MEMBER(enable) 121 IPC_STRUCT_TRAITS_MEMBER(enable)
122 IPC_STRUCT_TRAITS_END() 122 IPC_STRUCT_TRAITS_END()
123 123
124 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebPluginAction) 124 IPC_STRUCT_TRAITS_BEGIN(blink::WebPluginAction)
125 IPC_STRUCT_TRAITS_MEMBER(type) 125 IPC_STRUCT_TRAITS_MEMBER(type)
126 IPC_STRUCT_TRAITS_MEMBER(enable) 126 IPC_STRUCT_TRAITS_MEMBER(enable)
127 IPC_STRUCT_TRAITS_END() 127 IPC_STRUCT_TRAITS_END()
128 128
129 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatPoint) 129 IPC_STRUCT_TRAITS_BEGIN(blink::WebFloatPoint)
130 IPC_STRUCT_TRAITS_MEMBER(x) 130 IPC_STRUCT_TRAITS_MEMBER(x)
131 IPC_STRUCT_TRAITS_MEMBER(y) 131 IPC_STRUCT_TRAITS_MEMBER(y)
132 IPC_STRUCT_TRAITS_END() 132 IPC_STRUCT_TRAITS_END()
133 133
134 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebFloatRect) 134 IPC_STRUCT_TRAITS_BEGIN(blink::WebFloatRect)
135 IPC_STRUCT_TRAITS_MEMBER(x) 135 IPC_STRUCT_TRAITS_MEMBER(x)
136 IPC_STRUCT_TRAITS_MEMBER(y) 136 IPC_STRUCT_TRAITS_MEMBER(y)
137 IPC_STRUCT_TRAITS_MEMBER(width) 137 IPC_STRUCT_TRAITS_MEMBER(width)
138 IPC_STRUCT_TRAITS_MEMBER(height) 138 IPC_STRUCT_TRAITS_MEMBER(height)
139 IPC_STRUCT_TRAITS_END() 139 IPC_STRUCT_TRAITS_END()
140 140
141 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebScreenInfo) 141 IPC_STRUCT_TRAITS_BEGIN(blink::WebScreenInfo)
142 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor) 142 IPC_STRUCT_TRAITS_MEMBER(deviceScaleFactor)
143 IPC_STRUCT_TRAITS_MEMBER(depth) 143 IPC_STRUCT_TRAITS_MEMBER(depth)
144 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) 144 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent)
145 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) 145 IPC_STRUCT_TRAITS_MEMBER(isMonochrome)
146 IPC_STRUCT_TRAITS_MEMBER(rect) 146 IPC_STRUCT_TRAITS_MEMBER(rect)
147 IPC_STRUCT_TRAITS_MEMBER(availableRect) 147 IPC_STRUCT_TRAITS_MEMBER(availableRect)
148 IPC_STRUCT_TRAITS_END() 148 IPC_STRUCT_TRAITS_END()
149 149
150 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) 150 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem)
151 IPC_STRUCT_TRAITS_MEMBER(label) 151 IPC_STRUCT_TRAITS_MEMBER(label)
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 355
356 // The URL that will be loaded in the new window (empty if none has been 356 // The URL that will be loaded in the new window (empty if none has been
357 // sepcified). 357 // sepcified).
358 IPC_STRUCT_MEMBER(GURL, target_url) 358 IPC_STRUCT_MEMBER(GURL, target_url)
359 359
360 // The referrer that will be used to load |target_url| (empty if none has 360 // The referrer that will be used to load |target_url| (empty if none has
361 // been specified). 361 // been specified).
362 IPC_STRUCT_MEMBER(content::Referrer, referrer) 362 IPC_STRUCT_MEMBER(content::Referrer, referrer)
363 363
364 // The window features to use for the new view. 364 // The window features to use for the new view.
365 IPC_STRUCT_MEMBER(WebKit::WebWindowFeatures, features) 365 IPC_STRUCT_MEMBER(blink::WebWindowFeatures, features)
366 IPC_STRUCT_END() 366 IPC_STRUCT_END()
367 367
368 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) 368 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
369 // URL for the worker script. 369 // URL for the worker script.
370 IPC_STRUCT_MEMBER(GURL, url) 370 IPC_STRUCT_MEMBER(GURL, url)
371 371
372 // Name for a SharedWorker, otherwise empty string. 372 // Name for a SharedWorker, otherwise empty string.
373 IPC_STRUCT_MEMBER(string16, name) 373 IPC_STRUCT_MEMBER(string16, name)
374 374
375 // The ID of the parent document (unique within parent renderer). 375 // The ID of the parent document (unique within parent renderer).
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 IPC_STRUCT_MEMBER(GURL, url) 476 IPC_STRUCT_MEMBER(GURL, url)
477 IPC_STRUCT_MEMBER(content::Referrer, referrer) 477 IPC_STRUCT_MEMBER(content::Referrer, referrer)
478 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 478 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
479 IPC_STRUCT_MEMBER(int64, frame_id) 479 IPC_STRUCT_MEMBER(int64, frame_id)
480 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 480 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
481 IPC_STRUCT_MEMBER(bool, user_gesture) 481 IPC_STRUCT_MEMBER(bool, user_gesture)
482 IPC_STRUCT_END() 482 IPC_STRUCT_END()
483 483
484 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params) 484 IPC_STRUCT_BEGIN(ViewHostMsg_SelectionBounds_Params)
485 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect) 485 IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect)
486 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, anchor_dir) 486 IPC_STRUCT_MEMBER(blink::WebTextDirection, anchor_dir)
487 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect) 487 IPC_STRUCT_MEMBER(gfx::Rect, focus_rect)
488 IPC_STRUCT_MEMBER(WebKit::WebTextDirection, focus_dir) 488 IPC_STRUCT_MEMBER(blink::WebTextDirection, focus_dir)
489 IPC_STRUCT_MEMBER(bool, is_anchor_first) 489 IPC_STRUCT_MEMBER(bool, is_anchor_first)
490 IPC_STRUCT_END() 490 IPC_STRUCT_END()
491 491
492 // This message is used for supporting popup menus on Mac OS X using native 492 // This message is used for supporting popup menus on Mac OS X using native
493 // Cocoa controls. The renderer sends us this message which we use to populate 493 // Cocoa controls. The renderer sends us this message which we use to populate
494 // the popup menu. 494 // the popup menu.
495 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params) 495 IPC_STRUCT_BEGIN(ViewHostMsg_ShowPopup_Params)
496 // Position on the screen. 496 // Position on the screen.
497 IPC_STRUCT_MEMBER(gfx::Rect, bounds) 497 IPC_STRUCT_MEMBER(gfx::Rect, bounds)
498 498
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 730
731 // Whether the RenderView should initially be hidden. 731 // Whether the RenderView should initially be hidden.
732 IPC_STRUCT_MEMBER(bool, hidden) 732 IPC_STRUCT_MEMBER(bool, hidden)
733 733
734 // The initial page ID to use for this view, which must be larger than any 734 // The initial page ID to use for this view, which must be larger than any
735 // existing navigation that might be loaded in the view. Page IDs are unique 735 // existing navigation that might be loaded in the view. Page IDs are unique
736 // to a view and are only updated by the renderer after this initial value. 736 // to a view and are only updated by the renderer after this initial value.
737 IPC_STRUCT_MEMBER(int32, next_page_id) 737 IPC_STRUCT_MEMBER(int32, next_page_id)
738 738
739 // The properties of the screen associated with the view. 739 // The properties of the screen associated with the view.
740 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) 740 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
741 741
742 // The accessibility mode of the renderer. 742 // The accessibility mode of the renderer.
743 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode) 743 IPC_STRUCT_MEMBER(AccessibilityMode, accessibility_mode)
744 744
745 // Specifies whether partially swapping composited buffers is 745 // Specifies whether partially swapping composited buffers is
746 // allowed for a renderer. Partial swaps will be used if they are both 746 // allowed for a renderer. Partial swaps will be used if they are both
747 // allowed and supported. 747 // allowed and supported.
748 IPC_STRUCT_MEMBER(bool, allow_partial_swap) 748 IPC_STRUCT_MEMBER(bool, allow_partial_swap)
749 IPC_STRUCT_END() 749 IPC_STRUCT_END()
750 750
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 844 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
845 WebPreferences) 845 WebPreferences)
846 846
847 // Informs the renderer that the timezone has changed. 847 // Informs the renderer that the timezone has changed.
848 IPC_MESSAGE_ROUTED0(ViewMsg_TimezoneChange) 848 IPC_MESSAGE_ROUTED0(ViewMsg_TimezoneChange)
849 849
850 // Tells the render view to close. 850 // Tells the render view to close.
851 IPC_MESSAGE_ROUTED0(ViewMsg_Close) 851 IPC_MESSAGE_ROUTED0(ViewMsg_Close)
852 852
853 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) 853 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params)
854 IPC_STRUCT_MEMBER(WebKit::WebScreenInfo, screen_info) 854 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
855 IPC_STRUCT_MEMBER(gfx::Size, new_size) 855 IPC_STRUCT_MEMBER(gfx::Size, new_size)
856 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) 856 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size)
857 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) 857 IPC_STRUCT_MEMBER(float, overdraw_bottom_height)
858 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) 858 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect)
859 IPC_STRUCT_MEMBER(bool, is_fullscreen) 859 IPC_STRUCT_MEMBER(bool, is_fullscreen)
860 IPC_STRUCT_END() 860 IPC_STRUCT_END()
861 861
862 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message 862 // Tells the render view to change its size. A ViewHostMsg_UpdateRect message
863 // is generated in response provided new_size is not empty and not equal to 863 // is generated in response provided new_size is not empty and not equal to
864 // the view's current size. The generated ViewHostMsg_UpdateRect message will 864 // the view's current size. The generated ViewHostMsg_UpdateRect message will
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 942
943 IPC_MESSAGE_ROUTED0(ViewMsg_Stop) 943 IPC_MESSAGE_ROUTED0(ViewMsg_Stop)
944 944
945 // Tells the renderer to reload the current focused frame 945 // Tells the renderer to reload the current focused frame
946 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame) 946 IPC_MESSAGE_ROUTED0(ViewMsg_ReloadFrame)
947 947
948 // Sent when the user wants to search for a word on the page (find in page). 948 // Sent when the user wants to search for a word on the page (find in page).
949 IPC_MESSAGE_ROUTED3(ViewMsg_Find, 949 IPC_MESSAGE_ROUTED3(ViewMsg_Find,
950 int /* request_id */, 950 int /* request_id */,
951 string16 /* search_text */, 951 string16 /* search_text */,
952 WebKit::WebFindOptions) 952 blink::WebFindOptions)
953 953
954 // This message notifies the renderer that the user has closed the FindInPage 954 // This message notifies the renderer that the user has closed the FindInPage
955 // window (and what action to take regarding the selection). 955 // window (and what action to take regarding the selection).
956 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding, 956 IPC_MESSAGE_ROUTED1(ViewMsg_StopFinding,
957 content::StopFindAction /* action */) 957 content::StopFindAction /* action */)
958 958
959 // Informs the renderer about various statistics the browser has (e.g. 959 // Informs the renderer about various statistics the browser has (e.g.
960 // latency) regarding the frames that have been displayed. 960 // latency) regarding the frames that have been displayed.
961 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, 961 IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats,
962 content::BrowserRenderingStats /* stats */) 962 content::BrowserRenderingStats /* stats */)
963 963
964 // Replaces a date time input field. 964 // Replaces a date time input field.
965 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, 965 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
966 ViewHostMsg_DateTimeDialogValue_Params /* value */) 966 ViewHostMsg_DateTimeDialogValue_Params /* value */)
967 967
968 // Copies the image at location x, y to the clipboard (if there indeed is an 968 // Copies the image at location x, y to the clipboard (if there indeed is an
969 // image at that location). 969 // image at that location).
970 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, 970 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt,
971 int /* x */, 971 int /* x */,
972 int /* y */) 972 int /* y */)
973 973
974 // Tells the renderer to perform the given action on the media player 974 // Tells the renderer to perform the given action on the media player
975 // located at the given point. 975 // located at the given point.
976 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt, 976 IPC_MESSAGE_ROUTED2(ViewMsg_MediaPlayerActionAt,
977 gfx::Point, /* location */ 977 gfx::Point, /* location */
978 WebKit::WebMediaPlayerAction) 978 blink::WebMediaPlayerAction)
979 979
980 // Tells the renderer to perform the given action on the plugin located at 980 // Tells the renderer to perform the given action on the plugin located at
981 // the given point. 981 // the given point.
982 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt, 982 IPC_MESSAGE_ROUTED2(ViewMsg_PluginActionAt,
983 gfx::Point, /* location */ 983 gfx::Point, /* location */
984 WebKit::WebPluginAction) 984 blink::WebPluginAction)
985 985
986 // Request for the renderer to evaluate an xpath to a frame and execute a 986 // Request for the renderer to evaluate an xpath to a frame and execute a
987 // javascript: url in that frame's context. The message is completely 987 // javascript: url in that frame's context. The message is completely
988 // asynchronous and no corresponding response message is sent back. 988 // asynchronous and no corresponding response message is sent back.
989 // 989 //
990 // frame_xpath contains the modified xpath notation to identify an inner 990 // frame_xpath contains the modified xpath notation to identify an inner
991 // subframe (starting from the root frame). It is a concatenation of 991 // subframe (starting from the root frame). It is a concatenation of
992 // number of smaller xpaths delimited by '\n'. Each chunk in the string can 992 // number of smaller xpaths delimited by '\n'. Each chunk in the string can
993 // be evaluated to a frame in its parent-frame's context. 993 // be evaluated to a frame in its parent-frame's context.
994 // 994 //
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState 1089 // true Start sending IPC message ViewHostMsg_ImeUpdateTextInputState
1090 // to notify the input method status of the focused edit control. 1090 // to notify the input method status of the focused edit control.
1091 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState. 1091 // false Stop sending IPC message ViewHostMsg_ImeUpdateTextInputState.
1092 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive, 1092 IPC_MESSAGE_ROUTED1(ViewMsg_SetInputMethodActive,
1093 bool /* is_active */) 1093 bool /* is_active */)
1094 1094
1095 // This message sends a string being composed with an input method. 1095 // This message sends a string being composed with an input method.
1096 IPC_MESSAGE_ROUTED4( 1096 IPC_MESSAGE_ROUTED4(
1097 ViewMsg_ImeSetComposition, 1097 ViewMsg_ImeSetComposition,
1098 string16, /* text */ 1098 string16, /* text */
1099 std::vector<WebKit::WebCompositionUnderline>, /* underlines */ 1099 std::vector<blink::WebCompositionUnderline>, /* underlines */
1100 int, /* selectiont_start */ 1100 int, /* selectiont_start */
1101 int /* selection_end */) 1101 int /* selection_end */)
1102 1102
1103 // This message confirms an ongoing composition. 1103 // This message confirms an ongoing composition.
1104 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition, 1104 IPC_MESSAGE_ROUTED3(ViewMsg_ImeConfirmComposition,
1105 string16 /* text */, 1105 string16 /* text */,
1106 gfx::Range /* replacement_range */, 1106 gfx::Range /* replacement_range */,
1107 bool /* keep_selection */) 1107 bool /* keep_selection */)
1108 1108
1109 // Sets the text composition to be between the given start and end offsets 1109 // Sets the text composition to be between the given start and end offsets
1110 // in the currently focused editable field. 1110 // in the currently focused editable field.
1111 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText, 1111 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText,
1112 int /* start */, 1112 int /* start */,
1113 int /* end */, 1113 int /* end */,
1114 std::vector<WebKit::WebCompositionUnderline> /* underlines */) 1114 std::vector<blink::WebCompositionUnderline> /* underlines */)
1115 1115
1116 // Selects between the given start and end offsets in the currently focused 1116 // Selects between the given start and end offsets in the currently focused
1117 // editable field. 1117 // editable field.
1118 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets, 1118 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets,
1119 int /* start */, 1119 int /* start */,
1120 int /* end */) 1120 int /* end */)
1121 1121
1122 // Deletes the current selection plus the specified number of characters before 1122 // Deletes the current selection plus the specified number of characters before
1123 // and after the selection or caret. 1123 // and after the selection or caret.
1124 IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete, 1124 IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize, 1205 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize,
1206 gfx::Size /* min_size */, 1206 gfx::Size /* min_size */,
1207 gfx::Size /* max_size */) 1207 gfx::Size /* max_size */)
1208 1208
1209 // Used to instruct the RenderView to disalbe automatically resize. 1209 // Used to instruct the RenderView to disalbe automatically resize.
1210 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, 1210 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize,
1211 gfx::Size /* new_size */) 1211 gfx::Size /* new_size */)
1212 1212
1213 // Changes the text direction of the currently selected input field (if any). 1213 // Changes the text direction of the currently selected input field (if any).
1214 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, 1214 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
1215 WebKit::WebTextDirection /* direction */) 1215 blink::WebTextDirection /* direction */)
1216 1216
1217 // Tells the renderer to clear the focused node (if any). 1217 // Tells the renderer to clear the focused node (if any).
1218 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) 1218 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode)
1219 1219
1220 // Make the RenderView transparent and render it onto a custom background. The 1220 // Make the RenderView transparent and render it onto a custom background. The
1221 // background will be tiled in both directions if it is not large enough. 1221 // background will be tiled in both directions if it is not large enough.
1222 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, 1222 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground,
1223 SkBitmap /* background */) 1223 SkBitmap /* background */)
1224 1224
1225 // Used to tell the renderer not to add scrollbars with height and 1225 // Used to tell the renderer not to add scrollbars with height and
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 int /* route_id */, 1388 int /* route_id */,
1389 int /* main_frame_route_id */, 1389 int /* main_frame_route_id */,
1390 int32 /* surface_id */, 1390 int32 /* surface_id */,
1391 int64 /* cloned_session_storage_namespace_id */) 1391 int64 /* cloned_session_storage_namespace_id */)
1392 1392
1393 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like 1393 // Similar to ViewHostMsg_CreateWindow, except used for sub-widgets, like
1394 // <select> dropdowns. This message is sent to the WebContentsImpl that 1394 // <select> dropdowns. This message is sent to the WebContentsImpl that
1395 // contains the widget being created. 1395 // contains the widget being created.
1396 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget, 1396 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_CreateWidget,
1397 int /* opener_id */, 1397 int /* opener_id */,
1398 WebKit::WebPopupType /* popup type */, 1398 blink::WebPopupType /* popup type */,
1399 int /* route_id */, 1399 int /* route_id */,
1400 int32 /* surface_id */) 1400 int32 /* surface_id */)
1401 1401
1402 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen 1402 // Similar to ViewHostMsg_CreateWidget except the widget is a full screen
1403 // window. 1403 // window.
1404 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget, 1404 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_CreateFullscreenWidget,
1405 int /* opener_id */, 1405 int /* opener_id */,
1406 int /* route_id */, 1406 int /* route_id */,
1407 int32 /* surface_id */) 1407 int32 /* surface_id */)
1408 1408
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidFinishLoad, 1556 IPC_MESSAGE_ROUTED3(ViewHostMsg_DidFinishLoad,
1557 int64 /* frame_id */, 1557 int64 /* frame_id */,
1558 GURL /* validated_url */, 1558 GURL /* validated_url */,
1559 bool /* is_main_frame */) 1559 bool /* is_main_frame */)
1560 1560
1561 // Changes the title for the page in the UI when the page is navigated or the 1561 // Changes the title for the page in the UI when the page is navigated or the
1562 // title changes. 1562 // title changes.
1563 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle, 1563 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateTitle,
1564 int32 /* page_id */, 1564 int32 /* page_id */,
1565 string16 /* title */, 1565 string16 /* title */,
1566 WebKit::WebTextDirection /* title direction */) 1566 blink::WebTextDirection /* title direction */)
1567 1567
1568 // Change the encoding name of the page in UI when the page has detected 1568 // Change the encoding name of the page in UI when the page has detected
1569 // proper encoding name. 1569 // proper encoding name.
1570 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding, 1570 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateEncoding,
1571 std::string /* new encoding name */) 1571 std::string /* new encoding name */)
1572 1572
1573 // Notifies the browser that we want to show a destination url for a potential 1573 // Notifies the browser that we want to show a destination url for a potential
1574 // action (e.g. when the user is hovering over a link). 1574 // action (e.g. when the user is hovering over a link).
1575 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL, 1575 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateTargetURL,
1576 int32, 1576 int32,
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 // Destroy a plugin container previously created using CreatePluginContainer. 1961 // Destroy a plugin container previously created using CreatePluginContainer.
1962 // id is the XID of the plugin window corresponding to the container that is 1962 // id is the XID of the plugin window corresponding to the container that is
1963 // to be destroyed. 1963 // to be destroyed.
1964 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer, 1964 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_DestroyPluginContainer,
1965 gfx::PluginWindowHandle /* id */) 1965 gfx::PluginWindowHandle /* id */)
1966 #endif 1966 #endif
1967 1967
1968 // Send the tooltip text for the current mouse position to the browser. 1968 // Send the tooltip text for the current mouse position to the browser.
1969 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 1969 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
1970 string16 /* tooltip text string */, 1970 string16 /* tooltip text string */,
1971 WebKit::WebTextDirection /* text direction hint */) 1971 blink::WebTextDirection /* text direction hint */)
1972 1972
1973 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK) 1973 IPC_MESSAGE_ROUTED0(ViewHostMsg_SelectRange_ACK)
1974 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK) 1974 IPC_MESSAGE_ROUTED0(ViewHostMsg_MoveCaret_ACK)
1975 1975
1976 // Notification that the text selection has changed. 1976 // Notification that the text selection has changed.
1977 // Note: The secound parameter is the character based offset of the string16 1977 // Note: The secound parameter is the character based offset of the string16
1978 // text in the document. 1978 // text in the document.
1979 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged, 1979 IPC_MESSAGE_ROUTED3(ViewHostMsg_SelectionChanged,
1980 string16 /* text covers the selection range */, 1980 string16 /* text covers the selection range */,
1981 size_t /* the offset of the text in the document */, 1981 size_t /* the offset of the text in the document */,
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
2370 // synchronously (see crbug.com/120597). This IPC message sends the character 2370 // synchronously (see crbug.com/120597). This IPC message sends the character
2371 // bounds after every composition change to always have correct bound info. 2371 // bounds after every composition change to always have correct bound info.
2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2372 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2373 gfx::Range /* composition range */, 2373 gfx::Range /* composition range */,
2374 std::vector<gfx::Rect> /* character bounds */) 2374 std::vector<gfx::Rect> /* character bounds */)
2375 #endif 2375 #endif
2376 2376
2377 // Adding a new message? Stick to the sort order above: first platform 2377 // Adding a new message? Stick to the sort order above: first platform
2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2378 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2379 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/socket_stream_handle_data.cc ('k') | content/common/worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698