OLD | NEW |
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 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/process.h" | 13 #include "base/process.h" |
14 #include "base/shared_memory.h" | 14 #include "base/shared_memory.h" |
15 #include "base/string16.h" | 15 #include "base/string16.h" |
16 #include "base/stringprintf.h" | 16 #include "base/stringprintf.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "build/build_config.h" | 18 #include "build/build_config.h" |
19 #include "chrome/common/common_param_traits.h" | 19 #include "chrome/common/common_param_traits.h" |
20 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/content_settings.h" |
21 #include "chrome/common/content_settings_pattern.h" | 21 #include "chrome/common/content_settings_pattern.h" |
22 #include "chrome/common/instant_types.h" | 22 #include "chrome/common/instant_types.h" |
23 #include "chrome/common/nacl_types.h" | 23 #include "chrome/common/nacl_types.h" |
24 #include "chrome/common/search_provider.h" | 24 #include "chrome/common/search_provider.h" |
25 #include "chrome/common/thumbnail_score.h" | 25 #include "chrome/common/thumbnail_score.h" |
26 #include "chrome/common/translate_errors.h" | 26 #include "chrome/common/translate_errors.h" |
27 #include "content/public/common/common_param_traits.h" | 27 #include "content/public/common/common_param_traits.h" |
28 #include "content/public/common/webkit_param_traits.h" | 28 #include "content/public/common/webkit_param_traits.h" |
| 29 #include "ipc/ipc_channel_handle.h" |
29 #include "ipc/ipc_message_macros.h" | 30 #include "ipc/ipc_message_macros.h" |
30 #include "ipc/ipc_platform_file.h" | 31 #include "ipc/ipc_platform_file.h" |
31 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
34 #include "ui/gfx/rect.h" | 35 #include "ui/gfx/rect.h" |
35 | 36 |
36 // Singly-included section for enums and custom IPC traits. | 37 // Singly-included section for enums and custom IPC traits. |
37 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 38 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
38 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 39 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 | 475 |
475 // A message for an external host. | 476 // A message for an external host. |
476 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 477 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
477 std::string /* message */, | 478 std::string /* message */, |
478 std::string /* origin */, | 479 std::string /* origin */, |
479 std::string /* target */) | 480 std::string /* target */) |
480 | 481 |
481 // A renderer sends this to the browser process when it wants to start | 482 // A renderer sends this to the browser process when it wants to start |
482 // a new instance of the Native Client process. The browser will launch | 483 // a new instance of the Native Client process. The browser will launch |
483 // the process and return a handle to an IMC channel. | 484 // the process and return a handle to an IMC channel. |
484 IPC_SYNC_MESSAGE_CONTROL2_1(ChromeViewHostMsg_LaunchNaCl, | 485 IPC_SYNC_MESSAGE_CONTROL2_4(ChromeViewHostMsg_LaunchNaCl, |
485 GURL /* manifest_url */, | 486 GURL /* manifest_url */, |
486 int /* socket count */, | 487 int /* socket count */, |
487 std::vector<nacl::FileDescriptor> | 488 std::vector<nacl::FileDescriptor> |
488 /* imc channel handles */) | 489 /* imc channel handles */, |
| 490 IPC::ChannelHandle /* ppapi_channel_handle */, |
| 491 base::ProcessHandle /* NaCl process handle */, |
| 492 base::ProcessId /* NaCl process id */) |
489 | 493 |
490 // Notification that the page has an OpenSearch description document | 494 // Notification that the page has an OpenSearch description document |
491 // associated with it. | 495 // associated with it. |
492 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, | 496 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, |
493 int32 /* page_id */, | 497 int32 /* page_id */, |
494 GURL /* url of OS description document */, | 498 GURL /* url of OS description document */, |
495 search_provider::OSDDType) | 499 search_provider::OSDDType) |
496 | 500 |
497 // Find out if the given url's security origin is installed as a search | 501 // Find out if the given url's security origin is installed as a search |
498 // provider. | 502 // provider. |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 // previous SetCookie message to be processed. | 620 // previous SetCookie message to be processed. |
617 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 621 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
618 GURL /* url */, | 622 GURL /* url */, |
619 GURL /* first_party_for_cookies */, | 623 GURL /* first_party_for_cookies */, |
620 std::string /* cookies */) | 624 std::string /* cookies */) |
621 | 625 |
622 // Provide the browser process with current renderer framerate. | 626 // Provide the browser process with current renderer framerate. |
623 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 627 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
624 int /* routing id */, | 628 int /* routing id */, |
625 float /* frames per second */) | 629 float /* frames per second */) |
OLD | NEW |