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

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, 3 months 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 <vector>
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
21 ColorSuggestion() { }
newt (away) 2013/08/26 20:23:20 is it OK to put this constructor definition in the
keishi 2013/08/29 05:04:11 Moved to cc file.
22 ColorSuggestion(const WebKit::WebColorSuggestion& suggestion);
newt (away) 2013/08/26 20:23:20 should be "explicit"
keishi 2013/08/29 03:40:47 Done.
23
24 SkColor value_as_color;
25 base::string16 value_as_text;
26 base::string16 label;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_PUBLIC_COMMON_COLOR_SUGGESTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698