Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / printing / printer_manager_dialog_mac.mm
blob44bfc690f2bfa40cd78cc2d6c9f8313cc9e8c0f3
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.
5 #include "chrome/browser/printing/printer_manager_dialog.h"
7 #import <AppKit/AppKit.h>
9 namespace printing {
11 static NSString* kPrintAndFaxPrefPane =
12     @"/System/Library/PreferencePanes/PrintAndFax.prefPane";
14 void PrinterManagerDialog::ShowPrinterManagerDialog() {
15   [[NSWorkspace sharedWorkspace] openFile:kPrintAndFaxPrefPane];
18 }  // namespace printing