mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Added function FindPrimaryFrameFor()
This commit is contained in:
parent
5f3526c72b
commit
5b550f3d8a
@ -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;
|
||||
|
@ -112,6 +112,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);
|
||||
|
||||
NS_IMETHODIMP CreateTreeWidgetContent(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame* aPrevFrame,
|
||||
|
@ -102,6 +102,13 @@ public:
|
||||
nsIFrame* aFrame,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame** aContinuingFrame) = 0;
|
||||
|
||||
// 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) = 0;
|
||||
};
|
||||
|
||||
#endif /* nsIStyleFrameConstruction_h___ */
|
||||
|
@ -157,6 +157,13 @@ public:
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame** aContinuingFrame) = 0;
|
||||
|
||||
// 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) = 0;
|
||||
|
||||
virtual void List(FILE* out = stdout, PRInt32 aIndent = 0) = 0;
|
||||
virtual void ListContexts(nsIStyleContext* aRootContext, FILE* out = stdout, PRInt32 aIndent = 0) = 0;
|
||||
};
|
||||
|
@ -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;
|
||||
|
@ -112,6 +112,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);
|
||||
|
||||
NS_IMETHODIMP CreateTreeWidgetContent(nsIPresContext* aPresContext,
|
||||
nsIFrame* aParentFrame,
|
||||
nsIFrame* aPrevFrame,
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user