| 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 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/common/search_provider.h" | 25 #include "chrome/common/search_provider.h" |
| 26 #include "chrome/common/search_types.h" | 26 #include "chrome/common/search_types.h" |
| 27 #include "chrome/common/translate_errors.h" | 27 #include "chrome/common/translate_errors.h" |
| 28 #include "content/public/common/common_param_traits.h" | 28 #include "content/public/common/common_param_traits.h" |
| 29 #include "ipc/ipc_channel_handle.h" | 29 #include "ipc/ipc_channel_handle.h" |
| 30 #include "ipc/ipc_message_macros.h" | 30 #include "ipc/ipc_message_macros.h" |
| 31 #include "ipc/ipc_platform_file.h" | 31 #include "ipc/ipc_platform_file.h" |
| 32 #include "third_party/skia/include/core/SkBitmap.h" | 32 #include "third_party/skia/include/core/SkBitmap.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPreconnectMotivati
on.h" |
| 35 #include "ui/base/window_open_disposition.h" | 36 #include "ui/base/window_open_disposition.h" |
| 36 #include "ui/gfx/rect.h" | 37 #include "ui/gfx/rect.h" |
| 37 | 38 |
| 38 // Singly-included section for enums and custom IPC traits. | 39 // Singly-included section for enums and custom IPC traits. |
| 39 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ | 40 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ |
| 40 #define CHROME_COMMON_RENDER_MESSAGES_H_ | 41 #define CHROME_COMMON_RENDER_MESSAGES_H_ |
| 41 | 42 |
| 42 class SkBitmap; | 43 class SkBitmap; |
| 43 | 44 |
| 44 // Command values for the cmd parameter of the | 45 // Command values for the cmd parameter of the |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 IPC_ENUM_TRAITS(InstantCompleteBehavior) | 120 IPC_ENUM_TRAITS(InstantCompleteBehavior) |
| 120 IPC_ENUM_TRAITS(InstantSizeUnits) | 121 IPC_ENUM_TRAITS(InstantSizeUnits) |
| 121 IPC_ENUM_TRAITS(InstantSuggestionType) | 122 IPC_ENUM_TRAITS(InstantSuggestionType) |
| 122 IPC_ENUM_TRAITS(OmniboxFocusState) | 123 IPC_ENUM_TRAITS(OmniboxFocusState) |
| 123 IPC_ENUM_TRAITS(search_provider::OSDDType) | 124 IPC_ENUM_TRAITS(search_provider::OSDDType) |
| 124 IPC_ENUM_TRAITS(search_provider::InstallState) | 125 IPC_ENUM_TRAITS(search_provider::InstallState) |
| 125 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) | 126 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) |
| 126 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) | 127 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) |
| 127 IPC_ENUM_TRAITS(TranslateErrors::Type) | 128 IPC_ENUM_TRAITS(TranslateErrors::Type) |
| 128 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 129 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
| 130 IPC_ENUM_TRAITS(WebKit::WebPreconnectMotivation) |
| 129 | 131 |
| 130 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) | 132 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
| 131 IPC_STRUCT_TRAITS_MEMBER(value) | 133 IPC_STRUCT_TRAITS_MEMBER(value) |
| 132 IPC_STRUCT_TRAITS_END() | 134 IPC_STRUCT_TRAITS_END() |
| 133 | 135 |
| 134 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 136 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
| 135 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 137 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
| 136 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) | 138 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) |
| 137 IPC_STRUCT_MEMBER(webkit::WebPluginInfo, plugin) | 139 IPC_STRUCT_MEMBER(webkit::WebPluginInfo, plugin) |
| 138 IPC_STRUCT_MEMBER(std::string, actual_mime_type) | 140 IPC_STRUCT_MEMBER(std::string, actual_mime_type) |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 // Sends back stats about the V8 heap. | 610 // Sends back stats about the V8 heap. |
| 609 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, | 611 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, |
| 610 int /* size of heap (allocated from the OS) */, | 612 int /* size of heap (allocated from the OS) */, |
| 611 int /* bytes in use */) | 613 int /* bytes in use */) |
| 612 | 614 |
| 613 // Request for a DNS prefetch of the names in the array. | 615 // Request for a DNS prefetch of the names in the array. |
| 614 // NameList is typedef'ed std::vector<std::string> | 616 // NameList is typedef'ed std::vector<std::string> |
| 615 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, | 617 IPC_MESSAGE_CONTROL1(ChromeViewHostMsg_DnsPrefetch, |
| 616 std::vector<std::string> /* hostnames */) | 618 std::vector<std::string> /* hostnames */) |
| 617 | 619 |
| 620 // Request for preconnect to host providing resource specified by URL |
| 621 IPC_MESSAGE_CONTROL3(ChromeViewHostMsg_Preconnect, |
| 622 GURL /* preconnect target url */, |
| 623 WebKit::WebPreconnectMotivation, |
| 624 uint32_t /* motivationVariationId */) |
| 625 |
| 618 // Notifies when a plugin couldn't be loaded because it's outdated. | 626 // Notifies when a plugin couldn't be loaded because it's outdated. |
| 619 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, | 627 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
| 620 int /* placeholder ID */, | 628 int /* placeholder ID */, |
| 621 std::string /* plug-in group identifier */) | 629 std::string /* plug-in group identifier */) |
| 622 | 630 |
| 623 // Notifies when a plugin couldn't be loaded because it requires | 631 // Notifies when a plugin couldn't be loaded because it requires |
| 624 // user authorization. | 632 // user authorization. |
| 625 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 633 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
| 626 string16 /* name */, | 634 string16 /* name */, |
| 627 std::string /* plug-in group identifier */) | 635 std::string /* plug-in group identifier */) |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 732 // previous SetCookie message to be processed. | 740 // previous SetCookie message to be processed. |
| 733 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 741 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 734 GURL /* url */, | 742 GURL /* url */, |
| 735 GURL /* first_party_for_cookies */, | 743 GURL /* first_party_for_cookies */, |
| 736 std::string /* cookies */) | 744 std::string /* cookies */) |
| 737 | 745 |
| 738 // Provide the browser process with current renderer framerate. | 746 // Provide the browser process with current renderer framerate. |
| 739 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 747 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 740 int /* routing id */, | 748 int /* routing id */, |
| 741 float /* frames per second */) | 749 float /* frames per second */) |
| OLD | NEW |