Bug 1700051: part 34) Reduce accessibility of `mSoftText.mValue` to `private`. r...
[gecko.git] / widget / nsIScreenManager.idl
blob2864b960fb0d289335a2c09460ed52061a832c4d
1 /* -*- Mode: IDL; 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"
8 #include "nsIScreen.idl"
10 [scriptable, uuid(e8a96e60-6b61-4a14-bacc-53891604b502)]
11 interface nsIScreenManager : nsISupports
14 // Returns the screen that contains the rectangle. If the rect overlaps
15 // multiple screens, it picks the screen with the greatest area of intersection.
17 // The coordinates are in pixels (not twips) and in screen coordinates.
19 nsIScreen screenForRect ( in long left, in long top, in long width, in long height ) ;
21 // The screen with the menubar/taskbar. This shouldn't be needed very
22 // often.
23 readonly attribute nsIScreen primaryScreen;
25 // The total number of pixels across all monitors.
26 readonly attribute int64_t totalScreenPixels;