OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 #include "components/favicon_base/favicon_types.h" | 5 #include "components/favicon_base/favicon_types.h" |
6 | 6 |
7 namespace favicon_base { | 7 namespace favicon_base { |
8 | 8 |
9 // FaviconImageResult --------------------------------------------------------- | 9 // --------------------------------------------------------- |
10 // FaviconImageResult | |
10 | 11 |
11 FaviconImageResult::FaviconImageResult() {} | 12 FaviconImageResult::FaviconImageResult() {} |
12 | 13 |
13 FaviconImageResult::~FaviconImageResult() {} | 14 FaviconImageResult::~FaviconImageResult() {} |
14 | 15 |
16 // -------------------------------------------------------- | |
15 // FaviconRawBitmapResult | 17 // FaviconRawBitmapResult |
16 // -------------------------------------------------------- | |
17 | 18 |
18 FaviconRawBitmapResult::FaviconRawBitmapResult() | 19 FaviconRawBitmapResult::FaviconRawBitmapResult() |
19 : expired(false), icon_type(INVALID_ICON) { | 20 : expired(false), icon_type(INVALID_ICON) { |
20 } | 21 } |
21 | 22 |
22 FaviconRawBitmapResult::~FaviconRawBitmapResult() { | 23 FaviconRawBitmapResult::~FaviconRawBitmapResult() { |
23 } | 24 } |
24 | 25 |
25 } // namespace chrome | 26 // -------------------------------------------------------- |
27 // FallbackIconStyle | |
28 | |
29 FallbackIconStyle::FallbackIconStyle() | |
30 : background_color(SK_ColorTRANSPARENT), | |
31 text_color(SK_ColorTRANSPARENT), | |
32 font_size_ratio(0.0), | |
33 roundness(0.0) { | |
pkotwicz
2015/01/21 19:44:16
Can the constructor initialize FallbackIconStyle w
huangs
2015/01/22 01:13:28
The default text color depends on the background c
| |
34 } | |
35 | |
36 FallbackIconStyle::~FallbackIconStyle() { | |
37 } | |
38 | |
39 } // namespace favicon_base | |
OLD | NEW |