Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / printing / printer_manager_dialog_mac.mm
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