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

Side by Side Diff: printing/printed_page.cc

Issue 2859040: Implement limited paged media support for win. (Closed)
Patch Set: the comment fix Created 10 years, 5 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 unified diff | Download patch
« no previous file with comments | « printing/printed_page.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "printing/printed_page.h" 5 #include "printing/printed_page.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 PrintedPage::PrintedPage(int page_number, 9 PrintedPage::PrintedPage(int page_number,
10 NativeMetafile* native_metafile, 10 NativeMetafile* native_metafile,
11 const gfx::Size& page_size, 11 const gfx::Size& page_size,
12 const gfx::Rect& page_content_rect) 12 const gfx::Rect& page_content_rect,
13 bool has_visible_overlays)
13 : page_number_(page_number), 14 : page_number_(page_number),
14 native_metafile_(native_metafile), 15 native_metafile_(native_metafile),
15 page_size_(page_size), 16 page_size_(page_size),
16 page_content_rect_(page_content_rect) { 17 page_content_rect_(page_content_rect),
18 has_visible_overlays_(has_visible_overlays) {
17 } 19 }
18 20
19 PrintedPage::~PrintedPage() { 21 PrintedPage::~PrintedPage() {
20 } 22 }
21 23
22 const NativeMetafile* PrintedPage::native_metafile() const { 24 const NativeMetafile* PrintedPage::native_metafile() const {
23 return native_metafile_.get(); 25 return native_metafile_.get();
24 } 26 }
25 27
26 } // namespace printing 28 } // namespace printing
OLDNEW
« no previous file with comments | « printing/printed_page.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698