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

Side by Side Diff: content/child/plugin_messages.h

Issue 1662013002: Remove some dead NPAPI code after r363119. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused functions Created 4 years, 10 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
« no previous file with comments | « content/child/npapi/webplugin.h ('k') | content/plugin/webplugin_delegate_stub.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 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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/child/plugin_param_traits.h" 10 #include "content/child/plugin_param_traits.h"
(...skipping 18 matching lines...) Expand all
29 29
30 IPC_STRUCT_BEGIN(PluginMsg_Init_Params) 30 IPC_STRUCT_BEGIN(PluginMsg_Init_Params)
31 IPC_STRUCT_MEMBER(GURL, url) 31 IPC_STRUCT_MEMBER(GURL, url)
32 IPC_STRUCT_MEMBER(GURL, page_url) 32 IPC_STRUCT_MEMBER(GURL, page_url)
33 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_names) 33 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_names)
34 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_values) 34 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_values)
35 IPC_STRUCT_MEMBER(bool, load_manually) 35 IPC_STRUCT_MEMBER(bool, load_manually)
36 IPC_STRUCT_MEMBER(int, host_render_view_routing_id) 36 IPC_STRUCT_MEMBER(int, host_render_view_routing_id)
37 IPC_STRUCT_END() 37 IPC_STRUCT_END()
38 38
39 IPC_STRUCT_BEGIN(PluginMsg_DidReceiveResponseParams)
40 IPC_STRUCT_MEMBER(unsigned long, id)
41 IPC_STRUCT_MEMBER(std::string, mime_type)
42 IPC_STRUCT_MEMBER(std::string, headers)
43 IPC_STRUCT_MEMBER(uint32_t, expected_length)
44 IPC_STRUCT_MEMBER(uint32_t, last_modified)
45 IPC_STRUCT_MEMBER(bool, request_is_seekable)
46 IPC_STRUCT_END()
47
48 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params)
49 IPC_STRUCT_MEMBER(unsigned long, resource_id)
50 IPC_STRUCT_MEMBER(GURL, url)
51 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
52 IPC_STRUCT_MEMBER(std::string, method)
53 IPC_STRUCT_MEMBER(std::vector<char>, post_data)
54 IPC_STRUCT_MEMBER(GURL, referrer)
55 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy)
56 IPC_STRUCT_MEMBER(bool, notify_redirect)
57 IPC_STRUCT_MEMBER(bool, is_plugin_src_load)
58 IPC_STRUCT_MEMBER(int, render_frame_id)
59 IPC_STRUCT_END()
60
61 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param) 39 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param)
62 IPC_STRUCT_MEMBER(gfx::Rect, window_rect) 40 IPC_STRUCT_MEMBER(gfx::Rect, window_rect)
63 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect) 41 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect)
64 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0) 42 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0)
65 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer1) 43 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer1)
66 IPC_STRUCT_MEMBER(int, windowless_buffer_index) 44 IPC_STRUCT_MEMBER(int, windowless_buffer_index)
67 IPC_STRUCT_END() 45 IPC_STRUCT_END()
68 46
69 //----------------------------------------------------------------------------- 47 //-----------------------------------------------------------------------------
70 // Plugin messages 48 // Plugin messages
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 bool /* focused */) 97 bool /* focused */)
120 98
121 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, 99 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent,
122 IPC::WebInputEventPointer /* event */, 100 IPC::WebInputEventPointer /* event */,
123 bool /* handled */, 101 bool /* handled */,
124 content::WebCursor /* cursor type*/) 102 content::WebCursor /* cursor type*/)
125 103
126 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, 104 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus,
127 bool /* has_focus */) 105 bool /* has_focus */)
128 106
129 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_WillSendRequest,
130 unsigned long /* id */,
131 GURL /* url */,
132 int /* http_status_code */)
133
134 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse,
135 PluginMsg_DidReceiveResponseParams)
136
137 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData,
138 unsigned long /* id */,
139 std::vector<char> /* buffer */,
140 int /* data_offset */)
141
142 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading,
143 unsigned long /* id */)
144
145 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail,
146 unsigned long /* id */)
147
148 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, 107 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent,
149 int /* render_view_id */) 108 int /* render_view_id */)
150 109
151 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, 110 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent,
152 int /* render_view_id */) 111 int /* render_view_id */)
153 112
154 #if defined(OS_WIN) 113 #if defined(OS_WIN)
155 IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated, 114 IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated,
156 base::string16 /* text */, 115 base::string16 /* text */,
157 std::vector<int> /* clauses */, 116 std::vector<int> /* clauses */,
(...skipping 26 matching lines...) Expand all
184 //----------------------------------------------------------------------------- 143 //-----------------------------------------------------------------------------
185 // PluginHost messages 144 // PluginHost messages
186 // These are messages sent from the plugin process to the renderer process. 145 // These are messages sent from the plugin process to the renderer process.
187 // They all map to the corresponding WebPlugin methods. 146 // They all map to the corresponding WebPlugin methods.
188 // Sends the plugin window information to the renderer. 147 // Sends the plugin window information to the renderer.
189 // The window parameter is a handle to the window if the plugin is a windowed 148 // The window parameter is a handle to the window if the plugin is a windowed
190 // plugin. It is NULL for windowless plugins. 149 // plugin. It is NULL for windowless plugins.
191 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, 150 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow,
192 gfx::PluginWindowHandle /* window */) 151 gfx::PluginWindowHandle /* window */)
193 152
194 IPC_MESSAGE_ROUTED1(PluginHostMsg_CancelResource,
195 int /* id */)
196
197 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect, 153 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect,
198 gfx::Rect /* rect */) 154 gfx::Rect /* rect */)
199 155
200 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetWindowScriptNPObject, 156 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetWindowScriptNPObject,
201 int /* route id */, 157 int /* route id */,
202 bool /* success */) 158 bool /* success */)
203 159
204 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetPluginElement, 160 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetPluginElement,
205 int /* route id */, 161 int /* route id */,
206 bool /* success */) 162 bool /* success */)
(...skipping 11 matching lines...) Expand all
218 IPC_SYNC_MESSAGE_ROUTED2_1(PluginHostMsg_GetCookies, 174 IPC_SYNC_MESSAGE_ROUTED2_1(PluginHostMsg_GetCookies,
219 GURL /* url */, 175 GURL /* url */,
220 GURL /* first_party_for_cookies */, 176 GURL /* first_party_for_cookies */,
221 std::string /* cookies */) 177 std::string /* cookies */)
222 178
223 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) 179 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad)
224 180
225 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStartLoading) 181 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStartLoading)
226 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStopLoading) 182 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStopLoading)
227 183
228 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading,
229 unsigned long /* resource_id */,
230 bool /* defer */)
231
232 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, 184 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException,
233 std::string /* message */) 185 std::string /* message */)
234 186
235 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) 187 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown)
236 188
237 IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse,
238 bool /* allow */,
239 int /* resource_id */)
240
241 #if defined(OS_WIN) 189 #if defined(OS_WIN)
242 // The modal_loop_pump_messages_event parameter is an event handle which is 190 // The modal_loop_pump_messages_event parameter is an event handle which is
243 // passed in for windowless plugins and is used to indicate if messages 191 // passed in for windowless plugins and is used to indicate if messages
244 // are to be pumped in sync calls to the plugin process. Currently used 192 // are to be pumped in sync calls to the plugin process. Currently used
245 // in HandleEvent calls. 193 // in HandleEvent calls.
246 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, 194 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData,
247 HANDLE /* modal_loop_pump_messages_event */, 195 HANDLE /* modal_loop_pump_messages_event */,
248 gfx::NativeViewId /* dummy_activation_window*/) 196 gfx::NativeViewId /* dummy_activation_window*/)
249 197
250 // Send the IME status retrieved from a windowless plugin. A windowless plugin 198 // Send the IME status retrieved from a windowless plugin. A windowless plugin
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 281 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
334 std::vector<content::NPVariant_Param> /* args */, 282 std::vector<content::NPVariant_Param> /* args */,
335 content::NPVariant_Param /* result_param */, 283 content::NPVariant_Param /* result_param */,
336 bool /* result */) 284 bool /* result */)
337 285
338 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 286 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
339 std::string /* script */, 287 std::string /* script */,
340 bool /* popups_allowed */, 288 bool /* popups_allowed */,
341 content::NPVariant_Param /* result_param */, 289 content::NPVariant_Param /* result_param */,
342 bool /* result */) 290 bool /* result */)
OLDNEW
« no previous file with comments | « content/child/npapi/webplugin.h ('k') | content/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698