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

Side by Side Diff: chrome/common/render_messages.h

Issue 15906013: Separate NaCl messages from the rest of chrome messages and create a new message filter. This is pa… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 IPC_STRUCT_TRAITS_MEMBER(autocomplete_match_index) 189 IPC_STRUCT_TRAITS_MEMBER(autocomplete_match_index)
190 IPC_STRUCT_TRAITS_END() 190 IPC_STRUCT_TRAITS_END()
191 191
192 IPC_ENUM_TRAITS(SearchMode::Type) 192 IPC_ENUM_TRAITS(SearchMode::Type)
193 IPC_ENUM_TRAITS(SearchMode::Origin) 193 IPC_ENUM_TRAITS(SearchMode::Origin)
194 IPC_STRUCT_TRAITS_BEGIN(SearchMode) 194 IPC_STRUCT_TRAITS_BEGIN(SearchMode)
195 IPC_STRUCT_TRAITS_MEMBER(mode) 195 IPC_STRUCT_TRAITS_MEMBER(mode)
196 IPC_STRUCT_TRAITS_MEMBER(origin) 196 IPC_STRUCT_TRAITS_MEMBER(origin)
197 IPC_STRUCT_TRAITS_END() 197 IPC_STRUCT_TRAITS_END()
198 198
199 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams)
200 IPC_STRUCT_TRAITS_MEMBER(manifest_url)
201 IPC_STRUCT_TRAITS_MEMBER(render_view_id)
202 IPC_STRUCT_TRAITS_MEMBER(permission_bits)
203 IPC_STRUCT_TRAITS_MEMBER(uses_irt)
204 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls)
205 IPC_STRUCT_TRAITS_END()
206
207 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) 199 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules)
208 IPC_STRUCT_TRAITS_MEMBER(image_rules) 200 IPC_STRUCT_TRAITS_MEMBER(image_rules)
209 IPC_STRUCT_TRAITS_MEMBER(script_rules) 201 IPC_STRUCT_TRAITS_MEMBER(script_rules)
210 IPC_STRUCT_TRAITS_END() 202 IPC_STRUCT_TRAITS_END()
211 203
212 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo) 204 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo)
213 IPC_STRUCT_TRAITS_MEMBER(color_r) 205 IPC_STRUCT_TRAITS_MEMBER(color_r)
214 IPC_STRUCT_TRAITS_MEMBER(color_g) 206 IPC_STRUCT_TRAITS_MEMBER(color_g)
215 IPC_STRUCT_TRAITS_MEMBER(color_b) 207 IPC_STRUCT_TRAITS_MEMBER(color_b)
216 IPC_STRUCT_TRAITS_MEMBER(color_a) 208 IPC_STRUCT_TRAITS_MEMBER(color_a)
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 579
588 // Tells the renderer that the NPAPI cannot be used. For example Ash on windows. 580 // Tells the renderer that the NPAPI cannot be used. For example Ash on windows.
589 IPC_MESSAGE_ROUTED0(ChromeViewMsg_NPAPINotSupported) 581 IPC_MESSAGE_ROUTED0(ChromeViewMsg_NPAPINotSupported)
590 582
591 // A message for an external host. 583 // A message for an external host.
592 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, 584 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost,
593 std::string /* message */, 585 std::string /* message */,
594 std::string /* origin */, 586 std::string /* origin */,
595 std::string /* target */) 587 std::string /* target */)
596 588
597 // A renderer sends this to the browser process when it wants to start
598 // a new instance of the Native Client process. The browser will launch
599 // the process and return an IPC channel handle. This handle will only
600 // be valid if the NaCl IPC proxy is enabled.
601 IPC_SYNC_MESSAGE_CONTROL1_4(ChromeViewHostMsg_LaunchNaCl,
602 nacl::NaClLaunchParams /* launch_params */,
603 nacl::FileDescriptor /* imc channel handle */,
604 IPC::ChannelHandle /* ipc_channel_handle */,
605 base::ProcessId /* plugin_pid */,
606 int /* plugin_child_id */)
607
608 // A renderer sends this to the browser process when it wants to
609 // open a file for from the Pnacl component directory.
610 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD,
611 std::string /* name of requested PNaCl file */,
612 IPC::PlatformFileForTransit /* output file */)
613
614 // A renderer sends this to the browser process when it wants to
615 // create a temporary file.
616 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_NaClCreateTemporaryFile,
617 IPC::PlatformFileForTransit /* out file */)
618
619 // A renderer sends this to the browser process to display infobar
620 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_NaClErrorStatus,
621 int /* render_view_id */,
622 int /* Error ID */)
623
624 // A renderer sends this to the browser process when it wants to
625 // open a NaCl executable file from an installed application directory.
626 IPC_SYNC_MESSAGE_CONTROL2_3(ChromeViewHostMsg_OpenNaClExecutable,
627 int /* render_view_id */,
628 GURL /* URL of NaCl executable file */,
629 IPC::PlatformFileForTransit /* output file */,
630 uint64_t /* file_token_lo */,
631 uint64_t /* file_token_hi */)
632
633 // Notification that the page has an OpenSearch description document 589 // Notification that the page has an OpenSearch description document
634 // associated with it. 590 // associated with it.
635 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, 591 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD,
636 int32 /* page_id */, 592 int32 /* page_id */,
637 GURL /* url of OS description document */, 593 GURL /* url of OS description document */,
638 search_provider::OSDDType) 594 search_provider::OSDDType)
639 595
640 // Find out if the given url's security origin is installed as a search 596 // Find out if the given url's security origin is installed as a search
641 // provider. 597 // provider.
642 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, 598 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 // previous SetCookie message to be processed. 732 // previous SetCookie message to be processed.
777 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 733 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
778 GURL /* url */, 734 GURL /* url */,
779 GURL /* first_party_for_cookies */, 735 GURL /* first_party_for_cookies */,
780 std::string /* cookies */) 736 std::string /* cookies */)
781 737
782 // Provide the browser process with current renderer framerate. 738 // Provide the browser process with current renderer framerate.
783 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 739 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
784 int /* routing id */, 740 int /* routing id */,
785 float /* frames per second */) 741 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698