зеркало из https://github.com/mozilla/gecko-dev.git
Bug 516747 part 2. Change nsIBrowserDOMWindow to allow some sort of setup where it works with frameloaders. r=bsmedberg
This commit is contained in:
Родитель
9f0a91c448
Коммит
626a16fef3
|
@ -39,8 +39,9 @@
|
||||||
|
|
||||||
interface nsIDOMWindow;
|
interface nsIDOMWindow;
|
||||||
interface nsIURI;
|
interface nsIURI;
|
||||||
|
interface nsIFrameLoaderOwner;
|
||||||
|
|
||||||
[scriptable, uuid(f9691a49-7fb3-4b54-bb11-a4f2e0b6eddb)]
|
[scriptable, uuid(3ab89888-eb41-4dc8-b347-115555f47c80)]
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The C++ source has access to the browser script source through
|
* The C++ source has access to the browser script source through
|
||||||
|
@ -104,6 +105,14 @@ interface nsIBrowserDOMWindow : nsISupports
|
||||||
nsIDOMWindow openURI(in nsIURI aURI, in nsIDOMWindow aOpener,
|
nsIDOMWindow openURI(in nsIURI aURI, in nsIDOMWindow aOpener,
|
||||||
in short aWhere, in short aContext);
|
in short aWhere, in short aContext);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* As above, but return the nsIFrameLoaderOwner for the new window.
|
||||||
|
// XXXbz is this the right API? Do we really need the opener here?
|
||||||
|
// See bug 537428
|
||||||
|
*/
|
||||||
|
nsIFrameLoaderOwner openURIInFrame(in nsIURI aURI, in nsIDOMWindow aOpener,
|
||||||
|
in short aWhere, in short aContext);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param aWindow the window to test.
|
* @param aWindow the window to test.
|
||||||
* @return whether the window is the main content window for any
|
* @return whether the window is the main content window for any
|
||||||
|
|
Загрузка…
Ссылка в новой задаче