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

Unified Diff: Source/core/platform/text/PlatformLocale.h

Issue 24201005: Refactoring: Move queryLocalizedString() to Locale class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/LocalizedStrings.cpp ('k') | Source/core/platform/text/PlatformLocale.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/text/PlatformLocale.h
diff --git a/Source/core/platform/text/PlatformLocale.h b/Source/core/platform/text/PlatformLocale.h
index 0c7ede4b36a47c3433c8bfce317494247a309791..8f19dd474a8e2d85470ab1c3aaaf60801a38ad6f 100644
--- a/Source/core/platform/text/PlatformLocale.h
+++ b/Source/core/platform/text/PlatformLocale.h
@@ -28,6 +28,7 @@
#include "core/platform/DateComponents.h"
#include "core/platform/Language.h"
+#include "public/platform/WebLocalizedString.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/text/WTFString.h"
@@ -40,6 +41,10 @@ public:
static PassOwnPtr<Locale> create(const AtomicString& localeIdentifier);
static PassOwnPtr<Locale> createDefault();
+ String queryString(WebKit::WebLocalizedString::Name);
+ String queryString(WebKit::WebLocalizedString::Name, const String& parameter);
+ String queryString(WebKit::WebLocalizedString::Name, const String& parameter1, const String& parameter2);
+
// Converts the specified number string to another number string localized
// for this Locale locale. The input string must conform to HTML
// floating-point numbers, and is not empty.
« no previous file with comments | « Source/core/platform/LocalizedStrings.cpp ('k') | Source/core/platform/text/PlatformLocale.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698