зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1419144 - Part 19: Move IsRootOuterWindow to nsPIDOMWindowOuter, r=smaug
MozReview-Commit-ID: Cgh1Cbb60Zk
This commit is contained in:
Родитель
b1a42230f1
Коммит
98a780f55d
|
@ -152,12 +152,6 @@ public:
|
|||
virtual nsPIDOMWindowOuter* GetScriptableParent() = 0;
|
||||
virtual already_AddRefed<nsPIWindowRoot> GetTopWindowRoot() = 0;
|
||||
|
||||
bool IsRootOuterWindow()
|
||||
{
|
||||
MOZ_ASSERT(IsOuterWindow());
|
||||
return mIsRootOuterWindow;
|
||||
}
|
||||
|
||||
/**
|
||||
* Behavies identically to GetScriptableParent extept that it returns null
|
||||
* if GetScriptableParent would return this window.
|
||||
|
@ -993,6 +987,12 @@ public:
|
|||
return GetCurrentInnerWindow();
|
||||
}
|
||||
|
||||
bool IsRootOuterWindow()
|
||||
{
|
||||
MOZ_ASSERT(IsOuterWindow());
|
||||
return mIsRootOuterWindow;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set initial keyboard indicator state for accelerators and focus rings.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче