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 <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 | 73 |
74 #define IPC_MESSAGE_START ChromeMsgStart | 74 #define IPC_MESSAGE_START ChromeMsgStart |
75 | 75 |
76 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, | 76 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, |
77 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) | 77 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) |
78 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, | 78 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
79 OMNIBOX_FOCUS_CHANGE_REASON_LAST) | 79 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
80 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) | 80 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
81 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType, | 81 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType, |
82 search_provider::OSDD_TYPE_LAST) | 82 search_provider::OSDD_TYPE_LAST) |
83 IPC_ENUM_TRAITS(search_provider::InstallState) | 83 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::InstallState, |
84 IPC_ENUM_TRAITS(ThemeBackgroundImageAlignment) | 84 search_provider::INSTALLED_STATE_LAST) |
85 IPC_ENUM_TRAITS(ThemeBackgroundImageTiling) | 85 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageAlignment, |
86 IPC_ENUM_TRAITS(blink::WebConsoleMessage::Level) | 86 THEME_BKGRND_IMAGE_ALIGN_LAST) |
87 IPC_ENUM_TRAITS(content::TopControlsState) | 87 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageTiling, THEME_BKGRND_IMAGE_LAST) |
| 88 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebConsoleMessage::Level, |
| 89 blink::WebConsoleMessage::LevelLast) |
| 90 IPC_ENUM_TRAITS_MAX_VALUE(content::TopControlsState, |
| 91 content::TOP_CONTROLS_STATE_LAST) |
88 | 92 |
89 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 93 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
90 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 94 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
91 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) | 95 IPC_STRUCT_MEMBER(ChromeViewHostMsg_GetPluginInfo_Status, status) |
92 IPC_STRUCT_MEMBER(content::WebPluginInfo, plugin) | 96 IPC_STRUCT_MEMBER(content::WebPluginInfo, plugin) |
93 IPC_STRUCT_MEMBER(std::string, actual_mime_type) | 97 IPC_STRUCT_MEMBER(std::string, actual_mime_type) |
94 IPC_STRUCT_MEMBER(std::string, group_identifier) | 98 IPC_STRUCT_MEMBER(std::string, group_identifier) |
95 IPC_STRUCT_MEMBER(base::string16, group_name) | 99 IPC_STRUCT_MEMBER(base::string16, group_name) |
96 IPC_STRUCT_END() | 100 IPC_STRUCT_END() |
97 | 101 |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
598 | 602 |
599 // Record a sample string to a Rappor metric. | 603 // Record a sample string to a Rappor metric. |
600 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 604 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
601 std::string /* metric */, | 605 std::string /* metric */, |
602 std::string /* sample */) | 606 std::string /* sample */) |
603 | 607 |
604 // Record a domain and registry of a url to a Rappor metric. | 608 // Record a domain and registry of a url to a Rappor metric. |
605 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 609 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
606 std::string /* metric */, | 610 std::string /* metric */, |
607 GURL /* sample url */) | 611 GURL /* sample url */) |
OLD | NEW |