| Index: Source/core/platform/text/PlatformLocale.cpp
|
| diff --git a/Source/core/platform/text/PlatformLocale.cpp b/Source/core/platform/text/PlatformLocale.cpp
|
| index c959ac946d4ea771f7823bc946bb8cfd667e2fff..1b09c6314aeb93eec34747f5a062570ecb0440ac 100644
|
| --- a/Source/core/platform/text/PlatformLocale.cpp
|
| +++ b/Source/core/platform/text/PlatformLocale.cpp
|
| @@ -33,10 +33,14 @@
|
|
|
| #include "core/platform/LocalizedStrings.h"
|
| #include "core/platform/text/DateTimeFormat.h"
|
| +#include "public/platform/Platform.h"
|
| #include "wtf/text/StringBuilder.h"
|
|
|
| namespace WebCore {
|
|
|
| +using WebKit::Platform;
|
| +using WebKit::WebLocalizedString;
|
| +
|
| class DateTimeStringBuilder : private DateTimeFormat::TokenHandler {
|
| WTF_MAKE_NONCOPYABLE(DateTimeStringBuilder);
|
|
|
| @@ -180,6 +184,24 @@ Locale::~Locale()
|
| {
|
| }
|
|
|
| +String Locale::queryString(WebLocalizedString::Name name)
|
| +{
|
| + // FIXME: Returns a string locazlied for this locale.
|
| + return Platform::current()->queryLocalizedString(name);
|
| +}
|
| +
|
| +String Locale::queryString(WebLocalizedString::Name name, const String& parameter)
|
| +{
|
| + // FIXME: Returns a string locazlied for this locale.
|
| + return Platform::current()->queryLocalizedString(name, parameter);
|
| +}
|
| +
|
| +String Locale::queryString(WebLocalizedString::Name name, const String& parameter1, const String& parameter2)
|
| +{
|
| + // FIXME: Returns a string locazlied for this locale.
|
| + return Platform::current()->queryLocalizedString(name, parameter1, parameter2);
|
| +}
|
| +
|
| void Locale::setLocaleData(const Vector<String, DecimalSymbolsSize>& symbols, const String& positivePrefix, const String& positiveSuffix, const String& negativePrefix, const String& negativeSuffix)
|
| {
|
| for (size_t i = 0; i < symbols.size(); ++i) {
|
|
|