Bug 1470510 - Rename nsXULWindow and nsIXULWindow to AppWindow and nsIAppWindow. r=smaug
nsXULWindow is no longer XUL specific and is somewhat confusing name. Differential Revision: https://phabricator.services.mozilla.com/D51486
This commit is contained in:
@@ -360,7 +360,7 @@ nsDocShellTreeOwner::SizeShellTo(nsIDocShellTreeItem* aShellItem, int32_t aCX,
|
||||
if (browserChild) {
|
||||
// The XUL window to resize is in the parent process, but there we
|
||||
// won't be able to get aShellItem to do the hack in
|
||||
// nsXULWindow::SizeShellTo, so let's send the width and height of
|
||||
// AppWindow::SizeShellTo, so let's send the width and height of
|
||||
// aShellItem too.
|
||||
nsCOMPtr<nsIBaseWindow> shellAsWin(do_QueryInterface(aShellItem));
|
||||
NS_ENSURE_TRUE(shellAsWin, NS_ERROR_FAILURE);
|
||||
@@ -588,7 +588,7 @@ nsDocShellTreeOwner::SetParentNativeWindow(nativeWindow aParentNativeWindow) {
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDocShellTreeOwner::GetNativeHandle(nsAString& aNativeHandle) {
|
||||
// the nativeHandle should be accessed from nsIXULWindow
|
||||
// the nativeHandle should be accessed from nsIAppWindow
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user