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

Unified Diff: chrome/browser/printing/printing_message_filter.h

Issue 504763002: Revert of Added PrintingContext::Delegate to get parent view handle and application locale. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printing_message_filter.h
diff --git a/chrome/browser/printing/printing_message_filter.h b/chrome/browser/printing/printing_message_filter.h
index 551fb7d7c3ebfdbedd728610ed30e4ed87204b11..d7614ff12983894abaaede71512a0c094d057fe1 100644
--- a/chrome/browser/printing/printing_message_filter.h
+++ b/chrome/browser/printing/printing_message_filter.h
@@ -32,6 +32,7 @@
class PrintJobManager;
class PrintQueriesQueue;
class PrinterQuery;
+class PrintingUIWebContentsObserver;
// This class filters out incoming printing related IPC messages for the
// renderer process on the IPC thread.
@@ -83,6 +84,16 @@
// to base::Bind.
struct GetPrintSettingsForRenderViewParams;
+ // Retrieve print settings. Uses |render_view_id| to get a parent
+ // for any UI created if needed.
+ void GetPrintSettingsForRenderView(int render_view_id,
+ GetPrintSettingsForRenderViewParams params,
+ const base::Closure& callback,
+ scoped_refptr<PrinterQuery> printer_query);
+
+ void OnGetPrintSettingsFailed(const base::Closure& callback,
+ scoped_refptr<PrinterQuery> printer_query);
+
// Checks if printing is enabled.
void OnIsPrintingEnabled(bool* is_enabled);
« no previous file with comments | « chrome/browser/printing/printer_query.cc ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698