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

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

Issue 919213002: Handle an extension printer supporting only PWG raster data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove ENABLE_DISCOVERY_SERVICE ifdefs Created 5 years, 10 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/printer_handler.h
diff --git a/chrome/browser/ui/webui/print_preview/printer_handler.h b/chrome/browser/ui/webui/print_preview/printer_handler.h
index 92a9bf81bc6e60b2f12d0420a2fbcb57cced3cec..44188bbce46dccb872476bb5bd258c73449c0d1f 100644
--- a/chrome/browser/ui/webui/print_preview/printer_handler.h
+++ b/chrome/browser/ui/webui/print_preview/printer_handler.h
@@ -21,6 +21,10 @@ namespace content {
class BrowserContext;
}
+namespace gfx {
+class Size;
+}
+
// Wrapper around PrinterProviderAPI to be used by print preview.
// It makes request lifetime management easier, and hides details of more
// complex operations like printing from the print preview handler.
@@ -64,6 +68,7 @@ class PrinterHandler {
const std::string& destination_id,
const std::string& capability,
const std::string& ticket_json,
+ const gfx::Size& size,
Vitaly Buka (NO REVIEWS) 2015/02/17 19:43:54 size is a property of document, ideally we need to
tbarzic 2015/02/18 02:55:49 So, basically, the page size should be extracted f
const scoped_refptr<base::RefCountedMemory>& print_data,
const PrintCallback& callback) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698