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

Unified Diff: content/public/common/date_time_suggestion.cc

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, 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/date_time_suggestion.cc
diff --git a/content/public/common/date_time_suggestion.cc b/content/public/common/date_time_suggestion.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fab0f0b1ff99234df6749a71ae80b0b96b7a663b
--- /dev/null
+++ b/content/public/common/date_time_suggestion.cc
@@ -0,0 +1,21 @@
+// 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.
+
+#include "content/public/common/date_time_suggestion.h"
+
+#include "third_party/WebKit/public/web/WebDateTimeSuggestion.h"
+
+namespace content {
+
+DateTimeSuggestion::DateTimeSuggestion() {
+}
+
+DateTimeSuggestion::DateTimeSuggestion(
+ const blink::WebDateTimeSuggestion& suggestion)
+ : value(suggestion.value),
+ localizedValue(suggestion.localizedValue),
+ label(suggestion.label) {
+}
+
+} // namespace content

Powered by Google App Engine
This is Rietveld 408576698