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

Unified Diff: Source/web/WebRemoteFrameImpl.cpp

Issue 591053002: Support print preset options for pdf document (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: out-params should be by pointer Created 6 years, 3 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: Source/web/WebRemoteFrameImpl.cpp
diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp
index ddd1552ed65134b927d39c4eb5d2d695ba96b064..488addc09cb051350958cebbea45c69cf2a294c6 100644
--- a/Source/web/WebRemoteFrameImpl.cpp
+++ b/Source/web/WebRemoteFrameImpl.cpp
@@ -677,10 +677,10 @@ bool WebRemoteFrameImpl::isPrintScalingDisabledForPlugin(const WebNode&)
return false;
}
-int WebRemoteFrameImpl::getPrintCopiesForPlugin(const WebNode&)
+bool WebRemoteFrameImpl::getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
{
ASSERT_NOT_REACHED();
- return 1;
+ return false;
}
bool WebRemoteFrameImpl::hasCustomPageSizeStyle(int pageIndex)

Powered by Google App Engine
This is Rietveld 408576698