Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: third_party/WebKit/Source/platform/text/PlatformLocale.h

Issue 1897163002: Remove ENABLE(INPUT_MULTIPLE_FIELDS_UI) conditional compilation in platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // user, and might not be a number string. It's ok that the function returns 58 // user, and might not be a number string. It's ok that the function returns
59 // a string which is not conforms to the HTML floating-point number format, 59 // a string which is not conforms to the HTML floating-point number format,
60 // callers of this function are responsible to check the format of the 60 // callers of this function are responsible to check the format of the
61 // resultant string. 61 // resultant string.
62 String convertFromLocalizedNumber(const String&); 62 String convertFromLocalizedNumber(const String&);
63 63
64 // Remove characters from |input| if a character is not included in 64 // Remove characters from |input| if a character is not included in
65 // locale-specific number characters and |standardChars|. 65 // locale-specific number characters and |standardChars|.
66 String stripInvalidNumberCharacters(const String& input, const String& stand ardChars) const; 66 String stripInvalidNumberCharacters(const String& input, const String& stand ardChars) const;
67 67
68 #if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
69 // Returns localized decimal separator, e.g. "." for English, "," for French . 68 // Returns localized decimal separator, e.g. "." for English, "," for French .
70 String localizedDecimalSeparator(); 69 String localizedDecimalSeparator();
71 #endif
72 70
73 // Returns date format in Unicode TR35 LDML[1] containing day of month, 71 // Returns date format in Unicode TR35 LDML[1] containing day of month,
74 // month, and year, e.g. "dd/mm/yyyy" 72 // month, and year, e.g. "dd/mm/yyyy"
75 // [1] LDML http://unicode.org/reports/tr35/#Date_Format_Patterns 73 // [1] LDML http://unicode.org/reports/tr35/#Date_Format_Patterns
76 virtual String dateFormat() = 0; 74 virtual String dateFormat() = 0;
77 75
78 // Returns a year-month format in Unicode TR35 LDML. 76 // Returns a year-month format in Unicode TR35 LDML.
79 virtual String monthFormat() = 0; 77 virtual String monthFormat() = 0;
80 78
81 // Returns a year-month format using short month lanel in Unicode TR35 LDML. 79 // Returns a year-month format using short month lanel in Unicode TR35 LDML.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 String m_positivePrefix; 165 String m_positivePrefix;
168 String m_positiveSuffix; 166 String m_positiveSuffix;
169 String m_negativePrefix; 167 String m_negativePrefix;
170 String m_negativeSuffix; 168 String m_negativeSuffix;
171 String m_acceptableNumberCharacters; 169 String m_acceptableNumberCharacters;
172 bool m_hasLocaleData; 170 bool m_hasLocaleData;
173 }; 171 };
174 172
175 } // namespace blink 173 } // namespace blink
176 #endif 174 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleWinTest.cpp ('k') | third_party/WebKit/Source/platform/text/PlatformLocale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698