зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504446 - Remove two unused members of nsITabParent r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10812 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
67391f6115
Коммит
1d077063ca
|
@ -55,14 +55,6 @@ interface nsITabParent : nsISupports
|
|||
*/
|
||||
void preserveLayers(in boolean aPreserveLayers);
|
||||
|
||||
/**
|
||||
* During interactions where painting performance
|
||||
* is more important than scrolling, we may temporarily
|
||||
* suppress the displayport. Each enable called must be matched
|
||||
* with a disable call.
|
||||
*/
|
||||
void suppressDisplayport(in bool aEnabled);
|
||||
|
||||
readonly attribute uint64_t tabId;
|
||||
|
||||
/**
|
||||
|
@ -70,15 +62,6 @@ interface nsITabParent : nsISupports
|
|||
*/
|
||||
readonly attribute int32_t osPid;
|
||||
|
||||
/**
|
||||
* Navigate by key. If aForDocumentNavigation is true, navigate by document.
|
||||
* If aForDocumentNavigation is false, navigate by element.
|
||||
*
|
||||
* If aForward is true, navigate to the first focusable element or document.
|
||||
* If aForward is false, navigate to the last focusable element or document.
|
||||
*/
|
||||
void navigateByKey(in bool aForward, in bool aForDocumentNavigation);
|
||||
|
||||
readonly attribute boolean hasContentOpener;
|
||||
/**
|
||||
* True if we've previously received layers for this tab when switching to
|
||||
|
|
|
@ -3017,11 +3017,11 @@ TabParent::GetContentBlockingLog(Promise** aPromise)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
void
|
||||
TabParent::SuppressDisplayport(bool aEnabled)
|
||||
{
|
||||
if (IsDestroyed()) {
|
||||
return NS_OK;
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
|
@ -3034,7 +3034,6 @@ TabParent::SuppressDisplayport(bool aEnabled)
|
|||
#endif
|
||||
|
||||
Unused << SendSuppressDisplayport(aEnabled);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
@ -3071,11 +3070,10 @@ TabParent::GetHasPresented(bool* aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
void
|
||||
TabParent::NavigateByKey(bool aForward, bool aForDocumentNavigation)
|
||||
{
|
||||
Unused << SendNavigateByKey(aForward, aForDocumentNavigation);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
|
@ -599,6 +599,8 @@ public:
|
|||
return gNumActiveRecordReplayTabs != 0;
|
||||
}
|
||||
|
||||
void NavigateByKey(bool aForward, bool aForDocumentNavigation);
|
||||
|
||||
protected:
|
||||
bool ReceiveMessage(const nsString& aMessage,
|
||||
bool aSync,
|
||||
|
@ -653,6 +655,8 @@ protected:
|
|||
LayoutDeviceIntPoint mChromeOffset;
|
||||
|
||||
private:
|
||||
void SuppressDisplayport(bool aEnabled);
|
||||
|
||||
void DestroyInternal();
|
||||
|
||||
void SetRenderLayersInternal(bool aEnabled, bool aForceRepaint);
|
||||
|
|
Загрузка…
Ссылка в новой задаче