OLD | NEW |
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 #ifndef PRINTING_PAGE_SETUP_H_ | 5 #ifndef PRINTING_PAGE_SETUP_H_ |
6 #define PRINTING_PAGE_SETUP_H_ | 6 #define PRINTING_PAGE_SETUP_H_ |
7 | 7 |
8 #include "gfx/rect.h" | 8 #include "ui/gfx/rect.h" |
9 | 9 |
10 namespace printing { | 10 namespace printing { |
11 | 11 |
12 // Margins for a page setup. | 12 // Margins for a page setup. |
13 class PageMargins { | 13 class PageMargins { |
14 public: | 14 public: |
15 PageMargins(); | 15 PageMargins(); |
16 | 16 |
17 void Clear(); | 17 void Clear(); |
18 | 18 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Requested margins. | 75 // Requested margins. |
76 PageMargins requested_margins_; | 76 PageMargins requested_margins_; |
77 | 77 |
78 // Space that must be kept free for the overlays. | 78 // Space that must be kept free for the overlays. |
79 int text_height_; | 79 int text_height_; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace printing | 82 } // namespace printing |
83 | 83 |
84 #endif // PRINTING_PAGE_SETUP_H_ | 84 #endif // PRINTING_PAGE_SETUP_H_ |
OLD | NEW |