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

Unified Diff: printing/printing_context.h

Issue 6533006: Print Preview: Hook up the print button to initiate printing without displaying a print dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 10 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 6d51f0209c3de41c931378c37ec49f1d61118603..36b9ee396d6cb982856653139a055e42a9badbb1 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -50,6 +50,10 @@ class PrintingContext {
// Initializes with predefined settings.
virtual Result InitWithSettings(const PrintSettings& settings) = 0;
+ // Update print settings. As of now we are updating the page range settings.
+ // In future, update other print job settings.
Lei Zhang 2011/03/03 00:22:44 nit: in the future.
kmadhusu 2011/03/04 19:39:02 Done.
+ virtual Result UpdatePrintSettings(const PageRanges& ranges) = 0;
+
// Does platform specific setup of the printer before the printing. Signal the
// printer that a document is about to be spooled.
// Warning: This function enters a message loop. That may cause side effects

Powered by Google App Engine
This is Rietveld 408576698