本文整理汇总了C++中nsBaseContentList类的典型用法代码示例。如果您正苦于以下问题:C++ nsBaseContentList类的具体用法?C++ nsBaseContentList怎么用?C++ nsBaseContentList使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了nsBaseContentList类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1:
void
nsFileControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFilter)
{
aElements.MaybeAppendElement(mBrowse);
aElements.MaybeAppendElement(mTextContent);
}
开发者ID:BrunoReX,项目名称:palemoon,代码行数:7,代码来源:nsFileControlFrame.cpp
示例2:
void
nsVideoFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFliter)
{
aElements.MaybeAppendElement(mPosterImage);
aElements.MaybeAppendElement(mVideoControls);
}
开发者ID:mikeaich,项目名称:releases-mozilla-central,代码行数:7,代码来源:nsVideoFrame.cpp
示例3:
void
nsDocElementBoxFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
PRUint32 aFilter)
{
aElements.MaybeAppendElement(mPopupgroupContent);
aElements.MaybeAppendElement(mTooltipContent);
}
开发者ID:lofter2011,项目名称:Icefox,代码行数:7,代码来源:nsDocElementBoxFrame.cpp
示例4:
void
nsCanvasFrame::AppendAnonymousContentTo(nsBaseContentList& aElements, uint32_t aFilter)
{
aElements.MaybeAppendElement(mTouchCaretElement);
aElements.MaybeAppendElement(mSelectionCaretsStartElement);
aElements.MaybeAppendElement(mSelectionCaretsEndElement);
}
开发者ID:jrmuizel,项目名称:mozilla-central-skia,代码行数:7,代码来源:nsCanvasFrame.cpp
示例5:
void
nsRangeFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFilter)
{
aElements.MaybeAppendElement(mTrackDiv);
aElements.MaybeAppendElement(mProgressDiv);
aElements.MaybeAppendElement(mThumbDiv);
}
开发者ID:ckerschb,项目名称:gecko-dev,代码行数:8,代码来源:nsRangeFrame.cpp
示例6:
void
nsNumberControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFilter)
{
// Only one direct anonymous child:
aElements.MaybeAppendElement(mOuterWrapper);
}
开发者ID:galexcode,项目名称:mozilla-central,代码行数:7,代码来源:nsNumberControlFrame.cpp
示例7: nsSimpleContentList
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);
}
}
}
开发者ID:nikhilm,项目名称:v8monkey,代码行数:17,代码来源:nsContentList.cpp
示例8: nsBaseContentList
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);
}
}
}
开发者ID:AllenDou,项目名称:firefox,代码行数:22,代码来源:nsContentList.cpp
示例9:
void
nsProgressFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
PRUint32 aFilter)
{
aElements.MaybeAppendElement(mBarDiv);
}
开发者ID:lofter2011,项目名称:Icefox,代码行数:6,代码来源:nsProgressFrame.cpp
示例10:
void
nsMeterFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFilter)
{
aElements.MaybeAppendElement(mBarDiv);
}
开发者ID:galexcode,项目名称:mozilla-central,代码行数:6,代码来源:nsMeterFrame.cpp
示例11:
void
nsColorControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
uint32_t aFilter)
{
aElements.MaybeAppendElement(mColorContent);
}
开发者ID:captainbrosset,项目名称:gecko-dev,代码行数:6,代码来源:nsColorControlFrame.cpp
示例12:
void
nsGfxButtonControlFrame::AppendAnonymousContentTo(nsBaseContentList& aElements,
PRUint32 aFilter)
{
aElements.MaybeAppendElement(mTextContent);
}
开发者ID:FunkyVerb,项目名称:devtools-window,代码行数:6,代码来源:nsGfxButtonControlFrame.cpp
注:本文中的nsBaseContentList类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论