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_COMMON_DATE_TIME_SUGGESTION_H_ 6#define CONTENT_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 14namespace content { 15 16// Container for information about datalist suggestion for the date/time input 17// control. Keep in sync with DateTimeSuggestion.java 18struct CONTENT_EXPORT DateTimeSuggestion { 19 DateTimeSuggestion() {} 20 21 // The date/time value represented as a double. 22 double value; 23 // The localized value to be shown to the user. 24 base::string16 localized_value; 25 // The label for the suggestion. 26 base::string16 label; 27}; 28 29} // namespace content 30 31#endif // CONTENT_COMMON_DATE_TIME_SUGGESTION_H_ 32