mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-05 16:22:53 +00:00
Added GetFrameName
This commit is contained in:
parent
bfeb95abce
commit
8e14dafaf7
@ -95,6 +95,8 @@ public:
|
||||
nsIAtom* aListName,
|
||||
nsIFrame* aOldFrame);
|
||||
|
||||
NS_IMETHOD GetFrameName(nsString& aResult) const;
|
||||
|
||||
PRBool IsHorizontal() const { return mHorizontal; }
|
||||
|
||||
|
||||
|
@ -199,3 +199,9 @@ nsGrippyFrame::GetChildAt(nsIFrame* parent, PRInt32 index)
|
||||
return nsnull;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGrippyFrame::GetFrameName(nsString& aResult) const
|
||||
{
|
||||
aResult = "Grippy";
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -38,6 +38,8 @@ public:
|
||||
|
||||
friend nsresult NS_NewGrippyFrame(nsIFrame** aNewFrame);
|
||||
|
||||
NS_IMETHOD GetFrameName(nsString& aResult) const;
|
||||
|
||||
static nsIFrame* GetChildBeforeAfter(nsIFrame* start, PRBool before);
|
||||
static nsIFrame* GetChildAt(nsIFrame* parent, PRInt32 index);
|
||||
static PRInt32 IndexOf(nsIFrame* parent, nsIFrame* child);
|
||||
|
@ -1254,3 +1254,9 @@ nsTitledButtonFrame::Release(void)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsTitledButtonFrame::GetFrameName(nsString& aResult) const
|
||||
{
|
||||
aResult = "TitledButton";
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -59,6 +59,7 @@ public:
|
||||
|
||||
NS_IMETHOD DeleteFrame(nsIPresContext& aPresContext);
|
||||
|
||||
NS_IMETHOD GetFrameName(nsString& aResult) const;
|
||||
|
||||
virtual void UpdateAttributes(nsIPresContext& aPresContext);
|
||||
virtual void UpdateImage(nsIPresContext& aPresContext);
|
||||
|
Loading…
x
Reference in New Issue
Block a user