Bug 1668525 [wpt PR 25928] - Test the "translate" property in SVG., a=testonly
[gecko.git] / widget / nsIWindowsUIUtils.idl
blobe8861f8db62e9010788bc459e341cd2fdfd6e035
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, 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 /**
21 * Whether the OS is currently in tablet mode. Always false on
22 * non-Windows and on versions of Windows before win10
24 readonly attribute boolean inTabletMode;
26 /**
27 * Update the tablet mode state
29 void updateTabletModeState();
31 /**
32 * Share URL
34 void shareUrl(in AString shareTitle, in AString urlToShare);