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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 content::PageTransition /* transition */, | 681 content::PageTransition /* transition */, |
680 WindowOpenDisposition /* disposition */) | 682 WindowOpenDisposition /* disposition */) |
681 | 683 |
682 // Sent by the Instant overlay asking to show itself with the given height. | 684 // Sent by the Instant overlay asking to show itself with the given height. |
683 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay, | 685 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay, |
684 int /* page_id */, | 686 int /* page_id */, |
685 int /* height */, | 687 int /* height */, |
686 InstantSizeUnits /* units */) | 688 InstantSizeUnits /* units */) |
687 | 689 |
688 // Sent by Instant to focus the omnibox. | 690 // Sent by Instant to focus the omnibox. |
689 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox, | 691 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox, |
690 int /* page_id */) | 692 int /* page_id */, |
| 693 OmniboxFocusState /* state */) |
691 | 694 |
692 // Sent by Instant to show any attached bars. | 695 // Sent by Instant to show any attached bars. |
693 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars, | 696 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars, |
694 int /* page_id */) | 697 int /* page_id */) |
695 | 698 |
696 // Sent by Instant to hide any attached bars. | 699 // Sent by Instant to hide any attached bars. |
697 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars, | 700 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars, |
698 int /* page_id */) | 701 int /* page_id */) |
699 | 702 |
700 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, | |
701 int /* page_id */) | |
702 | |
703 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes, | |
704 int /* page_id */) | |
705 | |
706 // The currently displayed PDF has an unsupported feature. | 703 // The currently displayed PDF has an unsupported feature. |
707 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) | 704 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) |
708 | 705 |
709 // This message indicates the error appeared in the frame. | 706 // This message indicates the error appeared in the frame. |
710 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, | 707 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, |
711 int /* error */) | 708 int /* error */) |
712 | 709 |
713 // This message indicates the monitored frame loading had completed. | 710 // This message indicates the monitored frame loading had completed. |
714 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) | 711 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) |
715 | 712 |
(...skipping 10 matching lines...) Expand all Loading... |
726 // previous SetCookie message to be processed. | 723 // previous SetCookie message to be processed. |
727 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 724 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
728 GURL /* url */, | 725 GURL /* url */, |
729 GURL /* first_party_for_cookies */, | 726 GURL /* first_party_for_cookies */, |
730 std::string /* cookies */) | 727 std::string /* cookies */) |
731 | 728 |
732 // Provide the browser process with current renderer framerate. | 729 // Provide the browser process with current renderer framerate. |
733 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 730 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
734 int /* routing id */, | 731 int /* routing id */, |
735 float /* frames per second */) | 732 float /* frames per second */) |
OLD | NEW |