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

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 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..b6913724a90bb233583b49750a5a34074ca84790 100644
--- a/printing/page_size_margins.h
+++ b/printing/page_size_margins.h
@@ -5,6 +5,12 @@
#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
@@ -18,7 +24,9 @@ struct PageSizeMargins {
double margin_left;
};
+PRINTING_EXPORT void GetCustomMarginsFromJobSettings(
+ const base::DictionaryValue& settings, 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