Bug 1472338: part 1) Add Chrome tests for the async Clipboard API. r=NeilDeakin
[gecko.git] / widget / nsIWindowsUIUtils.idl
blobb719589d6d9c7107e8d5bdd1a9600923b8373629
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 void setWindowIconNoData(in mozIDOMWindowProxy aWindow);
22 /**
23 * Whether the OS is currently in tablet mode. Always false on
24 * non-Windows and on versions of Windows before win10
26 readonly attribute boolean inTabletMode;
28 /**
29 * Update the tablet mode state
31 void updateTabletModeState();
33 /**
34 * Share URL
36 void shareUrl(in AString shareTitle, in AString urlToShare);