mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-06 22:29:34 +00:00
parent
dfdcae28ae
commit
2e269c0fdb
|
@ -383,10 +383,6 @@ TabParent::AddWindowListeners()
|
||||||
this, false, false);
|
this, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (nsIPresShell* shell = mFrameElement->OwnerDoc()->GetShell()) {
|
|
||||||
mPresShellWithRefreshListener = shell;
|
|
||||||
shell->AddPostRefreshObserver(this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -401,18 +397,6 @@ TabParent::RemoveWindowListeners()
|
||||||
this, false);
|
this, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (mPresShellWithRefreshListener) {
|
|
||||||
mPresShellWithRefreshListener->RemovePostRefreshObserver(this);
|
|
||||||
mPresShellWithRefreshListener = nullptr;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
TabParent::DidRefresh()
|
|
||||||
{
|
|
||||||
if (mChromeOffset != -GetChildProcessOffset()) {
|
|
||||||
UpdatePosition();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -85,7 +85,6 @@ class TabParent final : public PBrowserParent
|
||||||
, public nsISecureBrowserUI
|
, public nsISecureBrowserUI
|
||||||
, public nsSupportsWeakReference
|
, public nsSupportsWeakReference
|
||||||
, public TabContext
|
, public TabContext
|
||||||
, public nsAPostRefreshObserver
|
|
||||||
, public nsIWebBrowserPersistable
|
, public nsIWebBrowserPersistable
|
||||||
{
|
{
|
||||||
typedef mozilla::dom::ClonedMessageData ClonedMessageData;
|
typedef mozilla::dom::ClonedMessageData ClonedMessageData;
|
||||||
|
@ -145,7 +144,6 @@ public:
|
||||||
|
|
||||||
void RemoveWindowListeners();
|
void RemoveWindowListeners();
|
||||||
void AddWindowListeners();
|
void AddWindowListeners();
|
||||||
void DidRefresh() override;
|
|
||||||
|
|
||||||
virtual bool RecvMoveFocus(const bool& aForward,
|
virtual bool RecvMoveFocus(const bool& aForward,
|
||||||
const bool& aForDocumentNavigation) override;
|
const bool& aForDocumentNavigation) override;
|
||||||
|
@ -628,8 +626,6 @@ private:
|
||||||
// cursor. This happens whenever the cursor is in the tab's region.
|
// cursor. This happens whenever the cursor is in the tab's region.
|
||||||
bool mTabSetsCursor;
|
bool mTabSetsCursor;
|
||||||
|
|
||||||
RefPtr<nsIPresShell> mPresShellWithRefreshListener;
|
|
||||||
|
|
||||||
bool mHasContentOpener;
|
bool mHasContentOpener;
|
||||||
|
|
||||||
DebugOnly<int32_t> mActiveSupressDisplayportCount;
|
DebugOnly<int32_t> mActiveSupressDisplayportCount;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user