1 /* -*- Mode: IDL; tab-width: 4; 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"
12 interface nsIInputStream
;
13 interface nsIDocShell
;
14 interface nsIRemoteTab
;
15 interface nsIPrincipal
;
16 interface mozIDOMWindowProxy
;
17 interface nsIContentSecurityPolicy
;
18 interface nsIReferrerInfo
;
24 * The nsIXULBrowserWindow supplies the methods that may be called from the
25 * internals of the browser area to tell the containing xul window to update
28 [scriptable
, uuid(a8675fa9
-c8b4
-4350-9803-c38f344a9e38
)]
29 interface nsIXULBrowserWindow
: nsISupports
32 * Tells the object implementing this function what link we are currently
35 void setOverLink
(in AString link
);
38 * Determines the appropriate target for a link.
40 AString onBeforeLinkTraversal
(in AString originalTarget
,
46 * Show/hide a tooltip (when the user mouses over a link, say).
48 * x and y coordinates are in device pixels.
50 void showTooltip
(in long x
, in long y
, in AString tooltip
, in AString direction
,
55 * Return the number of tabs in this window.
57 uint32_t getTabCount
();