Index: content/renderer/pepper/pepper_webplugin_impl.cc |
diff --git a/content/renderer/pepper/pepper_webplugin_impl.cc b/content/renderer/pepper/pepper_webplugin_impl.cc |
index ecdd9e5b857fda17a698f17809a0b2e414ab5f3b..97e08793cd400f0e97f864c22dc4d8b14bd611df 100644 |
--- a/content/renderer/pepper/pepper_webplugin_impl.cc |
+++ b/content/renderer/pepper/pepper_webplugin_impl.cc |
@@ -28,6 +28,7 @@ |
#include "third_party/WebKit/public/web/WebPluginContainer.h" |
#include "third_party/WebKit/public/web/WebPluginParams.h" |
#include "third_party/WebKit/public/web/WebPrintParams.h" |
+#include "third_party/WebKit/public/web/WebPrintPresetOptions.h" |
#include "third_party/WebKit/public/web/WebPrintScalingOption.h" |
#include "url/gurl.h" |
@@ -270,6 +271,11 @@ bool PepperWebPluginImpl::printPage(int page_number, blink::WebCanvas* canvas) { |
void PepperWebPluginImpl::printEnd() { return instance_->PrintEnd(); } |
+bool PepperWebPluginImpl::getPrintPresetOptionsFromDocument( |
+ blink::WebPrintPresetOptions* preset_options) { |
+ return instance_->GetPrintPresetOptionsFromDocument(preset_options); |
+} |
+ |
bool PepperWebPluginImpl::canRotateView() { return instance_->CanRotateView(); } |
void PepperWebPluginImpl::rotateView(RotationType type) { |