OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define LocaleWin_h | 32 #define LocaleWin_h |
33 | 33 |
34 #include <windows.h> | 34 #include <windows.h> |
35 #include "platform/text/PlatformLocale.h" | 35 #include "platform/text/PlatformLocale.h" |
36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
37 #include "wtf/Vector.h" | 37 #include "wtf/Vector.h" |
38 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
39 | 39 |
40 namespace blink { | 40 namespace blink { |
41 | 41 |
42 class DateComponents; | |
43 struct DateFormatToken; | |
44 | |
45 class PLATFORM_EXPORT LocaleWin : public Locale { | 42 class PLATFORM_EXPORT LocaleWin : public Locale { |
46 public: | 43 public: |
47 static PassOwnPtr<LocaleWin> create(LCID, bool defaultsForLocale); | 44 static PassOwnPtr<LocaleWin> create(LCID, bool defaultsForLocale); |
48 ~LocaleWin(); | 45 ~LocaleWin(); |
49 virtual const Vector<String>& weekDayShortLabels() OVERRIDE; | 46 virtual const Vector<String>& weekDayShortLabels() OVERRIDE; |
50 virtual unsigned firstDayOfWeek() OVERRIDE; | 47 virtual unsigned firstDayOfWeek() OVERRIDE; |
51 virtual bool isRTL() OVERRIDE; | 48 virtual bool isRTL() OVERRIDE; |
52 virtual String dateFormat() OVERRIDE; | 49 virtual String dateFormat() OVERRIDE; |
53 virtual String monthFormat() OVERRIDE; | 50 virtual String monthFormat() OVERRIDE; |
54 virtual String shortMonthFormat() OVERRIDE; | 51 virtual String shortMonthFormat() OVERRIDE; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 String m_dateTimeFormatWithoutSeconds; | 83 String m_dateTimeFormatWithoutSeconds; |
87 Vector<String> m_timeAMPMLabels; | 84 Vector<String> m_timeAMPMLabels; |
88 Vector<String> m_weekDayShortLabels; | 85 Vector<String> m_weekDayShortLabels; |
89 unsigned m_firstDayOfWeek; | 86 unsigned m_firstDayOfWeek; |
90 bool m_didInitializeNumberData; | 87 bool m_didInitializeNumberData; |
91 bool m_defaultsForLocale; | 88 bool m_defaultsForLocale; |
92 }; | 89 }; |
93 | 90 |
94 } // namespace blink | 91 } // namespace blink |
95 #endif | 92 #endif |
OLD | NEW |