OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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 #ifndef CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_ | |
6 #define CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_ | |
7 | |
8 #include <vector> | |
jam
2013/11/07 18:51:57
nit: not needed
keishi
2013/11/13 10:48:12
Done.
| |
9 | |
10 #include "base/strings/string16.h" | |
11 #include "content/common/content_export.h" | |
12 #include "third_party/WebKit/public/web/WebColorSuggestion.h" | |
13 #include "third_party/skia/include/core/SkColor.h" | |
14 | |
15 namespace content { | |
16 | |
17 // Container for information about datalist suggestion for the color input | |
18 // control. | |
19 struct CONTENT_EXPORT ColorSuggestion { | |
20 | |
jam
2013/11/07 18:51:57
nti: extra line
keishi
2013/11/13 10:48:12
Done.
| |
21 ColorSuggestion(); | |
22 explicit ColorSuggestion(const WebKit::WebColorSuggestion& suggestion); | |
jam
2013/11/07 18:51:57
can you inline both of these constructors and then
keishi
2013/11/13 10:48:12
I tried to do this but couldn't. When I had to cha
| |
23 | |
24 SkColor color; | |
25 base::string16 label; | |
26 }; | |
27 | |
28 } // namespace content | |
29 | |
30 #endif // CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_ | |
OLD | NEW |