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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.h

Issue 375253002: [Chrome] Support NumCopies print preset (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PPP_Pdf changes 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: content/renderer/pepper/pepper_plugin_instance_impl.h
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.h b/content/renderer/pepper/pepper_plugin_instance_impl.h
index 2c7884e7d19ded4b7e2fed60be4f63fbb65532ec..da458f1c517c03cc0169dc221d61148d7bc4c148 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.h
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.h
@@ -248,6 +248,8 @@ class CONTENT_EXPORT PepperPluginInstanceImpl
int PrintBegin(const blink::WebPrintParams& print_params);
bool PrintPage(int page_number, blink::WebCanvas* canvas);
void PrintEnd();
+ bool GetPrintPresetOptionsFromDocument(
+ blink::WebPrintPresetOptions& preset_options);
dmichael (off chromium) 2014/09/22 18:11:51 nit: In Chromium, out-params should be by pointer.
Nikhil 2014/09/23 10:32:28 Thanks for the links :) I've updated the code. PT
bool CanRotateView();
void RotateView(blink::WebPlugin::RotationType type);

Powered by Google App Engine
This is Rietveld 408576698