OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef PRINTING_PRINTED_PAGE_H_ | 5 #ifndef PRINTING_PRINTED_PAGE_H_ |
6 #define PRINTING_PRINTED_PAGE_H_ | 6 #define PRINTING_PRINTED_PAGE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "printing/metafile.h" | 11 #include "printing/metafile.h" |
11 #include "ui/gfx/geometry/rect.h" | 12 #include "ui/gfx/geometry/rect.h" |
12 #include "ui/gfx/geometry/size.h" | 13 #include "ui/gfx/geometry/size.h" |
13 | 14 |
14 namespace printing { | 15 namespace printing { |
15 | 16 |
16 // Contains the data to reproduce a printed page, either on screen or on | 17 // Contains the data to reproduce a printed page, either on screen or on |
17 // paper. Once created, this object is immutable. It has no reference to the | 18 // paper. Once created, this object is immutable. It has no reference to the |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 67 |
67 // The printable area of the page. | 68 // The printable area of the page. |
68 const gfx::Rect page_content_rect_; | 69 const gfx::Rect page_content_rect_; |
69 | 70 |
70 DISALLOW_COPY_AND_ASSIGN(PrintedPage); | 71 DISALLOW_COPY_AND_ASSIGN(PrintedPage); |
71 }; | 72 }; |
72 | 73 |
73 } // namespace printing | 74 } // namespace printing |
74 | 75 |
75 #endif // PRINTING_PRINTED_PAGE_H_ | 76 #endif // PRINTING_PRINTED_PAGE_H_ |
OLD | NEW |