Chromium Code Reviews| Index: printing/page_size_margins.h |
| diff --git a/printing/page_size_margins.h b/printing/page_size_margins.h |
| index 4f74c297f52b578e9a5cc7be2374eece777c3be5..fb6417fc154c735f2ba48fc553269a82f6f37cc9 100644 |
| --- a/printing/page_size_margins.h |
| +++ b/printing/page_size_margins.h |
| @@ -5,11 +5,17 @@ |
| #ifndef PRINTING_PAGE_SIZE_MARGINS_H_ |
| #define PRINTING_PAGE_SIZE_MARGINS_H_ |
| +#include "printing/printing_export.h" |
| + |
| +namespace base { |
| +class DictionaryValue; |
| +} |
| + |
| namespace printing { |
| // Struct that holds margin and content area sizes of a page. Units are |
| // arbitrary and can be chosen by the programmer. |
| -struct PageSizeMargins { |
| +struct PRINTING_EXPORT PageSizeMargins { |
| double content_width; |
| double content_height; |
| double margin_top; |
| @@ -18,7 +24,9 @@ struct PageSizeMargins { |
| double margin_left; |
| }; |
| +void GetCustomMarginsFromJobSettings(const base::DictionaryValue& settings, |
|
Lei Zhang
2011/11/15 04:49:31
I think it's GetCustomMarginsFromJobSettings that
|
| + PageSizeMargins* page_size_margins); |
| + |
| } // namespace printing |
| #endif // PRINTING_PAGE_SIZE_MARGINS_H_ |
| - |