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

Unified Diff: printing/page_size_margins.h

Issue 8351048: Print Preview: Making margin selection sticky (part 2/2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanups 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
Index: printing/page_size_margins.h
diff --git a/printing/page_size_margins.h b/printing/page_size_margins.h
index 4f74c297f52b578e9a5cc7be2374eece777c3be5..f3f4e50f83893c44f9d06f39544b4485881086d5 100644
--- a/printing/page_size_margins.h
+++ b/printing/page_size_margins.h
@@ -5,6 +5,10 @@
#ifndef PRINTING_PAGE_SIZE_MARGINS_H_
#define PRINTING_PAGE_SIZE_MARGINS_H_
+namespace base {
+class DictionaryValue;
+}
+
namespace printing {
// Struct that holds margin and content area sizes of a page. Units are
@@ -18,7 +22,9 @@ struct PageSizeMargins {
double margin_left;
};
+void extractPageSizeMargins(const base::DictionaryValue& settings,
vandebo (ex-Chrome) 2011/11/02 22:36:54 getCustomMarginsFromJobSettings?
dpapad 2011/11/03 00:15:27 Done.
+ PageSizeMargins* page_size_margins);
+
} // namespace printing
#endif // PRINTING_PAGE_SIZE_MARGINS_H_
-

Powered by Google App Engine
This is Rietveld 408576698