summaryrefslogtreecommitdiffstats
path: root/printing/printed_page.h
diff options
context:
space:
mode:
authorhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 05:32:38 +0000
committerhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-02 05:32:38 +0000
commit3c5fb6bed1e6c9ce80276653f4b053583c299d5b (patch)
tree3fff8754dc395584e8d9eab4ec56f0e6f78cc246 /printing/printed_page.h
parent638c48f806e23adf510ea2006f66f84f4d43c5de (diff)
downloadchromium_src-3c5fb6bed1e6c9ce80276653f4b053583c299d5b.zip
chromium_src-3c5fb6bed1e6c9ce80276653f4b053583c299d5b.tar.gz
chromium_src-3c5fb6bed1e6c9ce80276653f4b053583c299d5b.tar.bz2
Implement limited paged media support for win.
BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2859040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printed_page.h')
-rw-r--r--printing/printed_page.h7
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);
};