Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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 "nsIURI.idl"
9 #include "nsIDOMNode.idl"
11 interface nsIRequest;
12 interface nsIDOMElement;
14 /**
15 * The nsIXULBrowserWindow supplies the methods that may be called from the
16 * internals of the browser area to tell the containing xul window to update
17 * its ui.
18 */
19 [scriptable, uuid(e4ee85a0-645d-11e3-949a-0800200c9a66)]
20 interface nsIXULBrowserWindow : nsISupports
21 {
22 /**
23 * Sets the status according to JS' version of status.
24 */
25 void setJSStatus(in AString status);
27 /**
28 * Tells the object implementing this function what link we are currently
29 * over.
30 */
31 void setOverLink(in AString link, in nsIDOMElement element);
33 /**
34 * Determines the appropriate target for a link.
35 */
36 AString onBeforeLinkTraversal(in AString originalTarget,
37 in nsIURI linkURI,
38 in nsIDOMNode linkNode,
39 in boolean isAppTab);
41 /**
42 * Show/hide a tooltip (when the user mouses over a link, say).
43 */
44 void showTooltip(in long x, in long y, in AString tooltip);
45 void hideTooltip();
46 };