Searched refs:mDomSelectionWeak (Results 1 – 12 of 12) sorted by relevance
140 mDomSelectionWeak = selection; in Init()187 if (mDomSelectionWeak) { in Terminate()188 mDomSelectionWeak->RemoveSelectionListener(this); in Terminate()190 mDomSelectionWeak = nullptr; in Terminate()198 Selection* nsCaret::GetSelection() { return mDomSelectionWeak; } in NS_IMPL_ISUPPORTS()202 mDomSelectionWeak = aDOMSel; in SetSelection()555 if (mDomSelectionWeak != aDomSel) return NS_OK; in NotifySelectionChanged()813 if (!mDomSelectionWeak) { in IsMenuPopupHidingCaret()817 nsIContent::FromNodeOrNull(mDomSelectionWeak->GetFocusNode()); in IsMenuPopupHidingCaret()
227 mozilla::WeakPtr<mozilla::dom::Selection> mDomSelectionWeak; variable
166 mDomSelectionWeak = do_GetWeakReference(domSelection);217 nsCOMPtr<nsISelection> domSelection = do_QueryReferent(mDomSelectionWeak);221 mDomSelectionWeak = nullptr;231 nsCOMPtr<nsISelection> sel(do_QueryReferent(mDomSelectionWeak));238 mDomSelectionWeak = do_GetWeakReference(aDOMSel); // weak reference to pres shell577 nsCOMPtr<nsISelection> domSel(do_QueryReferent(mDomSelectionWeak));817 if (mDomSelectionWeak) {820 total += mDomSelectionWeak->SizeOfOnlyThis(aMallocSizeOf);842 nsCOMPtr<nsISelection> domSelection = do_QueryReferent(mDomSelectionWeak);
213 nsWeakPtr mDomSelectionWeak; variable
138 mDomSelectionWeak = selection; in Init()185 if (mDomSelectionWeak) { in Terminate()186 mDomSelectionWeak->RemoveSelectionListener(this); in Terminate()188 mDomSelectionWeak = nullptr; in Terminate()196 Selection* nsCaret::GetSelection() { return mDomSelectionWeak; } in NS_IMPL_ISUPPORTS()200 mDomSelectionWeak = aDOMSel; in SetSelection()557 if (mDomSelectionWeak != aDomSel) return NS_OK; in NotifySelectionChanged()809 if (!mDomSelectionWeak) { in IsMenuPopupHidingCaret()813 nsIContent::FromNodeOrNull(mDomSelectionWeak->GetFocusNode()); in IsMenuPopupHidingCaret()
228 mozilla::WeakPtr<mozilla::dom::Selection> mDomSelectionWeak; variable
141 mDomSelectionWeak = selection; in Init()192 if (mDomSelectionWeak) { in Terminate()193 mDomSelectionWeak->RemoveSelectionListener(this); in Terminate()195 mDomSelectionWeak = nullptr; in Terminate()203 Selection* nsCaret::GetSelection() { return mDomSelectionWeak; } in NS_IMPL_ISUPPORTS()207 mDomSelectionWeak = aDOMSel; in SetSelection()590 if (mDomSelectionWeak != aDomSel) return NS_OK; in NotifySelectionChanged()871 if (!mDomSelectionWeak) { in IsMenuPopupHidingCaret()875 nsIContent::FromNodeOrNull(mDomSelectionWeak->GetFocusNode()); in IsMenuPopupHidingCaret()
232 mozilla::WeakPtr<mozilla::dom::Selection> mDomSelectionWeak; variable
144 mDomSelectionWeak = do_GetWeakReference(domSelection); in Init()191 nsCOMPtr<nsISelection> domSelection = do_QueryReferent(mDomSelectionWeak); in Terminate()195 mDomSelectionWeak = nullptr; in Terminate()204 nsCOMPtr<nsISelection> sel(do_QueryReferent(mDomSelectionWeak)); in NS_IMPL_ISUPPORTS()210 mDomSelectionWeak = in SetSelection()545 nsCOMPtr<nsISelection> domSel(do_QueryReferent(mDomSelectionWeak)); in NotifySelectionChanged()794 if (mDomSelectionWeak) { in SizeOfIncludingThis()797 total += mDomSelectionWeak->SizeOfOnlyThis(aMallocSizeOf); in SizeOfIncludingThis()818 nsCOMPtr<nsISelection> domSelection = do_QueryReferent(mDomSelectionWeak); in IsMenuPopupHidingCaret()
226 nsWeakPtr mDomSelectionWeak; variable