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

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

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/child/plugin_param_traits.h" 8 #include "content/child/plugin_param_traits.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/content_param_traits.h" 10 #include "content/common/content_param_traits.h"
(...skipping 21 matching lines...) Expand all
32 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_values) 32 IPC_STRUCT_MEMBER(std::vector<std::string>, arg_values)
33 IPC_STRUCT_MEMBER(bool, load_manually) 33 IPC_STRUCT_MEMBER(bool, load_manually)
34 IPC_STRUCT_MEMBER(int, host_render_view_routing_id) 34 IPC_STRUCT_MEMBER(int, host_render_view_routing_id)
35 IPC_STRUCT_END() 35 IPC_STRUCT_END()
36 36
37 IPC_STRUCT_BEGIN(PluginHostMsg_URLRequest_Params) 37 IPC_STRUCT_BEGIN(PluginHostMsg_URLRequest_Params)
38 IPC_STRUCT_MEMBER(std::string, url) 38 IPC_STRUCT_MEMBER(std::string, url)
39 IPC_STRUCT_MEMBER(std::string, method) 39 IPC_STRUCT_MEMBER(std::string, method)
40 IPC_STRUCT_MEMBER(std::string, target) 40 IPC_STRUCT_MEMBER(std::string, target)
41 IPC_STRUCT_MEMBER(std::vector<char>, buffer) 41 IPC_STRUCT_MEMBER(std::vector<char>, buffer)
42 IPC_STRUCT_MEMBER(int, notify_id)
43 IPC_STRUCT_MEMBER(bool, popups_allowed) 42 IPC_STRUCT_MEMBER(bool, popups_allowed)
44 IPC_STRUCT_MEMBER(bool, notify_redirects) 43 IPC_STRUCT_MEMBER(bool, notify_redirects)
45 IPC_STRUCT_END() 44 IPC_STRUCT_END()
46 45
47 IPC_STRUCT_BEGIN(PluginMsg_DidReceiveResponseParams) 46 IPC_STRUCT_BEGIN(PluginMsg_DidReceiveResponseParams)
48 IPC_STRUCT_MEMBER(unsigned long, id) 47 IPC_STRUCT_MEMBER(unsigned long, id)
49 IPC_STRUCT_MEMBER(std::string, mime_type) 48 IPC_STRUCT_MEMBER(std::string, mime_type)
50 IPC_STRUCT_MEMBER(std::string, headers) 49 IPC_STRUCT_MEMBER(std::string, headers)
51 IPC_STRUCT_MEMBER(uint32, expected_length) 50 IPC_STRUCT_MEMBER(uint32, expected_length)
52 IPC_STRUCT_MEMBER(uint32, last_modified) 51 IPC_STRUCT_MEMBER(uint32, last_modified)
53 IPC_STRUCT_MEMBER(bool, request_is_seekable) 52 IPC_STRUCT_MEMBER(bool, request_is_seekable)
54 IPC_STRUCT_END() 53 IPC_STRUCT_END()
55 54
56 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params) 55 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params)
57 IPC_STRUCT_MEMBER(unsigned long, resource_id) 56 IPC_STRUCT_MEMBER(unsigned long, resource_id)
58 IPC_STRUCT_MEMBER(int, notify_id)
59 IPC_STRUCT_MEMBER(GURL, url) 57 IPC_STRUCT_MEMBER(GURL, url)
60 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) 58 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
61 IPC_STRUCT_MEMBER(std::string, method) 59 IPC_STRUCT_MEMBER(std::string, method)
62 IPC_STRUCT_MEMBER(std::vector<char>, post_data) 60 IPC_STRUCT_MEMBER(std::vector<char>, post_data)
63 IPC_STRUCT_MEMBER(GURL, referrer) 61 IPC_STRUCT_MEMBER(GURL, referrer)
64 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy) 62 IPC_STRUCT_MEMBER(blink::WebReferrerPolicy, referrer_policy)
65 IPC_STRUCT_MEMBER(bool, notify_redirect) 63 IPC_STRUCT_MEMBER(bool, notify_redirect)
66 IPC_STRUCT_MEMBER(bool, is_plugin_src_load) 64 IPC_STRUCT_MEMBER(bool, is_plugin_src_load)
67 IPC_STRUCT_MEMBER(int, render_frame_id) 65 IPC_STRUCT_MEMBER(int, render_frame_id)
68 IPC_STRUCT_END() 66 IPC_STRUCT_END()
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) 107 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint)
110 108
111 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_GetPluginScriptableObject, 109 IPC_SYNC_MESSAGE_ROUTED0_1(PluginMsg_GetPluginScriptableObject,
112 int /* route_id */) 110 int /* route_id */)
113 111
114 // Gets the form value of the plugin instance synchronously. 112 // Gets the form value of the plugin instance synchronously.
115 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetFormValue, 113 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetFormValue,
116 base::string16 /* value */, 114 base::string16 /* value */,
117 bool /* success */) 115 bool /* success */)
118 116
119 IPC_MESSAGE_ROUTED3(PluginMsg_DidFinishLoadWithReason,
120 GURL /* url */,
121 int /* reason */,
122 int /* notify_id */)
123
124 // Updates the plugin location. 117 // Updates the plugin location.
125 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry, 118 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry,
126 PluginMsg_UpdateGeometry_Param) 119 PluginMsg_UpdateGeometry_Param)
127 120
128 // A synchronous version of above. 121 // A synchronous version of above.
129 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, 122 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync,
130 PluginMsg_UpdateGeometry_Param) 123 PluginMsg_UpdateGeometry_Param)
131 124
132 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus, 125 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus,
133 bool /* focused */) 126 bool /* focused */)
(...skipping 18 matching lines...) Expand all
152 unsigned long /* id */, 145 unsigned long /* id */,
153 std::vector<char> /* buffer */, 146 std::vector<char> /* buffer */,
154 int /* data_offset */) 147 int /* data_offset */)
155 148
156 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading, 149 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading,
157 unsigned long /* id */) 150 unsigned long /* id */)
158 151
159 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail, 152 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail,
160 unsigned long /* id */) 153 unsigned long /* id */)
161 154
162 IPC_MESSAGE_ROUTED4(PluginMsg_SendJavaScriptStream, 155 IPC_MESSAGE_ROUTED3(PluginMsg_SendJavaScriptStream,
163 GURL /* url */, 156 GURL /* url */,
164 std::string /* result */, 157 std::string /* result */,
165 bool /* success */, 158 bool /* success */)
166 int /* notify_id */)
167 159
168 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse, 160 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse,
169 GURL /* url */, 161 GURL /* url */,
170 PluginMsg_DidReceiveResponseParams) 162 PluginMsg_DidReceiveResponseParams)
171 163
172 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveManualData, 164 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveManualData,
173 std::vector<char> /* buffer */) 165 std::vector<char> /* buffer */)
174 166
175 IPC_MESSAGE_ROUTED0(PluginMsg_DidFinishManualLoading) 167 IPC_MESSAGE_ROUTED0(PluginMsg_DidFinishManualLoading)
176 168
177 IPC_MESSAGE_ROUTED0(PluginMsg_DidManualLoadFail) 169 IPC_MESSAGE_ROUTED0(PluginMsg_DidManualLoadFail)
178 170
179 IPC_MESSAGE_ROUTED3(PluginMsg_HandleURLRequestReply, 171 IPC_MESSAGE_ROUTED2(PluginMsg_HandleURLRequestReply,
180 unsigned long /* resource_id */, 172 unsigned long /* resource_id */,
181 GURL /* url */, 173 GURL /* url */)
182 int /* notify_id */)
183 174
184 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply, 175 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply,
185 unsigned long /* resource_id */, 176 unsigned long /* resource_id */,
186 int /* range_request_id */) 177 int /* range_request_id */)
187 178
188 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, 179 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent,
189 int /* render_view_id */) 180 int /* render_view_id */)
190 181
191 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent, 182 IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent,
192 int /* render_view_id */) 183 int /* render_view_id */)
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 382 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
392 std::vector<content::NPVariant_Param> /* args */, 383 std::vector<content::NPVariant_Param> /* args */,
393 content::NPVariant_Param /* result_param */, 384 content::NPVariant_Param /* result_param */,
394 bool /* result */) 385 bool /* result */)
395 386
396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 387 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
397 std::string /* script */, 388 std::string /* script */,
398 bool /* popups_allowed */, 389 bool /* popups_allowed */,
399 content::NPVariant_Param /* result_param */, 390 content::NPVariant_Param /* result_param */,
400 bool /* result */) 391 bool /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698