blob: f94c1be9813190a9525d18f6033ce0abd4b4de75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/search/instant_types.h"
ThemeBackgroundInfo::ThemeBackgroundInfo() = default;
ThemeBackgroundInfo::ThemeBackgroundInfo(const ThemeBackgroundInfo& other) =
default;
ThemeBackgroundInfo::~ThemeBackgroundInfo() = default;
bool ThemeBackgroundInfo::operator==(const ThemeBackgroundInfo& rhs) const {
return using_default_theme == rhs.using_default_theme &&
using_dark_colors == rhs.using_dark_colors &&
custom_background_url == rhs.custom_background_url &&
custom_background_attribution_line_1 ==
rhs.custom_background_attribution_line_1 &&
custom_background_attribution_line_2 ==
rhs.custom_background_attribution_line_2 &&
custom_background_attribution_action_url ==
rhs.custom_background_attribution_action_url &&
collection_id == rhs.collection_id &&
background_color == rhs.background_color &&
text_color == rhs.text_color &&
text_color_light == rhs.text_color_light && theme_id == rhs.theme_id &&
image_horizontal_alignment == rhs.image_horizontal_alignment &&
image_vertical_alignment == rhs.image_vertical_alignment &&
image_tiling == rhs.image_tiling &&
has_attribution == rhs.has_attribution &&
logo_alternate == rhs.logo_alternate &&
has_theme_image == rhs.has_theme_image &&
theme_name == rhs.theme_name && color_id == rhs.color_id &&
color_dark == rhs.color_dark && color_light == rhs.color_light &&
color_picked == rhs.color_picked && logo_color == rhs.logo_color &&
shortcut_color == rhs.shortcut_color;
}
InstantMostVisitedItem::InstantMostVisitedItem()
: title_source(ntp_tiles::TileTitleSource::UNKNOWN),
source(ntp_tiles::TileSource::TOP_SITES) {}
InstantMostVisitedItem::InstantMostVisitedItem(
const InstantMostVisitedItem& other) = default;
InstantMostVisitedItem::~InstantMostVisitedItem() {}
InstantMostVisitedInfo::InstantMostVisitedInfo() = default;
InstantMostVisitedInfo::InstantMostVisitedInfo(
const InstantMostVisitedInfo& other) = default;
InstantMostVisitedInfo::~InstantMostVisitedInfo() {}
|