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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #ifndef LocaleWin_h | 31 #ifndef LocaleWin_h |
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 WebCore { | 40 namespace blink { |
41 | 41 |
42 class DateComponents; | 42 class DateComponents; |
43 struct DateFormatToken; | 43 struct DateFormatToken; |
44 | 44 |
45 class PLATFORM_EXPORT LocaleWin : public Locale { | 45 class PLATFORM_EXPORT LocaleWin : public Locale { |
46 public: | 46 public: |
47 static PassOwnPtr<LocaleWin> create(LCID, bool defaultsForLocale); | 47 static PassOwnPtr<LocaleWin> create(LCID, bool defaultsForLocale); |
48 ~LocaleWin(); | 48 ~LocaleWin(); |
49 virtual const Vector<String>& weekDayShortLabels() OVERRIDE; | 49 virtual const Vector<String>& weekDayShortLabels() OVERRIDE; |
50 virtual unsigned firstDayOfWeek() OVERRIDE; | 50 virtual unsigned firstDayOfWeek() OVERRIDE; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 String m_timeFormatWithoutSeconds; | 84 String m_timeFormatWithoutSeconds; |
85 String m_dateTimeFormatWithSeconds; | 85 String m_dateTimeFormatWithSeconds; |
86 String m_dateTimeFormatWithoutSeconds; | 86 String m_dateTimeFormatWithoutSeconds; |
87 Vector<String> m_timeAMPMLabels; | 87 Vector<String> m_timeAMPMLabels; |
88 Vector<String> m_weekDayShortLabels; | 88 Vector<String> m_weekDayShortLabels; |
89 unsigned m_firstDayOfWeek; | 89 unsigned m_firstDayOfWeek; |
90 bool m_didInitializeNumberData; | 90 bool m_didInitializeNumberData; |
91 bool m_defaultsForLocale; | 91 bool m_defaultsForLocale; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace WebCore | 94 } // namespace blink |
95 #endif | 95 #endif |
OLD | NEW |