Chromium Code Reviews| OLD | NEW |
|---|---|
| (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/skia/include/core/SkColor.h" | |
| 13 | |
| 14 namespace blink { | |
| 15 struct WebDateTimeSuggestion; | |
| 16 } | |
|
bulach
2013/12/04 10:37:54
nit: // namespace blink
keishi
2013/12/04 12:21:24
Done.
| |
| 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); | |
|
jam
2013/12/04 06:25:53
this shouldn't be declared in content/common and d
keishi
2013/12/04 12:21:24
Done.
| |
| 26 | |
| 27 // The date/time value represented as a double. | |
| 28 double value; | |
| 29 // The localized value to be shown to the user. | |
| 30 base::string16 localized_value; | |
| 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_ | |
| OLD | NEW |