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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 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/common/fileapi/webblob_messages.h ('k') | content/common/message_port.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 // 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
11 #include <map> 11 #include <map>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "build/build_config.h" 16 #include "build/build_config.h"
17 #include "cc/surfaces/surface_id.h" 17 #include "cc/surfaces/surface_id.h"
18 #include "cc/surfaces/surface_info.h" 18 #include "cc/surfaces/surface_info.h"
19 #include "cc/surfaces/surface_sequence.h" 19 #include "cc/surfaces/surface_sequence.h"
20 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
21 #include "content/common/content_param_traits.h" 21 #include "content/common/content_param_traits.h"
22 #include "content/common/content_security_policy_header.h" 22 #include "content/common/content_security_policy_header.h"
23 #include "content/common/download/mhtml_save_status.h" 23 #include "content/common/download/mhtml_save_status.h"
24 #include "content/common/frame_message_enums.h" 24 #include "content/common/frame_message_enums.h"
25 #include "content/common/frame_owner_properties.h" 25 #include "content/common/frame_owner_properties.h"
26 #include "content/common/frame_replication_state.h" 26 #include "content/common/frame_replication_state.h"
27 #include "content/common/message_port.h"
27 #include "content/common/navigation_gesture.h" 28 #include "content/common/navigation_gesture.h"
28 #include "content/common/navigation_params.h" 29 #include "content/common/navigation_params.h"
29 #include "content/common/savable_subframe.h" 30 #include "content/common/savable_subframe.h"
30 #include "content/public/common/color_suggestion.h" 31 #include "content/public/common/color_suggestion.h"
31 #include "content/public/common/common_param_traits.h" 32 #include "content/public/common/common_param_traits.h"
32 #include "content/public/common/console_message_level.h" 33 #include "content/public/common/console_message_level.h"
33 #include "content/public/common/context_menu_params.h" 34 #include "content/public/common/context_menu_params.h"
34 #include "content/public/common/file_chooser_file_info.h" 35 #include "content/public/common/file_chooser_file_info.h"
35 #include "content/public/common/file_chooser_params.h" 36 #include "content/public/common/file_chooser_params.h"
36 #include "content/public/common/form_field_data.h" 37 #include "content/public/common/form_field_data.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // equivalent frame proxy in the destination process. 314 // equivalent frame proxy in the destination process.
314 IPC_STRUCT_MEMBER(int, source_routing_id) 315 IPC_STRUCT_MEMBER(int, source_routing_id)
315 316
316 // The origin of the source frame. 317 // The origin of the source frame.
317 IPC_STRUCT_MEMBER(base::string16, source_origin) 318 IPC_STRUCT_MEMBER(base::string16, source_origin)
318 319
319 // The origin for the message's target. 320 // The origin for the message's target.
320 IPC_STRUCT_MEMBER(base::string16, target_origin) 321 IPC_STRUCT_MEMBER(base::string16, target_origin)
321 322
322 // Information about the MessagePorts this message contains. 323 // Information about the MessagePorts this message contains.
323 IPC_STRUCT_MEMBER(std::vector<int>, message_ports) 324 IPC_STRUCT_MEMBER(std::vector<content::MessagePort>, message_ports)
324 IPC_STRUCT_MEMBER(std::vector<int>, new_routing_ids)
325 IPC_STRUCT_END() 325 IPC_STRUCT_END()
326 326
327 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) 327 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
328 IPC_STRUCT_TRAITS_MEMBER(url) 328 IPC_STRUCT_TRAITS_MEMBER(url)
329 IPC_STRUCT_TRAITS_MEMBER(referrer) 329 IPC_STRUCT_TRAITS_MEMBER(referrer)
330 IPC_STRUCT_TRAITS_MEMBER(transition) 330 IPC_STRUCT_TRAITS_MEMBER(transition)
331 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 331 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
332 IPC_STRUCT_TRAITS_MEMBER(allow_download) 332 IPC_STRUCT_TRAITS_MEMBER(allow_download)
333 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 333 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
334 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 334 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1573 // nearest find result in the sending frame. 1573 // nearest find result in the sending frame.
1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1574 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1575 int /* nfr_request_id */, 1575 int /* nfr_request_id */,
1576 float /* distance */) 1576 float /* distance */)
1577 #endif 1577 #endif
1578 1578
1579 // Adding a new message? Stick to the sort order above: first platform 1579 // Adding a new message? Stick to the sort order above: first platform
1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1580 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1581 // platform independent FrameHostMsg, then ifdefs for platform specific 1581 // platform independent FrameHostMsg, then ifdefs for platform specific
1582 // FrameHostMsg. 1582 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/common/fileapi/webblob_messages.h ('k') | content/common/message_port.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698