Chromium Code Reviews| Index: printing/page_setup.h |
| diff --git a/printing/page_setup.h b/printing/page_setup.h |
| index 91734753acaacda210fd2ee5a248a0ad6b4d3f4b..d4753dad5a783c57406d877760c377dd2b293c1e 100644 |
| --- a/printing/page_setup.h |
| +++ b/printing/page_setup.h |
| @@ -15,6 +15,10 @@ class PRINTING_EXPORT PageMargins { |
| public: |
| PageMargins(); |
| + // Set |rotate_margins| to true to rotate the margins anti-clockwise or |
| + // set |rotate_margins| to false to use the specified margins. |
| + PageMargins(const PageMargins& page_margins, bool rotate_margins); |
|
vandebo (ex-Chrome)
2011/11/02 20:26:03
How about a rotate method instead of a modified co
kmadhusu
2011/11/02 23:15:03
Done.
|
| + |
| void Clear(); |
| // Equality operator. |
| @@ -87,6 +91,9 @@ class PRINTING_EXPORT PageSetup { |
| // Requested margins. |
| PageMargins requested_margins_; |
| + // Store whether the |requested_margins_| were set forcefully. |
|
vandebo (ex-Chrome)
2011/11/02 20:26:03
nit: were set forcefully -> respect printable_area
kmadhusu
2011/11/02 23:15:03
Done.
|
| + bool has_forced_margins_value; |
|
vandebo (ex-Chrome)
2011/11/02 20:26:03
nit: forced_margins_;
kmadhusu
2011/11/02 23:15:03
Done.
|
| + |
| // Space that must be kept free for the overlays. |
| int text_height_; |
| }; |