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

Unified Diff: third_party/WebKit/public/web/WebPrintParams.h

Issue 2653963002: [Experimental] Supporting OOPIF printing
Patch Set: Rename service, fix for webview, and connect to DiscardableMemoryManager Created 3 years, 9 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: third_party/WebKit/public/web/WebPrintParams.h
diff --git a/third_party/WebKit/public/web/WebPrintParams.h b/third_party/WebKit/public/web/WebPrintParams.h
index 800f2f87ea299a7fd0d0f1dadbd14d75554752a9..5ffff93c535ba9d57eb6b365d8ee65c7137ca1a5 100644
--- a/third_party/WebKit/public/web/WebPrintParams.h
+++ b/third_party/WebKit/public/web/WebPrintParams.h
@@ -58,16 +58,20 @@ struct WebPrintParams {
// printable area. (This is used only by plugin printing).
WebPrintScalingOption printScalingOption;
+ int rootFrameRoutingId;
+
WebPrintParams()
: printerDPI(72),
- printScalingOption(WebPrintScalingOptionFitToPrintableArea) {}
+ printScalingOption(WebPrintScalingOptionFitToPrintableArea),
+ rootFrameRoutingId(0) {}
WebPrintParams(const WebSize& paperSize)
: printContentArea(WebRect(0, 0, paperSize.width, paperSize.height)),
printableArea(WebRect(0, 0, paperSize.width, paperSize.height)),
paperSize(paperSize),
printerDPI(72),
- printScalingOption(WebPrintScalingOptionSourceSize) {}
+ printScalingOption(WebPrintScalingOptionSourceSize),
+ rootFrameRoutingId(0) {}
WebPrintParams(const WebRect& printContentArea,
const WebRect& printableArea,
@@ -78,7 +82,8 @@ struct WebPrintParams {
printableArea(printableArea),
paperSize(paperSize),
printerDPI(printerDPI),
- printScalingOption(printScalingOption) {}
+ printScalingOption(printScalingOption),
+ rootFrameRoutingId(0) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/WebLocalFrameImpl.cpp ('k') | third_party/WebKit/public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698