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

Side by Side Diff: extensions/common/extension_messages.h

Issue 856563002: Added the infrastructure for surfaceProxy.onResize() and SurfaceView.onResize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment by kalman@. Created 5 years, 11 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 // The URL of the frame that initiated the request. 181 // The URL of the frame that initiated the request.
182 IPC_STRUCT_MEMBER(GURL, source_url) 182 IPC_STRUCT_MEMBER(GURL, source_url)
183 183
184 // The ID of the frame that is the target of the request. 184 // The ID of the frame that is the target of the request.
185 IPC_STRUCT_MEMBER(int, target_frame_id) 185 IPC_STRUCT_MEMBER(int, target_frame_id)
186 186
187 // The process ID of the webview that initiated the request. 187 // The process ID of the webview that initiated the request.
188 IPC_STRUCT_MEMBER(int, guest_process_id) 188 IPC_STRUCT_MEMBER(int, guest_process_id)
189 IPC_STRUCT_END() 189 IPC_STRUCT_END()
190 190
191 // Struct containing all the data needed to create a MimeHandlerViewGuest.
192 IPC_STRUCT_BEGIN(ExtensionHostMsg_CreateMimeHandlerViewGuest_Params)
193 // The URL of the embedder.
194 IPC_STRUCT_MEMBER(std::string, embedder_url)
195
196 // The URL of the content.
197 IPC_STRUCT_MEMBER(std::string, content_url)
198
199 // The type fo the resource being loaded.
200 IPC_STRUCT_MEMBER(std::string, mime_type)
201
202 // A unique id for the element.
203 IPC_STRUCT_MEMBER(int, element_instance_id)
204
205 // The size of the element.
206 IPC_STRUCT_MEMBER(gfx::Size, element_size)
207 IPC_STRUCT_END()
208
191 IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion) 209 IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion)
192 IPC_STRUCT_TRAITS_MEMBER(draggable) 210 IPC_STRUCT_TRAITS_MEMBER(draggable)
193 IPC_STRUCT_TRAITS_MEMBER(bounds) 211 IPC_STRUCT_TRAITS_MEMBER(bounds)
194 IPC_STRUCT_TRAITS_END() 212 IPC_STRUCT_TRAITS_END()
195 213
196 IPC_STRUCT_TRAITS_BEGIN(content::SocketPermissionRequest) 214 IPC_STRUCT_TRAITS_BEGIN(content::SocketPermissionRequest)
197 IPC_STRUCT_TRAITS_MEMBER(type) 215 IPC_STRUCT_TRAITS_MEMBER(type)
198 IPC_STRUCT_TRAITS_MEMBER(host) 216 IPC_STRUCT_TRAITS_MEMBER(host)
199 IPC_STRUCT_TRAITS_MEMBER(port) 217 IPC_STRUCT_TRAITS_MEMBER(port)
200 IPC_STRUCT_TRAITS_END() 218 IPC_STRUCT_TRAITS_END()
(...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 809
792 // Sent by the renderer to set initialization parameters of a Browser Plugin 810 // Sent by the renderer to set initialization parameters of a Browser Plugin
793 // that is identified by |element_instance_id|. 811 // that is identified by |element_instance_id|.
794 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest, 812 IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AttachGuest,
795 int /* routing_id */, 813 int /* routing_id */,
796 int /* element_instance_id */, 814 int /* element_instance_id */,
797 int /* guest_instance_id */, 815 int /* guest_instance_id */,
798 base::DictionaryValue /* attach_params */) 816 base::DictionaryValue /* attach_params */)
799 817
800 // Tells the browser to create a mime handler guest view for a plugin. 818 // Tells the browser to create a mime handler guest view for a plugin.
801 IPC_MESSAGE_CONTROL5(ExtensionHostMsg_CreateMimeHandlerViewGuest, 819 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_CreateMimeHandlerViewGuest,
802 int /* render_frame_id */, 820 int /* render_frame_id */,
803 std::string /* embedder_url */, 821 ExtensionHostMsg_CreateMimeHandlerViewGuest_Params)
Fady Samuel 2015/01/21 17:57:06 nit: Add /* params */ as a virtual variable name t
paulmeyer 2015/01/21 22:07:44 Acknowledged.
804 std::string /* content_url */,
805 std::string /* mime_type */,
806 int /* element_instance_id */)
807 822
808 // Sent when a query selector request is made from the automation API. 823 // Sent when a query selector request is made from the automation API.
809 // acc_obj_id is the accessibility tree ID of the starting element. 824 // acc_obj_id is the accessibility tree ID of the starting element.
810 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector, 825 IPC_MESSAGE_ROUTED3(ExtensionMsg_AutomationQuerySelector,
811 int /* request_id */, 826 int /* request_id */,
812 int /* acc_obj_id */, 827 int /* acc_obj_id */,
813 base::string16 /* selector */) 828 base::string16 /* selector */)
814 829
815 // Result of a query selector request. 830 // Result of a query selector request.
816 // result_acc_obj_id is the accessibility tree ID of the result element; 0 831 // result_acc_obj_id is the accessibility tree ID of the result element; 0
817 // indicates no result. 832 // indicates no result.
818 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 833 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
819 int /* request_id */, 834 int /* request_id */,
820 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 835 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
821 int /* result_acc_obj_id */) 836 int /* result_acc_obj_id */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698