Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / widget / nsIMacSharingService.idl
blobcec0dae2d7bc8b4c4018bf2727ac4c7ace23d9b8
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
7 /**
8 * Allow applications to interface with the Mac OS X Sharing APIs.
9 */
11 [scriptable, uuid(de59fe1a-46c8-490f-b04d-34545acb06c9)]
12 interface nsIMacSharingService : nsISupports
14 /**
15 * Get list of sharing providers
17 [implicit_jscontext] jsval getSharingProviders(in AString pageUrl);
19 /**
20 * Launch service with shareTitle with given url
22 void shareUrl(in AString serviceName,
23 in AString pageUrl,
24 in AString pageTitle);
26 /**
27 * Open the MacOS preferences window to the sharing panel
29 void openSharingPreferences();