| 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" | |
| 30 #include "ipc/ipc_message_macros.h" | 29 #include "ipc/ipc_message_macros.h" |
| 31 #include "ipc/ipc_platform_file.h" | 30 #include "ipc/ipc_platform_file.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | 31 #include "third_party/skia/include/core/SkBitmap.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 35 #include "ui/gfx/rect.h" | 34 #include "ui/gfx/rect.h" |
| 36 | 35 |
| 37 // Singly-included section for enums and custom IPC traits. | 36 // Singly-included section for enums and custom IPC traits. |
| 38 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 37 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 39 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 38 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 SkBitmap /* bitmap */) | 478 SkBitmap /* bitmap */) |
| 480 | 479 |
| 481 // A message for an external host. | 480 // A message for an external host. |
| 482 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 481 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 483 std::string /* message */, | 482 std::string /* message */, |
| 484 std::string /* origin */, | 483 std::string /* origin */, |
| 485 std::string /* target */) | 484 std::string /* target */) |
| 486 | 485 |
| 487 // A renderer sends this to the browser process when it wants to start | 486 // A renderer sends this to the browser process when it wants to start |
| 488 // a new instance of the Native Client process. The browser will launch | 487 // a new instance of the Native Client process. The browser will launch |
| 489 // the process and return an IPC channel handle. This handle will only | 488 // the process and return a handle to an IMC channel. |
| 490 // be valid if the NaCl IPC proxy is enabled. | 489 IPC_SYNC_MESSAGE_CONTROL2_1(ChromeViewHostMsg_LaunchNaCl, |
| 491 IPC_SYNC_MESSAGE_CONTROL2_2(ChromeViewHostMsg_LaunchNaCl, | |
| 492 GURL /* manifest_url */, | 490 GURL /* manifest_url */, |
| 493 int /* socket count */, | 491 int /* socket count */, |
| 494 std::vector<nacl::FileDescriptor> | 492 std::vector<nacl::FileDescriptor> |
| 495 /* imc channel handles */, | 493 /* imc channel handles */) |
| 496 IPC::ChannelHandle /* ipc_channel_handle */) | |
| 497 | 494 |
| 498 // Notification that the page has an OpenSearch description document | 495 // Notification that the page has an OpenSearch description document |
| 499 // associated with it. | 496 // associated with it. |
| 500 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, | 497 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, |
| 501 int32 /* page_id */, | 498 int32 /* page_id */, |
| 502 GURL /* url of OS description document */, | 499 GURL /* url of OS description document */, |
| 503 search_provider::OSDDType) | 500 search_provider::OSDDType) |
| 504 | 501 |
| 505 // Find out if the given url's security origin is installed as a search | 502 // Find out if the given url's security origin is installed as a search |
| 506 // provider. | 503 // provider. |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 // previous SetCookie message to be processed. | 622 // previous SetCookie message to be processed. |
| 626 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 623 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 627 GURL /* url */, | 624 GURL /* url */, |
| 628 GURL /* first_party_for_cookies */, | 625 GURL /* first_party_for_cookies */, |
| 629 std::string /* cookies */) | 626 std::string /* cookies */) |
| 630 | 627 |
| 631 // Provide the browser process with current renderer framerate. | 628 // Provide the browser process with current renderer framerate. |
| 632 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 629 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 633 int /* routing id */, | 630 int /* routing id */, |
| 634 float /* frames per second */) | 631 float /* frames per second */) |
| OLD | NEW |