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

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: '' 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
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..edb42309e387b467b6b72b1154e456a5d0532a4a
--- /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 includes the OS-dependent
+// UI to manage the network printers.
Lei Zhang 2011/04/27 23:46:36 Can you mention this is used for print preview? Al
kmadhusu 2011/04/28 00:08:26 Done.
+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_

Powered by Google App Engine
This is Rietveld 408576698