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_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 virtual void NetworkPropertiesUpdated( | 95 virtual void NetworkPropertiesUpdated( |
96 const chromeos::NetworkState* network) override; | 96 const chromeos::NetworkState* network) override; |
97 virtual void DevicePropertiesUpdated( | 97 virtual void DevicePropertiesUpdated( |
98 const chromeos::DeviceState* device) override; | 98 const chromeos::DeviceState* device) override; |
99 | 99 |
100 // Updates the logged in user type. | 100 // Updates the logged in user type. |
101 void UpdateLoggedInUserType(); | 101 void UpdateLoggedInUserType(); |
102 | 102 |
103 // Additional callbacks to set network state properties. | 103 // Additional callbacks to set network state properties. |
104 void SetPropertiesCallback(const base::ListValue* args); | 104 void SetPropertiesCallback(const base::ListValue* args); |
105 void SetIPConfigCallback(const base::ListValue* args); | |
106 void SetIPConfigProperties(const base::ListValue* args, | |
107 const std::string& service_path, | |
108 const base::DictionaryValue& shill_properties); | |
109 | 105 |
110 // Gets the native window for hosting dialogs, etc. | 106 // Gets the native window for hosting dialogs, etc. |
111 gfx::NativeWindow GetNativeWindow() const; | 107 gfx::NativeWindow GetNativeWindow() const; |
112 | 108 |
113 // Gets the UI scale factor. | 109 // Gets the UI scale factor. |
114 float GetScaleFactor() const; | 110 float GetScaleFactor() const; |
115 | 111 |
116 // Gets the user PrefService associated with the WebUI. | 112 // Gets the user PrefService associated with the WebUI. |
117 const PrefService* GetPrefs() const; | 113 const PrefService* GetPrefs() const; |
118 | 114 |
(...skipping 26 matching lines...) Expand all Loading... |
145 // of this object. | 141 // of this object. |
146 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; | 142 base::WeakPtrFactory<InternetOptionsHandler> weak_factory_; |
147 | 143 |
148 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 144 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
149 }; | 145 }; |
150 | 146 |
151 } // namespace options | 147 } // namespace options |
152 } // namespace chromeos | 148 } // namespace chromeos |
153 | 149 |
154 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 150 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
OLD | NEW |