diff options
Diffstat (limited to 'chromium/components/printing/renderer/print_render_frame_helper.h')
-rw-r--r-- | chromium/components/printing/renderer/print_render_frame_helper.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/components/printing/renderer/print_render_frame_helper.h b/chromium/components/printing/renderer/print_render_frame_helper.h index 6e2d7e1467b..ce56acfd323 100644 --- a/chromium/components/printing/renderer/print_render_frame_helper.h +++ b/chromium/components/printing/renderer/print_render_frame_helper.h @@ -433,6 +433,7 @@ class PrintRenderFrameHelper // Helper functions int GetNextPageNumber(); bool IsRendering() const; + bool IsPlugin() const; bool IsModifiable() const; bool HasSelection(); bool IsLastPageOfPrintReadyMetafile() const; @@ -469,7 +470,7 @@ class PrintRenderFrameHelper // Reset some of the internal rendering context. void ClearContext(); - void CalculateIsModifiable(); + void CalculatePluginAttributes(); // Specifies what to render for print preview. FrameReference source_frame_; @@ -487,6 +488,9 @@ class PrintRenderFrameHelper // List of page indices that need to be rendered. std::vector<int> pages_to_render_; + // True, if the document source is a plugin. + bool is_plugin_ = false; + // True, if the document source is modifiable. e.g. HTML and not PDF. bool is_modifiable_; |