Index: content/public/common/date_time_suggestion.h |
diff --git a/content/public/common/date_time_suggestion.h b/content/public/common/date_time_suggestion.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cc6d2da77855169cc1425f74b9124d93f515f180 |
--- /dev/null |
+++ b/content/public/common/date_time_suggestion.h |
@@ -0,0 +1,31 @@ |
+// 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. |
+ |
+#ifndef CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_ |
+#define CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_ |
+ |
+#include <vector> |
+ |
+#include "base/strings/string16.h" |
+#include "content/common/content_export.h" |
+#include "third_party/WebKit/public/web/WebDateTimeChooserParams.h" |
+#include "third_party/skia/include/core/SkColor.h" |
+ |
+namespace content { |
Miguel Garcia
2013/10/08 17:44:40
can you point to the java version of this (and the
keishi
2013/10/21 17:00:58
Done.
|
+ |
+// Container for information about datalist suggestion for the color input |
+// control. |
+struct CONTENT_EXPORT DateTimeSuggestion { |
+ |
+ DateTimeSuggestion(); |
+ explicit DateTimeSuggestion(const WebKit::WebDateTimeSuggestion& suggestion); |
+ |
+ base::string16 value; |
Miguel Garcia
2013/10/08 17:44:40
I got very negative feedback for passing strings o
Miguel Garcia
2013/10/08 17:44:40
can you document all 3 values?
keishi
2013/10/21 17:00:58
Done.
|
+ base::string16 localizedValue; |
+ base::string16 label; |
+}; |
+ |
+} // namespace content |
+ |
+#endif // CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_ |