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

Side by Side Diff: chrome/browser/ui/webui/options/browser_options_handler.h

Issue 2464403003: [CUPS] Implement the "Printers" section in chrome://settings. (Closed)
Patch Set: . 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
OLDNEW
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // an appropriate dialog for configuring proxy settings. 273 // an appropriate dialog for configuring proxy settings.
274 void ShowNetworkProxySettings(const base::ListValue* args); 274 void ShowNetworkProxySettings(const base::ListValue* args);
275 #endif 275 #endif
276 276
277 #if !defined(USE_NSS_CERTS) 277 #if !defined(USE_NSS_CERTS)
278 // Callback for the "showManageSSLCertificates" message. This will invoke 278 // Callback for the "showManageSSLCertificates" message. This will invoke
279 // an appropriate certificate management action based on the platform. 279 // an appropriate certificate management action based on the platform.
280 void ShowManageSSLCertificates(const base::ListValue* args); 280 void ShowManageSSLCertificates(const base::ListValue* args);
281 #endif 281 #endif
282 282
283 #if defined(OS_CHROMEOS)
284 void ShowCupsPrintDevicesPage(const base::ListValue* args);
285 #endif // defined(OS_CHROMEOS)
286
283 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY) 287 #if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
284 void ShowCloudPrintDevicesPage(const base::ListValue* args); 288 void ShowCloudPrintDevicesPage(const base::ListValue* args);
285 #endif 289 #endif
286 290
287 #if defined(ENABLE_PRINT_PREVIEW) 291 #if defined(ENABLE_PRINT_PREVIEW)
288 // Register localized values used by Cloud Print 292 // Register localized values used by Cloud Print
289 void RegisterCloudPrintValues(base::DictionaryValue* values); 293 void RegisterCloudPrintValues(base::DictionaryValue* values);
290 #endif 294 #endif
291 295
292 // Check if hotword is available. If it is, tell the javascript to show 296 // 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
430 434
431 // Used to get WeakPtr to self for use on the UI thread. 435 // Used to get WeakPtr to self for use on the UI thread.
432 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_; 436 base::WeakPtrFactory<BrowserOptionsHandler> weak_ptr_factory_;
433 437
434 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler); 438 DISALLOW_COPY_AND_ASSIGN(BrowserOptionsHandler);
435 }; 439 };
436 440
437 } // namespace options 441 } // namespace options
438 442
439 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_ 443 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_BROWSER_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698