summaryrefslogtreecommitdiffstats
path: root/src/core/content_browser_client_qt.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2015-01-12 16:39:52 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-01-13 11:37:47 +0100
commitaeb2abb6145158491e8ebe9d573df76e73c3ab13 (patch)
treec4d4573dde0b875391d8cfbeb02ea3ea219fdc03 /src/core/content_browser_client_qt.h
parentbc79678dfb91648d1d31b15732f31739abe5df55 (diff)
Make Chromium use the same locale as Qt
Tell Chromium to use the locale Qt has determined as the default locale. Change-Id: I16986d84afcc0b496a22441b4a92fc09a5c89121 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
Diffstat (limited to 'src/core/content_browser_client_qt.h')
-rw-r--r--src/core/content_browser_client_qt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/content_browser_client_qt.h b/src/core/content_browser_client_qt.h
index 2a758c6d7..cc66f6a3b 100644
--- a/src/core/content_browser_client_qt.h
+++ b/src/core/content_browser_client_qt.h
@@ -101,6 +101,8 @@ public:
virtual blink::WebNotificationPresenter::Permission CheckDesktopNotificationPermission(const GURL& source_origin, content::ResourceContext* context, int render_process_id) Q_DECL_OVERRIDE;
+ virtual std::string GetApplicationLocale() Q_DECL_OVERRIDE;
+
void enableInspector(bool enable, content::BrowserContext *browser_context);
private: