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

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

Issue 78173002: Pass PWG raster conversion settings from Preview to Converter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 fa9da005dda177b967d0f144f5d658a4d07a5d4b..294c647c74af8d1092aacdcfc6e2a6fc1e6814c7 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.h
@@ -31,6 +31,10 @@ namespace content {
class WebContents;
}
+namespace gfx {
+class Size;
+}
+
namespace printing {
struct PageSizeMargins;
class PrintBackend;
@@ -248,14 +252,17 @@ class PrintPreviewHandler
void PrivetCapabilitiesUpdateClient(
scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
void PrivetLocalPrintUpdateClient(
- std::string printTicket,
+ std::string print_ticket,
+ gfx::Size page_size,
scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
bool PrivetUpdateClient(
scoped_ptr<local_discovery::PrivetHTTPClient> http_client);
- void StartPrivetLocalPrint(const std::string& print_ticket);
+ void StartPrivetLocalPrint(const std::string& print_ticket,
+ const gfx::Size& page_size);
void SendPrivetCapabilitiesError(const std::string& id);
void PrintToPrivetPrinter(const std::string& printer_name,
- const std::string& print_ticket);
+ const std::string& print_ticket,
+ const gfx::Size& page_size);
bool CreatePrivetHTTP(
const std::string& name,
const local_discovery::PrivetHTTPAsynchronousFactory::ResultCallback&
« 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