diff options
Diffstat (limited to 'printing/printed_page.h')
-rw-r--r-- | printing/printed_page.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/printing/printed_page.h b/printing/printed_page.h index 83425ba..17181c6 100644 --- a/printing/printed_page.h +++ b/printing/printed_page.h @@ -24,13 +24,15 @@ class PrintedPage : public base::RefCountedThreadSafe<PrintedPage> { PrintedPage(int page_number, NativeMetafile* native_metafile, const gfx::Size& page_size, - const gfx::Rect& page_content_rect); + const gfx::Rect& page_content_rect, + bool has_visible_overlays); // Getters int page_number() const { return page_number_; } const NativeMetafile* native_metafile() const; const gfx::Size& page_size() const { return page_size_; } const gfx::Rect& page_content_rect() const { return page_content_rect_; } + bool has_visible_overlays() const { return has_visible_overlays_; } private: friend class base::RefCountedThreadSafe<PrintedPage>; @@ -50,6 +52,9 @@ class PrintedPage : public base::RefCountedThreadSafe<PrintedPage> { // The printable area of the page. const gfx::Rect page_content_rect_; + // True if the overlays should be visible in this page. + bool has_visible_overlays_; + DISALLOW_COPY_AND_ASSIGN(PrintedPage); }; |