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

Unified Diff: printing/printing_context.h

Issue 8201027: Move margin processing code to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix issue that turned up on Windows Created 9 years, 2 months 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/printing_context.h
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 46e9f57b0ffefe58c058c644bcd3a240df684a94..ce359f3dd34846ac704c878cab9b3cf4d33f8911 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/callback_old.h"
+#include "base/logging.h"
Lei Zhang 2011/10/15 03:42:19 nit: not needed?
vandebo (ex-Chrome) 2011/10/15 20:52:08 Oops, this should be in the .cc
#include "base/string16.h"
#include "printing/print_settings.h"
#include "ui/gfx/native_widget_types.h"
@@ -98,9 +99,7 @@ class PRINTING_EXPORT PrintingContext {
// caller owns the returned object.
static PrintingContext* Create(const std::string& app_locale);
- void set_use_overlays(bool use_overlays) {
- settings_.use_overlays = use_overlays;
- }
+ void set_margin_type(MarginType type);
const PrintSettings& settings() const {
return settings_;

Powered by Google App Engine
This is Rietveld 408576698