OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 5 #ifndef CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
6 #define CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 6 #define CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 #include "third_party/icu/public/common/unicode/unistr.h" | 12 #include "third_party/icu/source/common/unicode/unistr.h" |
13 #include "third_party/icu/public/i18n/unicode/gregocal.h" | 13 #include "third_party/icu/source/i18n/unicode/gregocal.h" |
14 #include "ui/base/ime/text_input_type.h" | 14 #include "ui/base/ime/text_input_type.h" |
15 | 15 |
16 namespace WebKit { | 16 namespace WebKit { |
17 struct WebDateTimeChooserParams; | 17 struct WebDateTimeChooserParams; |
18 } // namespace WebKit | 18 } // namespace WebKit |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
22 // Converts between a text string representing a date/time and | 22 // Converts between a text string representing a date/time and |
23 // a set of year/month/day/hour/minute/second and vice versa. | 23 // a set of year/month/day/hour/minute/second and vice versa. |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 int week_; | 63 int week_; |
64 const icu::UnicodeString* pattern_; | 64 const icu::UnicodeString* pattern_; |
65 std::string formatted_string_; | 65 std::string formatted_string_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(DateTimeFormatter); | 67 DISALLOW_COPY_AND_ASSIGN(DateTimeFormatter); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace content | 70 } // namespace content |
71 | 71 |
72 #endif // CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ | 72 #endif // CONTENT_RENDERER_DATE_TIME_FORMATTER_H_ |
OLD | NEW |