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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add metrics and support for non-ASCII text messages to Java endpoints Created 3 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 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 17 matching lines...) Expand all
28 #include "content/common/savable_subframe.h" 28 #include "content/common/savable_subframe.h"
29 #include "content/public/common/color_suggestion.h" 29 #include "content/public/common/color_suggestion.h"
30 #include "content/public/common/common_param_traits.h" 30 #include "content/public/common/common_param_traits.h"
31 #include "content/public/common/console_message_level.h" 31 #include "content/public/common/console_message_level.h"
32 #include "content/public/common/context_menu_params.h" 32 #include "content/public/common/context_menu_params.h"
33 #include "content/public/common/file_chooser_file_info.h" 33 #include "content/public/common/file_chooser_file_info.h"
34 #include "content/public/common/file_chooser_params.h" 34 #include "content/public/common/file_chooser_params.h"
35 #include "content/public/common/form_field_data.h" 35 #include "content/public/common/form_field_data.h"
36 #include "content/public/common/frame_navigate_params.h" 36 #include "content/public/common/frame_navigate_params.h"
37 #include "content/public/common/javascript_message_type.h" 37 #include "content/public/common/javascript_message_type.h"
38 #include "content/public/common/message_port.h"
38 #include "content/public/common/page_importance_signals.h" 39 #include "content/public/common/page_importance_signals.h"
39 #include "content/public/common/page_state.h" 40 #include "content/public/common/page_state.h"
40 #include "content/public/common/previews_state.h" 41 #include "content/public/common/previews_state.h"
41 #include "content/public/common/referrer.h" 42 #include "content/public/common/referrer.h"
42 #include "content/public/common/resource_response.h" 43 #include "content/public/common/resource_response.h"
43 #include "content/public/common/stop_find_action.h" 44 #include "content/public/common/stop_find_action.h"
44 #include "content/public/common/three_d_api_types.h" 45 #include "content/public/common/three_d_api_types.h"
45 #include "ipc/ipc_message_macros.h" 46 #include "ipc/ipc_message_macros.h"
46 #include "ipc/ipc_platform_file.h" 47 #include "ipc/ipc_platform_file.h"
47 #include "ppapi/features/features.h" 48 #include "ppapi/features/features.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // equivalent frame proxy in the destination process. 315 // equivalent frame proxy in the destination process.
315 IPC_STRUCT_MEMBER(int, source_routing_id) 316 IPC_STRUCT_MEMBER(int, source_routing_id)
316 317
317 // The origin of the source frame. 318 // The origin of the source frame.
318 IPC_STRUCT_MEMBER(base::string16, source_origin) 319 IPC_STRUCT_MEMBER(base::string16, source_origin)
319 320
320 // The origin for the message's target. 321 // The origin for the message's target.
321 IPC_STRUCT_MEMBER(base::string16, target_origin) 322 IPC_STRUCT_MEMBER(base::string16, target_origin)
322 323
323 // Information about the MessagePorts this message contains. 324 // Information about the MessagePorts this message contains.
324 IPC_STRUCT_MEMBER(std::vector<int>, message_ports) 325 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports)
325 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids)
326 IPC_STRUCT_END() 326 IPC_STRUCT_END()
327 327
328 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) 328 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
329 IPC_STRUCT_TRAITS_MEMBER(url) 329 IPC_STRUCT_TRAITS_MEMBER(url)
330 IPC_STRUCT_TRAITS_MEMBER(referrer) 330 IPC_STRUCT_TRAITS_MEMBER(referrer)
331 IPC_STRUCT_TRAITS_MEMBER(transition) 331 IPC_STRUCT_TRAITS_MEMBER(transition)
332 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 332 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
333 IPC_STRUCT_TRAITS_MEMBER(allow_download) 333 IPC_STRUCT_TRAITS_MEMBER(allow_download)
334 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 334 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
335 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 335 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
(...skipping 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after
1554 // nearest find result in the sending frame. 1554 // nearest find result in the sending frame.
1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1555 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1556 int /* nfr_request_id */, 1556 int /* nfr_request_id */,
1557 float /* distance */) 1557 float /* distance */)
1558 #endif 1558 #endif
1559 1559
1560 // Adding a new message? Stick to the sort order above: first platform 1560 // Adding a new message? Stick to the sort order above: first platform
1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1561 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1562 // platform independent FrameHostMsg, then ifdefs for platform specific 1562 // platform independent FrameHostMsg, then ifdefs for platform specific
1563 // FrameHostMsg. 1563 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698