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/WebKit/public/web/WebDateTimeChooserParams.h" | |
| 13 #include "third_party/skia/include/core/SkColor.h" | |
| 14 | |
| 15 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.
| |
| 16 | |
| 17 // Container for information about datalist suggestion for the color input | |
| 18 // control. | |
| 19 struct CONTENT_EXPORT DateTimeSuggestion { | |
| 20 | |
| 21 DateTimeSuggestion(); | |
| 22 explicit DateTimeSuggestion(const WebKit::WebDateTimeSuggestion& suggestion); | |
| 23 | |
| 24 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.
| |
| 25 base::string16 localizedValue; | |
| 26 base::string16 label; | |
| 27 }; | |
| 28 | |
| 29 } // namespace content | |
| 30 | |
| 31 #endif // CONTENT_PUBLIC_COMMON_DATE_TIME_SUGGESTION_H_ | |
| OLD | NEW |