summaryrefslogtreecommitdiffstats
path: root/src/core/content_client_qt.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2013-12-02 18:23:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-03 11:57:52 +0100
commit3e635f23d06a622db23c7d3e99cae574735534d9 (patch)
treea057592ee2170d096620e6f3ccf37a37bba4c531 /src/core/content_client_qt.h
parent430f202718f7311c541a7243870719e2df456f2f (diff)
Get localized strings in the render process
Building on top of the repacking of .pak files, we now ship the whole array of repacked locales and pick the appropriate one at runtime. Change-Id: I0096e3eac6a1fc83885fd11e0fa55a746f8e45d8 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/content_client_qt.h')
-rw-r--r--src/core/content_client_qt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/content_client_qt.h b/src/core/content_client_qt.h
index 059e9423b..66f302825 100644
--- a/src/core/content_client_qt.h
+++ b/src/core/content_client_qt.h
@@ -50,6 +50,7 @@
class ContentClientQt : public content::ContentClient {
public:
virtual base::StringPiece GetDataResource(int, ui::ScaleFactor) const Q_DECL_OVERRIDE;
+ virtual base::string16 GetLocalizedString(int message_id) const Q_DECL_OVERRIDE;
};
#endif // CONTENT_CLIENT_QT_H