Added function FindPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@37981 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -145,6 +145,13 @@ public:
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame** aContinuingFrame);
|
||||
|
||||
// Request to find the primary frame associated with a given content object.
|
||||
// This is typically called by the pres shell when there is no mapping in
|
||||
// the pres shell hash table
|
||||
NS_IMETHOD FindPrimaryFrameFor(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame** aFrame);
|
||||
|
||||
virtual void List(FILE* out = stdout, PRInt32 aIndent = 0);
|
||||
|
||||
private:
|
||||
@@ -887,6 +894,17 @@ StyleSetImpl::CreateContinuingFrame(nsIPresContext* aPresContext,
|
||||
aContinuingFrame);
|
||||
}
|
||||
|
||||
// Request to find the primary frame associated with a given content object.
|
||||
// This is typically called by the pres shell when there is no mapping in
|
||||
// the pres shell hash table
|
||||
NS_IMETHODIMP
|
||||
StyleSetImpl::FindPrimaryFrameFor(nsIPresContext* aPresContext,
|
||||
nsIContent* aContent,
|
||||
nsIFrame** aFrame)
|
||||
{
|
||||
return mFrameConstructor->FindPrimaryFrameFor(aPresContext, aContent, aFrame);
|
||||
}
|
||||
|
||||
void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets)
|
||||
{
|
||||
PRUint32 cnt = 0;
|
||||
|
||||
Reference in New Issue
Block a user