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:
Ryan Hunt
2019-04-09 15:59:37 -05:00
parent 47a44fbd0e
commit c6e302039f
90 changed files with 415 additions and 415 deletions

View File

@@ -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;
}