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

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

Issue 10867004: Notify print preview UI if getting capabilityes failed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months 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 e6afec4bcbede7f191ae0b33b8190b097071c013..189aee9db3787706a4a1969e7ee80128b873f113 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -161,6 +161,10 @@ class PrintPreviewHandler : public content::WebUIMessageHandler,
// printer capabilities information.
void SendPrinterCapabilities(const base::DictionaryValue& settings_info);
+ // Sends error notification to the Web UI when unable to return the printer
+ // capabilities.
+ void SendFailedToGetPrinterCapabilities(const std::string& printer_name);
+
// Send the list of printers to the Web UI.
void SetupPrinterList(const base::ListValue& printers);
« no previous file with comments | « chrome/browser/resources/print_preview/native_layer.js ('k') | chrome/browser/ui/webui/print_preview/print_preview_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698