mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1321166 - Wrap DetailsFrame's definition and implementation in mozilla namespace. r=dholbert
MozReview-Commit-ID: 24cUKrWKRe --HG-- extra : rebase_source : f9c1c0bc99bf77a1312fc408e4bc5c352efe0f37
This commit is contained in:
parent
f812426c42
commit
a22cb5f094
@ -28,6 +28,8 @@ NS_NewDetailsFrame(nsIPresShell* aPresShell, nsStyleContext* aContext)
|
||||
return new (aPresShell) DetailsFrame(aContext);
|
||||
}
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
DetailsFrame::DetailsFrame(nsStyleContext* aContext)
|
||||
: nsBlockFrame(aContext)
|
||||
{
|
||||
@ -129,3 +131,5 @@ DetailsFrame::AppendAnonymousContentTo(nsTArray<nsIContent*>& aElements,
|
||||
aElements.AppendElement(mDefaultSummary);
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace mozilla
|
||||
|
@ -13,6 +13,8 @@
|
||||
class nsContainerFrame;
|
||||
class nsStyleContext;
|
||||
|
||||
namespace mozilla {
|
||||
|
||||
// DetailsFrame is generated by HTMLDetailsElement. See
|
||||
// nsCSSFrameConstructor::ConstructDetailsFrame for the structure of a
|
||||
// DetailsFrame.
|
||||
@ -59,4 +61,6 @@ private:
|
||||
nsCOMPtr<nsIContent> mDefaultSummary;
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
#endif // DetailsFrame_h
|
||||
|
Loading…
Reference in New Issue
Block a user