Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol. Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission. Differential Revision: https://phabricator.services.mozilla.com/D28132
This commit is contained in:
@@ -13172,12 +13172,12 @@ bool nsDocShell::IsInvisible() { return mInvisible; }
|
||||
|
||||
void nsDocShell::SetInvisible(bool aInvisible) { mInvisible = aInvisible; }
|
||||
|
||||
void nsDocShell::SetOpener(nsITabParent* aOpener) {
|
||||
void nsDocShell::SetOpener(nsIRemoteTab* aOpener) {
|
||||
mOpener = do_GetWeakReference(aOpener);
|
||||
}
|
||||
|
||||
nsITabParent* nsDocShell::GetOpener() {
|
||||
nsCOMPtr<nsITabParent> opener(do_QueryReferent(mOpener));
|
||||
nsIRemoteTab* nsDocShell::GetOpener() {
|
||||
nsCOMPtr<nsIRemoteTab> opener(do_QueryReferent(mOpener));
|
||||
return opener;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user