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

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

Issue 23623019: Support datalist for date/time input types on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
jam 2013/12/02 17:27:22 why is this in content/public? Per http://www.chro
keishi 2013/12/03 03:21:25 I moved this file to content/common but including
jam 2013/12/03 22:24:50 this is because we can't include blink in content\
keishi 2013/12/04 02:26:16 Done.
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_DATE_TIME_SUGGESTION_H_
6 #define CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_
7
8 #include <vector>
9
10 #include "base/strings/string16.h"
11 #include "content/common/content_export.h"
12 #include "third_party/skia/include/core/SkColor.h"
13
14 namespace blink {
15 struct WebDateTimeSuggestion;
16 }
17
18 namespace content {
19
20 // Container for information about datalist suggestion for the date/time input
21 // control. Keep in sync with DateTimeSuggestion.java
22 struct CONTENT_EXPORT DateTimeSuggestion {
23
24 DateTimeSuggestion();
25 explicit DateTimeSuggestion(const blink::WebDateTimeSuggestion& suggestion);
26
27 // The value to suggest.
28 double value;
29 // The suggestion value localized.
30 base::string16 localizedValue;
31 // The label for the suggestion.
32 base::string16 label;
33 };
34
35 } // namespace content
36
37 #endif // CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698