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
);
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
;
27 * Update the tablet mode state
29 void updateTabletModeState
();
34 void shareUrl
(in AString shareTitle
, in AString urlToShare
);