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 <stdint.h> | 6 #include <stdint.h> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/time/time.h" | 12 #include "base/time/time.h" |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "chrome/common/search/instant_types.h" | 14 #include "chrome/common/search/instant_types.h" |
15 #include "chrome/common/search/ntp_logging_events.h" | 15 #include "chrome/common/search/ntp_logging_events.h" |
16 #include "chrome/common/search_provider.h" | |
17 #include "chrome/common/web_application_info.h" | 16 #include "chrome/common/web_application_info.h" |
18 #include "components/content_settings/core/common/content_settings.h" | 17 #include "components/content_settings/core/common/content_settings.h" |
19 #include "components/content_settings/core/common/content_settings_pattern.h" | 18 #include "components/content_settings/core/common/content_settings_pattern.h" |
20 #include "components/omnibox/common/omnibox_focus_state.h" | 19 #include "components/omnibox/common/omnibox_focus_state.h" |
21 #include "content/public/common/top_controls_state.h" | 20 #include "content/public/common/top_controls_state.h" |
22 #include "content/public/common/webplugininfo.h" | 21 #include "content/public/common/webplugininfo.h" |
23 #include "ipc/ipc_channel_handle.h" | 22 #include "ipc/ipc_channel_handle.h" |
24 #include "ipc/ipc_message_macros.h" | 23 #include "ipc/ipc_message_macros.h" |
25 #include "ipc/ipc_platform_file.h" | 24 #include "ipc/ipc_platform_file.h" |
26 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
ptReply.h" | 25 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerProm
ptReply.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 61 |
63 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 62 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
64 | 63 |
65 #define IPC_MESSAGE_START ChromeMsgStart | 64 #define IPC_MESSAGE_START ChromeMsgStart |
66 | 65 |
67 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, | 66 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, |
68 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) | 67 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) |
69 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, | 68 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
70 OMNIBOX_FOCUS_CHANGE_REASON_LAST) | 69 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
71 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) | 70 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
72 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType, | |
73 search_provider::OSDD_TYPE_LAST) | |
74 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageAlignment, | 71 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageAlignment, |
75 THEME_BKGRND_IMAGE_ALIGN_LAST) | 72 THEME_BKGRND_IMAGE_ALIGN_LAST) |
76 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageTiling, THEME_BKGRND_IMAGE_LAST) | 73 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageTiling, THEME_BKGRND_IMAGE_LAST) |
77 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebConsoleMessage::Level, | 74 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebConsoleMessage::Level, |
78 blink::WebConsoleMessage::LevelLast) | 75 blink::WebConsoleMessage::LevelLast) |
79 IPC_ENUM_TRAITS_MAX_VALUE(content::TopControlsState, | 76 IPC_ENUM_TRAITS_MAX_VALUE(content::TopControlsState, |
80 content::TOP_CONTROLS_STATE_LAST) | 77 content::TOP_CONTROLS_STATE_LAST) |
81 | 78 |
82 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 79 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
83 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 80 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 | 554 |
558 // Record a sample string to a Rappor metric. | 555 // Record a sample string to a Rappor metric. |
559 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 556 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
560 std::string /* metric */, | 557 std::string /* metric */, |
561 std::string /* sample */) | 558 std::string /* sample */) |
562 | 559 |
563 // Record a domain and registry of a url to a Rappor metric. | 560 // Record a domain and registry of a url to a Rappor metric. |
564 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 561 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
565 std::string /* metric */, | 562 std::string /* metric */, |
566 GURL /* sample url */) | 563 GURL /* sample url */) |
OLD | NEW |