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

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: Removed change to envsetup.sh Created 7 years, 1 month 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.
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/WebKit/public/web/WebDateTimeChooserParams.h"
13 #include "third_party/skia/include/core/SkColor.h"
14
15 namespace content {
16
17 // Container for information about datalist suggestion for the date/time input
18 // control. Keep in sync with DateTimeSuggestion.java
19 struct CONTENT_EXPORT DateTimeSuggestion {
20
21 DateTimeSuggestion();
22 explicit DateTimeSuggestion(const WebKit::WebDateTimeSuggestion& suggestion);
23
24 // The value to suggest.
25 double value;
26 // The suggestion value localized.
27 base::string16 localizedValue;
palmer 2013/11/06 02:29:00 We should localize it on the browser (trusted) sid
keishi 2013/11/06 04:28:46 I don't think we can do that. We want to show the
28 // The label for the suggestion.
29 base::string16 label;
palmer 2013/11/06 02:29:00 Does the browser side check this for sanity in som
keishi 2013/11/06 04:28:46 We don't do anything right now. In my next patch
30 };
31
32 } // namespace content
33
34 #endif // CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_
OLDNEW
« no previous file with comments | « content/public/android/java/strings/android_content_strings.grd ('k') | content/public/common/date_time_suggestion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698