Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: chrome/common/instant_struct_traits.h

Issue 2790463003: ntp_tiles: Cleanup enum names (Closed)
Patch Set: add back histogram enums Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/instant.typemap ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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()
OLDNEW
« no previous file with comments | « chrome/common/instant.typemap ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698