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 12 matching lines...) Expand all Loading... |
23 #include "chrome/common/instant_types.h" | 23 #include "chrome/common/instant_types.h" |
24 #include "chrome/common/ntp_logging_events.h" | 24 #include "chrome/common/ntp_logging_events.h" |
25 #include "chrome/common/omnibox_focus_state.h" | 25 #include "chrome/common/omnibox_focus_state.h" |
26 #include "chrome/common/search_provider.h" | 26 #include "chrome/common/search_provider.h" |
27 #include "chrome/common/translate/language_detection_details.h" | 27 #include "chrome/common/translate/language_detection_details.h" |
28 #include "chrome/common/translate/translate_errors.h" | 28 #include "chrome/common/translate/translate_errors.h" |
29 #include "components/nacl/common/nacl_types.h" | 29 #include "components/nacl/common/nacl_types.h" |
30 #include "content/public/common/common_param_traits.h" | 30 #include "content/public/common/common_param_traits.h" |
31 #include "content/public/common/referrer.h" | 31 #include "content/public/common/referrer.h" |
32 #include "content/public/common/top_controls_state.h" | 32 #include "content/public/common/top_controls_state.h" |
| 33 #include "extensions/common/stack_frame.h" |
33 #include "ipc/ipc_channel_handle.h" | 34 #include "ipc/ipc_channel_handle.h" |
34 #include "ipc/ipc_message_macros.h" | 35 #include "ipc/ipc_message_macros.h" |
35 #include "ipc/ipc_platform_file.h" | 36 #include "ipc/ipc_platform_file.h" |
36 #include "third_party/skia/include/core/SkBitmap.h" | 37 #include "third_party/skia/include/core/SkBitmap.h" |
37 #include "third_party/WebKit/public/web/WebCache.h" | 38 #include "third_party/WebKit/public/web/WebCache.h" |
38 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 39 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
39 #include "ui/base/window_open_disposition.h" | 40 #include "ui/base/window_open_disposition.h" |
40 #include "ui/gfx/rect.h" | 41 #include "ui/gfx/rect.h" |
41 | 42 |
42 // Singly-included section for enums and custom IPC traits. | 43 // Singly-included section for enums and custom IPC traits. |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 IPC_STRUCT_TRAITS_MEMBER(time) | 229 IPC_STRUCT_TRAITS_MEMBER(time) |
229 IPC_STRUCT_TRAITS_MEMBER(url) | 230 IPC_STRUCT_TRAITS_MEMBER(url) |
230 IPC_STRUCT_TRAITS_MEMBER(content_language) | 231 IPC_STRUCT_TRAITS_MEMBER(content_language) |
231 IPC_STRUCT_TRAITS_MEMBER(cld_language) | 232 IPC_STRUCT_TRAITS_MEMBER(cld_language) |
232 IPC_STRUCT_TRAITS_MEMBER(is_cld_reliable) | 233 IPC_STRUCT_TRAITS_MEMBER(is_cld_reliable) |
233 IPC_STRUCT_TRAITS_MEMBER(html_root_language) | 234 IPC_STRUCT_TRAITS_MEMBER(html_root_language) |
234 IPC_STRUCT_TRAITS_MEMBER(adopted_language) | 235 IPC_STRUCT_TRAITS_MEMBER(adopted_language) |
235 IPC_STRUCT_TRAITS_MEMBER(contents) | 236 IPC_STRUCT_TRAITS_MEMBER(contents) |
236 IPC_STRUCT_TRAITS_END() | 237 IPC_STRUCT_TRAITS_END() |
237 | 238 |
| 239 IPC_STRUCT_TRAITS_BEGIN(extensions::StackFrame) |
| 240 IPC_STRUCT_TRAITS_MEMBER(line_number) |
| 241 IPC_STRUCT_TRAITS_MEMBER(column_number) |
| 242 IPC_STRUCT_TRAITS_MEMBER(source) |
| 243 IPC_STRUCT_TRAITS_MEMBER(function) |
| 244 IPC_STRUCT_TRAITS_END() |
| 245 |
238 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, | 246 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, |
239 NTP_NUM_EVENT_TYPES) | 247 NTP_NUM_EVENT_TYPES) |
240 | 248 |
241 //----------------------------------------------------------------------------- | 249 //----------------------------------------------------------------------------- |
242 // RenderView messages | 250 // RenderView messages |
243 // These are messages sent from the browser to the renderer process. | 251 // These are messages sent from the browser to the renderer process. |
244 | 252 |
245 // Tells the renderer to set its maximum cache size to the supplied value. | 253 // Tells the renderer to set its maximum cache size to the supplied value. |
246 IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities, | 254 IPC_MESSAGE_CONTROL3(ChromeViewMsg_SetCacheCapacities, |
247 size_t /* min_dead_capacity */, | 255 size_t /* min_dead_capacity */, |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
736 | 744 |
737 // Tells InstantExtended to undo one most visited item deletion. | 745 // Tells InstantExtended to undo one most visited item deletion. |
738 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, | 746 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, |
739 int /* page_id */, | 747 int /* page_id */, |
740 GURL /* url */) | 748 GURL /* url */) |
741 | 749 |
742 // Tells InstantExtended whether the page supports voice search. | 750 // Tells InstantExtended whether the page supports voice search. |
743 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, | 751 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, |
744 int /* page_id */, | 752 int /* page_id */, |
745 bool /* supported */) | 753 bool /* supported */) |
| 754 |
| 755 // Tells listeners that a detailed message was reported to the console by |
| 756 // WebKit. |
| 757 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 758 string16 /* message */, |
| 759 string16 /* source */, |
| 760 extensions::StackTrace /* stack trace */, |
| 761 int32 /* severity level */) |
OLD | NEW |