[M73 Dev][EFL] Disable VizDisplayCompositor for EFL port
[platform/framework/web/chromium-efl.git] / components / favicon_base / favicon_types.cc
1 // Copyright 2014 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 #include "components/favicon_base/favicon_types.h"
6
7 #include "components/favicon_base/fallback_icon_style.h"
8
9 namespace favicon_base {
10
11 // ---------------------------------------------------------
12 // FaviconImageResult
13
14 FaviconImageResult::FaviconImageResult() {}
15
16 FaviconImageResult::~FaviconImageResult() {}
17
18 // --------------------------------------------------------
19 // FaviconRawBitmapResult
20
21 FaviconRawBitmapResult::FaviconRawBitmapResult()
22     : expired(false), icon_type(IconType::kInvalid) {}
23
24 FaviconRawBitmapResult::FaviconRawBitmapResult(
25     const FaviconRawBitmapResult& other) = default;
26
27 FaviconRawBitmapResult::~FaviconRawBitmapResult() {}
28
29 // --------------------------------------------------------
30 // LargeIconResult
31
32 LargeIconResult::LargeIconResult(const FaviconRawBitmapResult& bitmap_in)
33     : bitmap(bitmap_in) {}
34
35 LargeIconResult::LargeIconResult(FallbackIconStyle* fallback_icon_style_in)
36     : fallback_icon_style(fallback_icon_style_in) {}
37
38 LargeIconResult::~LargeIconResult() {}
39
40 // --------------------------------------------------------
41 // LargeIconImageResult
42
43 LargeIconImageResult::LargeIconImageResult(const gfx::Image& image_in,
44                                            const GURL& icon_url_in)
45     : image(image_in), icon_url(icon_url_in) {}
46
47 LargeIconImageResult::LargeIconImageResult(
48     FallbackIconStyle* fallback_icon_style_in)
49     : fallback_icon_style(fallback_icon_style_in) {}
50
51 LargeIconImageResult::~LargeIconImageResult() {}
52
53 }  // namespace favicon_base