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

Side by Side Diff: chrome/browser/printing/printer_manager_dialog_mac.mm

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/printing/printer_manager_dialog.h"
6
7 #import <AppKit/AppKit.h>
8
9 namespace printing {
10
11 static NSString* kPrintAndFaxPrefPane =
12 @"/System/Library/PreferencePanes/PrintAndFax.prefPane";
13
14 void PrinterManagerDialog::ShowPrinterManagerDialog() {
15 [[NSWorkspace sharedWorkspace] openFile:kPrintAndFaxPrefPane];
16 }
17
18 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/browser/printing/printer_manager_dialog_linux.cc ('k') | chrome/browser/printing/printer_manager_dialog_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698