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

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

Issue 9158005: RFC: Add an interface for having the browser open a pnacl support file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add a test, do some tweaks. Created 8 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 | Annotate | Revision Log
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 // a new instance of the Native Client process. The browser will launch 490 // a new instance of the Native Client process. The browser will launch
491 // the process and return a handle to an IMC channel. 491 // the process and return a handle to an IMC channel.
492 IPC_SYNC_MESSAGE_CONTROL2_3(ChromeViewHostMsg_LaunchNaCl, 492 IPC_SYNC_MESSAGE_CONTROL2_3(ChromeViewHostMsg_LaunchNaCl,
493 std::wstring /* url for the NaCl module */, 493 std::wstring /* url for the NaCl module */,
494 int /* socket count */, 494 int /* socket count */,
495 std::vector<nacl::FileDescriptor> 495 std::vector<nacl::FileDescriptor>
496 /* imc channel handles */, 496 /* imc channel handles */,
497 base::ProcessHandle /* NaCl process handle */, 497 base::ProcessHandle /* NaCl process handle */,
498 base::ProcessId /* NaCl process id */) 498 base::ProcessId /* NaCl process id */)
499 499
500 // A renderer sends this to the browser process when it wants to start
501 // open a file for from the Pnacl component directory.
502 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD,
503 std::string /* name of requested PNaCl file */,
504 nacl::FileDescriptor /* output file handle */)
505
500 // Notification that the page has an OpenSearch description document 506 // Notification that the page has an OpenSearch description document
501 // associated with it. 507 // associated with it.
502 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, 508 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD,
503 int32 /* page_id */, 509 int32 /* page_id */,
504 GURL /* url of OS description document */, 510 GURL /* url of OS description document */,
505 search_provider::OSDDType) 511 search_provider::OSDDType)
506 512
507 // Find out if the given url's security origin is installed as a search 513 // Find out if the given url's security origin is installed as a search
508 // provider. 514 // provider.
509 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, 515 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 // previous SetCookie message to be processed. 635 // previous SetCookie message to be processed.
630 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 636 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
631 GURL /* url */, 637 GURL /* url */,
632 GURL /* first_party_for_cookies */, 638 GURL /* first_party_for_cookies */,
633 std::string /* cookies */) 639 std::string /* cookies */)
634 640
635 // Provide the browser process with current renderer framerate. 641 // Provide the browser process with current renderer framerate.
636 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 642 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
637 int /* routing id */, 643 int /* routing id */,
638 float /* frames per second */) 644 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698