| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Multiply-included file, no traditional include guard. |
| 6 #include "chrome/common/search/instant_types.h" |
| 7 #include "chrome/common/search/ntp_logging_events.h" |
| 8 #include "components/omnibox/common/omnibox_focus_state.h" |
| 9 #include "ipc/ipc_message_macros.h" |
| 10 |
| 11 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
| 12 |
| 13 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
| 14 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
| 15 |
| 16 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, NTP_EVENT_TYPE_LAST) |
| 17 |
| 18 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingTileSource, NTPLoggingTileSource::LAST) |
| 19 |
| 20 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) |
| 21 IPC_STRUCT_TRAITS_MEMBER(url) |
| 22 IPC_STRUCT_TRAITS_MEMBER(title) |
| 23 IPC_STRUCT_TRAITS_MEMBER(thumbnail) |
| 24 IPC_STRUCT_TRAITS_MEMBER(favicon) |
| 25 IPC_STRUCT_TRAITS_MEMBER(impression_url) |
| 26 IPC_STRUCT_TRAITS_MEMBER(click_url) |
| 27 IPC_STRUCT_TRAITS_END() |
| 28 |
| 29 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) |
| 30 IPC_STRUCT_TRAITS_MEMBER(text) |
| 31 IPC_STRUCT_TRAITS_MEMBER(metadata) |
| 32 IPC_STRUCT_TRAITS_END() |
| 33 |
| 34 IPC_STRUCT_TRAITS_BEGIN(EmbeddedSearchRequestParams) |
| 35 IPC_STRUCT_TRAITS_MEMBER(search_query) |
| 36 IPC_STRUCT_TRAITS_MEMBER(original_query) |
| 37 IPC_STRUCT_TRAITS_MEMBER(rlz_parameter_value) |
| 38 IPC_STRUCT_TRAITS_MEMBER(input_encoding) |
| 39 IPC_STRUCT_TRAITS_MEMBER(assisted_query_stats) |
| 40 IPC_STRUCT_TRAITS_END() |
| 41 |
| 42 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo) |
| 43 IPC_STRUCT_TRAITS_MEMBER(using_default_theme) |
| 44 IPC_STRUCT_TRAITS_MEMBER(background_color) |
| 45 IPC_STRUCT_TRAITS_MEMBER(text_color) |
| 46 IPC_STRUCT_TRAITS_MEMBER(link_color) |
| 47 IPC_STRUCT_TRAITS_MEMBER(text_color_light) |
| 48 IPC_STRUCT_TRAITS_MEMBER(header_color) |
| 49 IPC_STRUCT_TRAITS_MEMBER(section_border_color) |
| 50 IPC_STRUCT_TRAITS_MEMBER(theme_id) |
| 51 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) |
| 52 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) |
| 53 IPC_STRUCT_TRAITS_MEMBER(image_tiling) |
| 54 IPC_STRUCT_TRAITS_MEMBER(image_height) |
| 55 IPC_STRUCT_TRAITS_MEMBER(has_attribution) |
| 56 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) |
| 57 IPC_STRUCT_TRAITS_END() |
| OLD | NEW |