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

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

Issue 492623004: Put PrintingUIWebContentsObserver and PrintingMessageFilter into printing namespace. (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.h ('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 7a16d2eced781c76469b71aa9390ca6eb8058e11..d7614ff12983894abaaede71512a0c094d057fe1 100644
--- a/chrome/browser/printing/printing_message_filter.h
+++ b/chrome/browser/printing/printing_message_filter.h
@@ -28,10 +28,11 @@ class WebContents;
}
namespace printing {
-class PrinterQuery;
+
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.
@@ -85,33 +86,29 @@ class PrintingMessageFilter : public content::BrowserMessageFilter {
// 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<printing::PrinterQuery> printer_query);
+ 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<printing::PrinterQuery> printer_query);
+ void OnGetPrintSettingsFailed(const base::Closure& callback,
+ scoped_refptr<PrinterQuery> printer_query);
// Checks if printing is enabled.
void OnIsPrintingEnabled(bool* is_enabled);
// Get the default print setting.
void OnGetDefaultPrintSettings(IPC::Message* reply_msg);
- void OnGetDefaultPrintSettingsReply(
- scoped_refptr<printing::PrinterQuery> printer_query,
- IPC::Message* reply_msg);
+ void OnGetDefaultPrintSettingsReply(scoped_refptr<PrinterQuery> printer_query,
+ IPC::Message* reply_msg);
// The renderer host have to show to the user the print dialog and returns
// the selected print settings. The task is handled by the print worker
// thread and the UI thread. The reply occurs on the IO thread.
void OnScriptedPrint(const PrintHostMsg_ScriptedPrint_Params& params,
IPC::Message* reply_msg);
- void OnScriptedPrintReply(
- scoped_refptr<printing::PrinterQuery> printer_query,
- IPC::Message* reply_msg);
+ void OnScriptedPrintReply(scoped_refptr<PrinterQuery> printer_query,
+ IPC::Message* reply_msg);
// Modify the current print settings based on |job_settings|. The task is
// handled by the print worker thread and the UI thread. The reply occurs on
@@ -119,9 +116,8 @@ class PrintingMessageFilter : public content::BrowserMessageFilter {
void OnUpdatePrintSettings(int document_cookie,
const base::DictionaryValue& job_settings,
IPC::Message* reply_msg);
- void OnUpdatePrintSettingsReply(
- scoped_refptr<printing::PrinterQuery> printer_query,
- IPC::Message* reply_msg);
+ void OnUpdatePrintSettingsReply(scoped_refptr<PrinterQuery> printer_query,
+ IPC::Message* reply_msg);
#if defined(ENABLE_FULL_PRINTING)
// Check to see if print preview has been cancelled.
@@ -134,9 +130,11 @@ class PrintingMessageFilter : public content::BrowserMessageFilter {
const int render_process_id_;
- scoped_refptr<printing::PrintQueriesQueue> queue_;
+ scoped_refptr<PrintQueriesQueue> queue_;
DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter);
};
+} // namespace printing
+
#endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_
« no previous file with comments | « chrome/browser/printing/printer_query.h ('k') | chrome/browser/printing/printing_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698