| 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_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 "printing/printing_export.h" | 8 #include "printing/printing_export.h" |
| 9 #include "ui/gfx/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
| 10 | 10 |
| 11 namespace printing { | 11 namespace printing { |
| 12 | 12 |
| 13 // Margins for a page setup. | 13 // Margins for a page setup. |
| 14 class PRINTING_EXPORT PageMargins { | 14 class PRINTING_EXPORT PageMargins { |
| 15 public: | 15 public: |
| 16 PageMargins(); | 16 PageMargins(); |
| 17 | 17 |
| 18 void Clear(); | 18 void Clear(); |
| 19 | 19 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // True when |effective_margins_| respects |printable_area_| else false. | 94 // True when |effective_margins_| respects |printable_area_| else false. |
| 95 bool forced_margins_; | 95 bool forced_margins_; |
| 96 | 96 |
| 97 // Space that must be kept free for the overlays. | 97 // Space that must be kept free for the overlays. |
| 98 int text_height_; | 98 int text_height_; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 } // namespace printing | 101 } // namespace printing |
| 102 | 102 |
| 103 #endif // PRINTING_PAGE_SETUP_H_ | 103 #endif // PRINTING_PAGE_SETUP_H_ |
| OLD | NEW |