OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/chromeos/cros/network_library.h" | 10 #include "chrome/browser/chromeos/cros/network_library.h" |
11 #include "chrome/browser/chromeos/proxy_cros_settings_provider.h" | |
12 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler.
h" | 11 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler.
h" |
13 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
15 | 14 |
16 class SkBitmap; | 15 class SkBitmap; |
17 namespace views { | 16 namespace views { |
18 class WidgetDelegate; | 17 class WidgetDelegate; |
19 } | 18 } |
20 | 19 |
21 // ChromeOS internet options page UI handler. | 20 // ChromeOS internet options page UI handler. |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 base::ListValue* GetRememberedList(); | 131 base::ListValue* GetRememberedList(); |
133 // Fills network information into JS dictionary for displaying network lists. | 132 // Fills network information into JS dictionary for displaying network lists. |
134 void FillNetworkInfo(base::DictionaryValue* dictionary); | 133 void FillNetworkInfo(base::DictionaryValue* dictionary); |
135 // Refreshes the display of network information. | 134 // Refreshes the display of network information. |
136 void RefreshNetworkData(); | 135 void RefreshNetworkData(); |
137 // Adds observers for wireless networks, if any, so that we can dynamically | 136 // Adds observers for wireless networks, if any, so that we can dynamically |
138 // display the correct icon for that network's signal strength and, in the | 137 // display the correct icon for that network's signal strength and, in the |
139 // case of cellular networks, network technology and roaming status. | 138 // case of cellular networks, network technology and roaming status. |
140 void MonitorNetworks(); | 139 void MonitorNetworks(); |
141 | 140 |
142 chromeos::ProxyCrosSettingsProvider* proxy_settings(); | |
143 | |
144 // Convenience pointer to netwrok library (will not change). | 141 // Convenience pointer to netwrok library (will not change). |
145 chromeos::NetworkLibrary* cros_; | 142 chromeos::NetworkLibrary* cros_; |
146 | 143 |
147 content::NotificationRegistrar registrar_; | 144 content::NotificationRegistrar registrar_; |
148 | 145 |
149 chromeos::ProxyCrosSettingsProvider* proxy_settings_; | |
150 | |
151 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); | 146 DISALLOW_COPY_AND_ASSIGN(InternetOptionsHandler); |
152 }; | 147 }; |
153 | 148 |
154 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ | 149 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_INTERNET_OPTIONS_HANDLER_H_ |
OLD | NEW |