OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 std::string GetLanguageListLocale() const override; | 70 std::string GetLanguageListLocale() const override; |
71 const base::ListValue* GetLanguageList() const override; | 71 const base::ListValue* GetLanguageList() const override; |
72 void UpdateLanguageList() override; | 72 void UpdateLanguageList() override; |
73 | 73 |
74 // NetworkStateHandlerObserver implementation: | 74 // NetworkStateHandlerObserver implementation: |
75 void NetworkConnectionStateChanged(const NetworkState* network) override; | 75 void NetworkConnectionStateChanged(const NetworkState* network) override; |
76 void DefaultNetworkChanged(const NetworkState* network) override; | 76 void DefaultNetworkChanged(const NetworkState* network) override; |
77 | 77 |
78 // InputMethodManager::Observer implementation: | 78 // InputMethodManager::Observer implementation: |
79 void InputMethodChanged(input_method::InputMethodManager* manager, | 79 void InputMethodChanged(input_method::InputMethodManager* manager, |
| 80 Profile* profile, |
80 bool show_message) override; | 81 bool show_message) override; |
81 | 82 |
82 void SetApplicationLocale(const std::string& locale); | 83 void SetApplicationLocale(const std::string& locale); |
83 std::string GetApplicationLocale(); | 84 std::string GetApplicationLocale(); |
84 | 85 |
85 void SetInputMethod(const std::string& input_method); | 86 void SetInputMethod(const std::string& input_method); |
86 std::string GetInputMethod() const; | 87 std::string GetInputMethod() const; |
87 | 88 |
88 void SetTimezone(const std::string& timezone_id); | 89 void SetTimezone(const std::string& timezone_id); |
89 std::string GetTimezone() const; | 90 std::string GetTimezone() const; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 ObserverList<Observer> observers_; | 184 ObserverList<Observer> observers_; |
184 | 185 |
185 base::WeakPtrFactory<NetworkScreen> weak_factory_; | 186 base::WeakPtrFactory<NetworkScreen> weak_factory_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); | 188 DISALLOW_COPY_AND_ASSIGN(NetworkScreen); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace chromeos | 191 } // namespace chromeos |
191 | 192 |
192 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ | 193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_SCREEN_H_ |
OLD | NEW |