Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: printing/page_size_margins.h

Issue 8528053: Print Preview: Making margin selection sticky (part 2/2, again) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation error. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/webui/print_preview.js ('k') | printing/page_size_margins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
-
« no previous file with comments | « chrome/test/data/webui/print_preview.js ('k') | printing/page_size_margins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698