void nsFileControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { aElements.MaybeAppendElement(mBrowse); aElements.MaybeAppendElement(mTextContent); }
void nsVideoFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFliter) { aElements.MaybeAppendElement(mPosterImage); aElements.MaybeAppendElement(mVideoControls); }
void nsDocElementBoxFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { aElements.MaybeAppendElement(mPopupgroupContent); aElements.MaybeAppendElement(mTooltipContent); }
void nsIsIndexFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { aElements.MaybeAppendElement(mTextContent); aElements.MaybeAppendElement(mInputContent); }
void nsCanvasFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { aElements.MaybeAppendElement(mTouchCaretElement); aElements.MaybeAppendElement(mSelectionCaretsStartElement); aElements.MaybeAppendElement(mSelectionCaretsEndElement); }
void nsRangeFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { aElements.MaybeAppendElement(mTrackDiv); aElements.MaybeAppendElement(mProgressDiv); aElements.MaybeAppendElement(mThumbDiv); }
void nsTextControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { nsCOMPtr<nsITextControlElement> txtCtrl = do_QueryInterface(GetContent()); NS_ASSERTION(txtCtrl, "Content not a text control element"); aElements.MaybeAppendElement(txtCtrl->GetRootEditorNode()); if (!(aFilter & nsIContent::eSkipPlaceholderContent)) aElements.MaybeAppendElement(txtCtrl->GetPlaceholderNode()); }
void nsNumberControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { // Only one direct anonymous child: aElements.MaybeAppendElement(mOuterWrapper); }
nsFormContentList::nsFormContentList(nsIContent *aForm, nsBaseContentList& aContentList) : nsSimpleContentList(aForm) { // move elements that belong to mForm into this content list PRUint32 i, length = 0; aContentList.GetLength(&length); for (i = 0; i < length; i++) { nsIContent *c = aContentList.GetNodeAt(i); if (c && nsContentUtils::BelongsInForm(aForm, c)) { AppendElement(c); } } }
void nsSVGUseFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { nsSVGUseElement *use = static_cast<nsSVGUseElement*>(mContent); nsIContent* clone = use->GetAnonymousContent(); aElements.MaybeAppendElement(clone); }
nsFormContentList::nsFormContentList(nsIDOMHTMLFormElement *aForm, nsBaseContentList& aContentList) : nsBaseContentList() { // move elements that belong to mForm into this content list PRUint32 i, length = 0; nsCOMPtr<nsIDOMNode> item; aContentList.GetLength(&length); for (i = 0; i < length; i++) { aContentList.Item(i, getter_AddRefs(item)); nsCOMPtr<nsIContent> c(do_QueryInterface(item)); if (c && nsContentUtils::BelongsInForm(aForm, c)) { AppendElement(c); } } }
void nsProgressFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { aElements.MaybeAppendElement(mBarDiv); }
void nsMeterFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { aElements.MaybeAppendElement(mBarDiv); }
void nsColorControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter) { aElements.MaybeAppendElement(mColorContent); }
void nsGfxButtonControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, PRUint32 aFilter) { aElements.MaybeAppendElement(mTextContent); }