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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.h

Issue 2457933004: Register and select printer on click. (Closed)
Patch Set: lint 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.h b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
index 87cb737df931742cfe4bf8f54be9748dc7051e4f..73e22c2b769925c499e541ce48de56b3ff1a7417 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -145,8 +145,12 @@ class PrintPreviewHandler
// First element of |args| is the data to persist.
void HandleSaveAppState(const base::ListValue* args);
+ // A printer has been chosen from the printer list. First element of |args|
+ // is the printer name.
+ void HandlePrinterSelected(const base::ListValue* args);
+
// Gets the printer capabilities. First element of |args| is the printer name.
Lei Zhang 2016/11/02 23:09:22 Comment is out of date. Does HandleGetPrinterCapab
skau 2016/11/03 22:38:08 Upon further consideration, I've reverted this sin
- void HandleGetPrinterCapabilities(const base::ListValue* args);
+ void HandleGetPrinterCapabilities(const std::string& printer_name);
#if BUILDFLAG(ENABLE_BASIC_PRINT_DIALOG)
// Asks the initiator renderer to show the native print system dialog. |args|

Powered by Google App Engine
This is Rietveld 408576698