Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: content/public/common/color_suggestion.h

Issue 23026006: Add support for color input datalist on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 "base/strings/string16.h"
9 #include "content/common/content_export.h"
10 #include "third_party/skia/include/core/SkColor.h"
11
12 namespace blink {
13 struct WebColorSuggestion;
14 }
15
16 namespace content {
17
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);
23
24 SkColor color;
25 base::string16 label;
26 };
27
28 } // namespace content
29
30 #endif // CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | content/public/common/color_suggestion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698