Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com

This commit is contained in:
vidur%netscape.com 2007-07-24 18:34:52 +00:00
Родитель d41465dda4
Коммит 0a7c92f57c
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -40,7 +40,7 @@ interface nsIUrlWidget : nsISupports {
| Set the currently displayed url to a hidden edit control. | | Set the currently displayed url to a hidden edit control. |
| Created the edit control, if not already created. | | Created the edit control, if not already created. |
--------------------------------------------------------------*/ --------------------------------------------------------------*/
void SetURLToHiddenControl( in string aURL, in nsIDOMWindow parent ); void SetURLToHiddenControl( in string aURL, in nsIDOMWindowInternal parent );
}; };
//Used in navigator.js to instantiate and call this class. //Used in navigator.js to instantiate and call this class.

Просмотреть файл

@ -29,7 +29,7 @@
#include "nsIGenericFactory.h" #include "nsIGenericFactory.h"
#include "nsIScriptContext.h" #include "nsIScriptContext.h"
#include "nsIScriptGlobalObject.h" #include "nsIScriptGlobalObject.h"
#include "nsIDOMWindow.h" #include "nsIDOMWindowInternal.h"
#include "nsIBaseWindow.h" #include "nsIBaseWindow.h"
#include "nsIWidget.h" #include "nsIWidget.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
@ -65,7 +65,7 @@ nsUrlWidget::Init()
} }
NS_IMETHODIMP NS_IMETHODIMP
nsUrlWidget::SetURLToHiddenControl( char const *aURL, nsIDOMWindow *parent ) nsUrlWidget::SetURLToHiddenControl( char const *aURL, nsIDOMWindowInternal *parent )
{ {
nsresult rv = NS_OK; nsresult rv = NS_OK;
HWND hEdit=NULL; // Handle to the hidden editbox control. HWND hEdit=NULL; // Handle to the hidden editbox control.