| 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/files/file_path.h" | 12 #include "base/files/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/omnibox_focus_state.h" |
| 24 #include "chrome/common/search_provider.h" | 25 #include "chrome/common/search_provider.h" |
| 25 #include "chrome/common/search_types.h" | 26 #include "chrome/common/search_types.h" |
| 26 #include "chrome/common/translate_errors.h" | 27 #include "chrome/common/translate_errors.h" |
| 27 #include "content/public/common/common_param_traits.h" | 28 #include "content/public/common/common_param_traits.h" |
| 28 #include "ipc/ipc_channel_handle.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" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 } // namespace IPC | 112 } // namespace IPC |
| 112 | 113 |
| 113 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 114 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
| 114 | 115 |
| 115 #define IPC_MESSAGE_START ChromeMsgStart | 116 #define IPC_MESSAGE_START ChromeMsgStart |
| 116 | 117 |
| 117 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) | 118 IPC_ENUM_TRAITS(ChromeViewHostMsg_GetPluginInfo_Status::Value) |
| 118 IPC_ENUM_TRAITS(InstantCompleteBehavior) | 119 IPC_ENUM_TRAITS(InstantCompleteBehavior) |
| 119 IPC_ENUM_TRAITS(InstantSizeUnits) | 120 IPC_ENUM_TRAITS(InstantSizeUnits) |
| 120 IPC_ENUM_TRAITS(InstantSuggestionType) | 121 IPC_ENUM_TRAITS(InstantSuggestionType) |
| 122 IPC_ENUM_TRAITS(OmniboxFocusState) |
| 121 IPC_ENUM_TRAITS(search_provider::OSDDType) | 123 IPC_ENUM_TRAITS(search_provider::OSDDType) |
| 122 IPC_ENUM_TRAITS(search_provider::InstallState) | 124 IPC_ENUM_TRAITS(search_provider::InstallState) |
| 123 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) | 125 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) |
| 124 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) | 126 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) |
| 125 IPC_ENUM_TRAITS(TranslateErrors::Type) | 127 IPC_ENUM_TRAITS(TranslateErrors::Type) |
| 126 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) | 128 IPC_ENUM_TRAITS(WebKit::WebConsoleMessage::Level) |
| 127 | 129 |
| 128 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) | 130 IPC_STRUCT_TRAITS_BEGIN(ChromeViewHostMsg_GetPluginInfo_Status) |
| 129 IPC_STRUCT_TRAITS_MEMBER(value) | 131 IPC_STRUCT_TRAITS_MEMBER(value) |
| 130 IPC_STRUCT_TRAITS_END() | 132 IPC_STRUCT_TRAITS_END() |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 content::PageTransition /* transition */, | 690 content::PageTransition /* transition */, |
| 689 WindowOpenDisposition /* disposition */) | 691 WindowOpenDisposition /* disposition */) |
| 690 | 692 |
| 691 // Sent by the Instant overlay asking to show itself with the given height. | 693 // Sent by the Instant overlay asking to show itself with the given height. |
| 692 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay, | 694 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay, |
| 693 int /* page_id */, | 695 int /* page_id */, |
| 694 int /* height */, | 696 int /* height */, |
| 695 InstantSizeUnits /* units */) | 697 InstantSizeUnits /* units */) |
| 696 | 698 |
| 697 // Sent by Instant to focus the omnibox. | 699 // Sent by Instant to focus the omnibox. |
| 698 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox, | 700 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox, |
| 699 int /* page_id */) | 701 int /* page_id */, |
| 702 OmniboxFocusState /* state */) |
| 700 | 703 |
| 701 // Sent by Instant to show any attached bars. | 704 // Sent by Instant to show any attached bars. |
| 702 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars, | 705 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars, |
| 703 int /* page_id */) | 706 int /* page_id */) |
| 704 | 707 |
| 705 // Sent by Instant to hide any attached bars. | 708 // Sent by Instant to hide any attached bars. |
| 706 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars, | 709 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars, |
| 707 int /* page_id */) | 710 int /* page_id */) |
| 708 | 711 |
| 709 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, | |
| 710 int /* page_id */) | |
| 711 | |
| 712 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes, | |
| 713 int /* page_id */) | |
| 714 | |
| 715 // The currently displayed PDF has an unsupported feature. | 712 // The currently displayed PDF has an unsupported feature. |
| 716 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) | 713 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) |
| 717 | 714 |
| 718 // This message indicates the error appeared in the frame. | 715 // This message indicates the error appeared in the frame. |
| 719 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, | 716 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, |
| 720 int /* error */) | 717 int /* error */) |
| 721 | 718 |
| 722 // This message indicates the monitored frame loading had completed. | 719 // This message indicates the monitored frame loading had completed. |
| 723 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) | 720 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) |
| 724 | 721 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 735 // previous SetCookie message to be processed. | 732 // previous SetCookie message to be processed. |
| 736 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 733 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 737 GURL /* url */, | 734 GURL /* url */, |
| 738 GURL /* first_party_for_cookies */, | 735 GURL /* first_party_for_cookies */, |
| 739 std::string /* cookies */) | 736 std::string /* cookies */) |
| 740 | 737 |
| 741 // Provide the browser process with current renderer framerate. | 738 // Provide the browser process with current renderer framerate. |
| 742 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 739 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 743 int /* routing id */, | 740 int /* routing id */, |
| 744 float /* frames per second */) | 741 float /* frames per second */) |
| OLD | NEW |