| 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_BROWSER_OPTIONS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 // an appropriate dialog for configuring proxy settings. | 274 // an appropriate dialog for configuring proxy settings. |
| 275 void ShowNetworkProxySettings(const base::ListValue* args); | 275 void ShowNetworkProxySettings(const base::ListValue* args); |
| 276 #endif | 276 #endif |
| 277 | 277 |
| 278 #if !defined(USE_NSS_CERTS) | 278 #if !defined(USE_NSS_CERTS) |
| 279 // Callback for the "showManageSSLCertificates" message. This will invoke | 279 // Callback for the "showManageSSLCertificates" message. This will invoke |
| 280 // an appropriate certificate management action based on the platform. | 280 // an appropriate certificate management action based on the platform. |
| 281 void ShowManageSSLCertificates(const base::ListValue* args); | 281 void ShowManageSSLCertificates(const base::ListValue* args); |
| 282 #endif | 282 #endif |
| 283 | 283 |
| 284 #if defined(OS_CHROMEOS) |
| 285 void ShowCupsPrintDevicesPage(const base::ListValue* args); |
| 286 #endif // defined(OS_CHROMEOS) |
| 287 |
| 284 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) | 288 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) |
| 285 void ShowCloudPrintDevicesPage(const base::ListValue* args); | 289 void ShowCloudPrintDevicesPage(const base::ListValue* args); |
| 286 #endif | 290 #endif |
| 287 | 291 |
| 288 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 292 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
| 289 // Register localized values used by Cloud Print | 293 // Register localized values used by Cloud Print |
| 290 void RegisterCloudPrintValues(base::DictionaryValue* values); | 294 void RegisterCloudPrintValues(base::DictionaryValue* values); |
| 291 #endif | 295 #endif |
| 292 | 296 |
| 293 // Check if hotword is available. If it is, tell the javascript to show | 297 // Check if hotword is available. If it is, tell the javascript to show |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 | 435 |
| 432 // Used to get WeakPtr to self for use on the UI thread. | 436 // Used to get WeakPtr to self for use on the UI thread. |
| 433 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; | 437 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; |
| 434 | 438 |
| 435 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); | 439 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); |
| 436 }; | 440 }; |
| 437 | 441 |
| 438 } // namespace options | 442 } // namespace options |
| 439 | 443 |
| 440 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ | 444 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ |
| OLD | NEW |