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

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

Issue 6903083: PrintPreview:[MAC & WIN] Added code to show the native printer management dialog. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed review comments Created 9 years, 8 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/app/generated_resources.grd ('k') | chrome/browser/printing/printer_manager_dialog_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printer_manager_dialog.h
diff --git a/chrome/browser/printing/printer_manager_dialog.h b/chrome/browser/printing/printer_manager_dialog.h
new file mode 100644
index 0000000000000000000000000000000000000000..2f94e96af71bf413824a42bce3e547b77eedf2cd
--- /dev/null
+++ b/chrome/browser/printing/printer_manager_dialog.h
@@ -0,0 +1,25 @@
+// 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.
+
+#ifndef CHROME_BROWSER_PRINTING_PRINTER_MANAGER_DIALOG_H_
+#define CHROME_BROWSER_PRINTING_PRINTER_MANAGER_DIALOG_H_
+
+#include "base/basictypes.h"
+
+namespace printing {
+
+// An abstraction of a printer manager dialog. This is used for print preview.
+// This includes the OS-dependent UI to manage the network and local printers.
+class PrinterManagerDialog {
+ public:
+ // Displays the native printer manager dialog.
+ static void ShowPrinterManagerDialog();
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(PrinterManagerDialog);
+};
+
+} // namespace printing
+
+#endif // CHROME_BROWSER_PRINTING_PRINTER_MANAGER_DIALOG_H_
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/printing/printer_manager_dialog_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698