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

Side by Side Diff: android_webview/native/aw_locale_manager_impl.h

Issue 2496183002: Use GetDefaultLocaleListString for returning LocaleList (Closed)
Patch Set: change locales to localelist in AWContents.java Created 4 years, 1 month 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
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/aw_locale_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_
7 7
8 #include "android_webview/browser/aw_locale_manager.h" 8 #include "android_webview/browser/aw_locale_manager.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 11
12 namespace android_webview { 12 namespace android_webview {
13 13
14 class AwLocaleManagerImpl : public AwLocaleManager { 14 class AwLocaleManagerImpl : public AwLocaleManager {
15 public: 15 public:
16 AwLocaleManagerImpl(); 16 AwLocaleManagerImpl();
17 ~AwLocaleManagerImpl() override; 17 ~AwLocaleManagerImpl() override;
18 18
19 std::string GetLocale() override; 19 std::string GetLocale() override;
20 20
21 std::string GetLocaleList() override;
22
21 private: 23 private:
22 DISALLOW_COPY_AND_ASSIGN(AwLocaleManagerImpl); 24 DISALLOW_COPY_AND_ASSIGN(AwLocaleManagerImpl);
23 }; 25 };
24 26
25 } // namespace android_webview 27 } // namespace android_webview
26 28
27 #endif // ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_ 29 #endif // ANDROID_WEBVIEW_NATIVE_AW_LOCALE_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | android_webview/native/aw_locale_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698