Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / public / common / color_suggestion.h
blobdcb1a4efe18048fae8854b370c30b2fecaa52ea0
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.
5 #ifndef CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
6 #define CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
8 #include "base/strings/string16.h"
9 #include "content/common/content_export.h"
10 #include "third_party/skia/include/core/SkColor.h"
12 namespace blink {
13 struct WebColorSuggestion;
16 namespace content {
18 // Container for information about datalist suggestion for the color input
19 // control.
20 struct CONTENT_EXPORT ColorSuggestion {
21 ColorSuggestion() {}
22 explicit ColorSuggestion(const blink::WebColorSuggestion& suggestion);
24 SkColor color;
25 base::string16 label;
28 } // namespace content
30 #endif // CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_