OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 "chrome/common/search/instant_types.h" | 6 #include "chrome/common/search/instant_types.h" |
7 #include "chrome/common/search/ntp_logging_events.h" | 7 #include "chrome/common/search/ntp_logging_events.h" |
8 #include "components/omnibox/common/omnibox_focus_state.h" | 8 #include "components/omnibox/common/omnibox_focus_state.h" |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 | 10 |
11 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) | 11 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
12 | 12 |
13 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, | 13 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
14 OMNIBOX_FOCUS_CHANGE_REASON_LAST) | 14 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
15 | 15 |
16 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, NTP_EVENT_TYPE_LAST) | 16 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, NTP_EVENT_TYPE_LAST) |
17 | 17 |
18 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::NTPTileSource, | 18 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::TileSource, ntp_tiles::TileSource::LAST) |
19 ntp_tiles::NTPTileSource::LAST) | |
20 | 19 |
21 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) | 20 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) |
22 IPC_STRUCT_TRAITS_MEMBER(url) | 21 IPC_STRUCT_TRAITS_MEMBER(url) |
23 IPC_STRUCT_TRAITS_MEMBER(title) | 22 IPC_STRUCT_TRAITS_MEMBER(title) |
24 IPC_STRUCT_TRAITS_MEMBER(thumbnail) | 23 IPC_STRUCT_TRAITS_MEMBER(thumbnail) |
25 IPC_STRUCT_TRAITS_MEMBER(favicon) | 24 IPC_STRUCT_TRAITS_MEMBER(favicon) |
26 IPC_STRUCT_TRAITS_MEMBER(source) | 25 IPC_STRUCT_TRAITS_MEMBER(source) |
27 IPC_STRUCT_TRAITS_END() | 26 IPC_STRUCT_TRAITS_END() |
28 | 27 |
29 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) | 28 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) |
(...skipping 18 matching lines...) Expand all Loading... |
48 IPC_STRUCT_TRAITS_MEMBER(header_color) | 47 IPC_STRUCT_TRAITS_MEMBER(header_color) |
49 IPC_STRUCT_TRAITS_MEMBER(section_border_color) | 48 IPC_STRUCT_TRAITS_MEMBER(section_border_color) |
50 IPC_STRUCT_TRAITS_MEMBER(theme_id) | 49 IPC_STRUCT_TRAITS_MEMBER(theme_id) |
51 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) | 50 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) |
52 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) | 51 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) |
53 IPC_STRUCT_TRAITS_MEMBER(image_tiling) | 52 IPC_STRUCT_TRAITS_MEMBER(image_tiling) |
54 IPC_STRUCT_TRAITS_MEMBER(image_height) | 53 IPC_STRUCT_TRAITS_MEMBER(image_height) |
55 IPC_STRUCT_TRAITS_MEMBER(has_attribution) | 54 IPC_STRUCT_TRAITS_MEMBER(has_attribution) |
56 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) | 55 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) |
57 IPC_STRUCT_TRAITS_END() | 56 IPC_STRUCT_TRAITS_END() |
OLD | NEW |