| 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/ntp_tiles/tile_source.h" |
| 9 #include "components/ntp_tiles/tile_visual_type.h" |
| 8 #include "components/omnibox/common/omnibox_focus_state.h" | 10 #include "components/omnibox/common/omnibox_focus_state.h" |
| 9 #include "ipc/ipc_message_macros.h" | 11 #include "ipc/ipc_message_macros.h" |
| 10 | 12 |
| 11 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) | 13 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
| 12 | 14 |
| 13 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, | 15 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
| 14 OMNIBOX_FOCUS_CHANGE_REASON_LAST) | 16 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
| 15 | 17 |
| 16 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, NTP_EVENT_TYPE_LAST) | 18 IPC_ENUM_TRAITS_MAX_VALUE(NTPLoggingEventType, NTP_EVENT_TYPE_LAST) |
| 17 | 19 |
| 18 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::TileSource, ntp_tiles::TileSource::LAST) | 20 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::TileSource, ntp_tiles::TileSource::LAST) |
| 19 | 21 |
| 22 IPC_ENUM_TRAITS_MAX_VALUE(ntp_tiles::TileVisualType, |
| 23 ntp_tiles::MAX_RECORDED_TILE_TYPE) |
| 24 |
| 20 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) | 25 IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem) |
| 21 IPC_STRUCT_TRAITS_MEMBER(url) | 26 IPC_STRUCT_TRAITS_MEMBER(url) |
| 22 IPC_STRUCT_TRAITS_MEMBER(title) | 27 IPC_STRUCT_TRAITS_MEMBER(title) |
| 23 IPC_STRUCT_TRAITS_MEMBER(thumbnail) | 28 IPC_STRUCT_TRAITS_MEMBER(thumbnail) |
| 24 IPC_STRUCT_TRAITS_MEMBER(favicon) | 29 IPC_STRUCT_TRAITS_MEMBER(favicon) |
| 25 IPC_STRUCT_TRAITS_MEMBER(source) | 30 IPC_STRUCT_TRAITS_MEMBER(source) |
| 26 IPC_STRUCT_TRAITS_END() | 31 IPC_STRUCT_TRAITS_END() |
| 27 | 32 |
| 28 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) | 33 IPC_STRUCT_TRAITS_BEGIN(InstantSuggestion) |
| 29 IPC_STRUCT_TRAITS_MEMBER(text) | 34 IPC_STRUCT_TRAITS_MEMBER(text) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 47 IPC_STRUCT_TRAITS_MEMBER(header_color) | 52 IPC_STRUCT_TRAITS_MEMBER(header_color) |
| 48 IPC_STRUCT_TRAITS_MEMBER(section_border_color) | 53 IPC_STRUCT_TRAITS_MEMBER(section_border_color) |
| 49 IPC_STRUCT_TRAITS_MEMBER(theme_id) | 54 IPC_STRUCT_TRAITS_MEMBER(theme_id) |
| 50 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) | 55 IPC_STRUCT_TRAITS_MEMBER(image_horizontal_alignment) |
| 51 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) | 56 IPC_STRUCT_TRAITS_MEMBER(image_vertical_alignment) |
| 52 IPC_STRUCT_TRAITS_MEMBER(image_tiling) | 57 IPC_STRUCT_TRAITS_MEMBER(image_tiling) |
| 53 IPC_STRUCT_TRAITS_MEMBER(image_height) | 58 IPC_STRUCT_TRAITS_MEMBER(image_height) |
| 54 IPC_STRUCT_TRAITS_MEMBER(has_attribution) | 59 IPC_STRUCT_TRAITS_MEMBER(has_attribution) |
| 55 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) | 60 IPC_STRUCT_TRAITS_MEMBER(logo_alternate) |
| 56 IPC_STRUCT_TRAITS_END() | 61 IPC_STRUCT_TRAITS_END() |
| OLD | NEW |