Bumping manifests a=b2g-bump
[gecko.git] / widget / cocoa / nsPIWidgetCocoa.idl
blob8e1f9e08cb88acb94a29b727e6a829d0c04662b4
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsISupports.idl"
8 interface nsMenuBarX;
9 interface nsCocoaWindow;
10 interface nsIWidget;
12 [ptr] native NSWindowPtr(NSWindow);
15 // nsPIWidgetCocoa
17 // A private interface (unfrozen, private to the widget implementation) that
18 // gives us access to some extra features on a widget/window.
20 [uuid(f75ff69e-3a51-419e-bd29-042f804bc2ed)]
21 interface nsPIWidgetCocoa : nsISupports
23 void SendSetZLevelEvent();
25 // Find the displayed child sheet (if aShown) or a child sheet that
26 // wants to be displayed (if !aShown)
27 nsCocoaWindow GetChildSheet(in boolean aShown);
29 // Get the parent widget (if any) StandardCreate() was called with.
30 nsIWidget GetRealParent();
32 // If the object implementing this interface is a sheet, this will return the
33 // native NSWindow it is attached to
34 readonly attribute NSWindowPtr sheetWindowParent;
36 // True if window is a sheet
37 readonly attribute boolean isSheet;
39 }; // nsPIWidgetCocoa