no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / widget / nsIWindowsUIUtils.idl
blob6c84e90afd165af318a40755e52339bd3e37fcfd
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 interface mozIDOMWindowProxy;
10 interface imgIContainer;
12 [scriptable, builtinclass, uuid(aa8a0ecf-96a1-418c-b80e-f24ae18bbedc)]
13 interface nsIWindowsUIUtils : nsISupports
15 readonly attribute long systemSmallIconSize;
16 readonly attribute long systemLargeIconSize;
18 void setWindowIcon(in mozIDOMWindowProxy aWindow, in imgIContainer aSmallIcon, in imgIContainer aLargeIcon);
20 void setWindowIconFromExe(in mozIDOMWindowProxy aWindow, in AString aExe, in unsigned short aIndex);
22 void setWindowIconNoData(in mozIDOMWindowProxy aWindow);
24 /**
25 * Whether the OS is currently in tablet mode. Always false on
26 * non-Windows and on versions of Windows before win10
28 readonly attribute boolean inTabletMode;
30 /**
31 * Share URL
33 void shareUrl(in AString shareTitle, in AString urlToShare);