Work-in-progress for having GetPrimaryFrameFor() use a hash table

git-svn-id: svn://10.0.0.236/trunk@37514 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-06-30 04:42:26 +00:00
parent f1f4205797
commit f1588e6197
4 changed files with 56 additions and 2 deletions

View File

@@ -293,6 +293,9 @@ public:
NS_IMETHOD GetPageSequenceFrame(nsIPageSequenceFrame** aResult) const;
NS_IMETHOD GetPrimaryFrameFor(nsIContent* aContent,
nsIFrame** aPrimaryFrame) const;
NS_IMETHOD SetPrimaryFrameFor(nsIContent* aContent,
nsIFrame* aPrimaryFrame);
NS_IMETHOD ClearPrimaryFrameMap();
NS_IMETHOD GetStyleContextFor(nsIFrame* aFrame,
nsIStyleContext** aStyleContext) const;
NS_IMETHOD GetLayoutObjectFor(nsIContent* aContent,
@@ -301,6 +304,7 @@ public:
nsIFrame** aPlaceholderFrame) const;
NS_IMETHOD SetPlaceholderFrameFor(nsIFrame* aFrame,
nsIFrame* aPlaceholderFrame);
NS_IMETHOD ClearPlaceholderFrameMap();
NS_IMETHOD AppendReflowCommand(nsIReflowCommand* aReflowCommand);
NS_IMETHOD CancelReflowCommand(nsIFrame* aTargetFrame);
NS_IMETHOD ProcessReflowCommands();
@@ -1853,6 +1857,19 @@ PresShell::GetPrimaryFrameFor(nsIContent* aContent,
return NS_OK;
}
NS_IMETHODIMP
PresShell::SetPrimaryFrameFor(nsIContent* aContent,
nsIFrame* aPrimaryFrame)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
PresShell::ClearPrimaryFrameMap()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
PresShell::GetStyleContextFor(nsIFrame* aFrame,
nsIStyleContext** aStyleContext) const
@@ -1932,6 +1949,12 @@ PresShell::SetPlaceholderFrameFor(nsIFrame* aFrame,
return NS_OK;
}
NS_IMETHODIMP
PresShell::ClearPlaceholderFrameMap()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
//nsIViewObserver
NS_IMETHODIMP