blob: dcb1a4efe18048fae8854b370c30b2fecaa52ea0 [file] [log] [blame]
// Copyright 2013 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.
#ifndef CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
#define CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
#include "base/strings/string16.h"
#include "content/common/content_export.h"
#include "third_party/skia/include/core/SkColor.h"
namespace blink {
struct WebColorSuggestion;
}
namespace content {
// Container for information about datalist suggestion for the color input
// control.
struct CONTENT_EXPORT ColorSuggestion {
ColorSuggestion() {}
explicit ColorSuggestion(const blink::WebColorSuggestion& suggestion);
SkColor color;
base::string16 label;
};
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_