зеркало из https://github.com/mozilla/gecko-dev.git
Made IndentBy public
This commit is contained in:
Родитель
1bc51979bf
Коммит
e98ecaebf7
|
@ -280,7 +280,15 @@ public:
|
||||||
fprintf(out, "@%p", this);
|
fprintf(out, "@%p", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void IndentBy(FILE* out, PRInt32 aIndent) {
|
||||||
|
while (--aIndent >= 0) fputs(" ", out);
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
// Protected constructor and destructor
|
||||||
|
nsFrame();
|
||||||
|
virtual ~nsFrame();
|
||||||
|
|
||||||
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
|
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
|
||||||
nsIRenderingContext * aRendContext,
|
nsIRenderingContext * aRendContext,
|
||||||
nsGUIEvent * aEvent,
|
nsGUIEvent * aEvent,
|
||||||
|
@ -309,10 +317,6 @@ protected:
|
||||||
// Style post processing hook
|
// Style post processing hook
|
||||||
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
|
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
|
||||||
|
|
||||||
// Protected constructor and destructor
|
|
||||||
nsFrame();
|
|
||||||
virtual ~nsFrame();
|
|
||||||
|
|
||||||
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -326,10 +330,6 @@ protected:
|
||||||
*/
|
*/
|
||||||
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
|
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
|
||||||
|
|
||||||
static void IndentBy(FILE* out, PRInt32 aIndent) {
|
|
||||||
while (--aIndent >= 0) fputs(" ", out);
|
|
||||||
}
|
|
||||||
|
|
||||||
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
|
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
|
||||||
|
|
||||||
static void XMLQuote(nsString& aString);
|
static void XMLQuote(nsString& aString);
|
||||||
|
|
|
@ -280,7 +280,15 @@ public:
|
||||||
fprintf(out, "@%p", this);
|
fprintf(out, "@%p", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void IndentBy(FILE* out, PRInt32 aIndent) {
|
||||||
|
while (--aIndent >= 0) fputs(" ", out);
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
// Protected constructor and destructor
|
||||||
|
nsFrame();
|
||||||
|
virtual ~nsFrame();
|
||||||
|
|
||||||
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
|
virtual void NewContentIsBefore(nsIPresContext& aPresContext,
|
||||||
nsIRenderingContext * aRendContext,
|
nsIRenderingContext * aRendContext,
|
||||||
nsGUIEvent * aEvent,
|
nsGUIEvent * aEvent,
|
||||||
|
@ -309,10 +317,6 @@ protected:
|
||||||
// Style post processing hook
|
// Style post processing hook
|
||||||
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
|
NS_IMETHOD DidSetStyleContext(nsIPresContext* aPresContext);
|
||||||
|
|
||||||
// Protected constructor and destructor
|
|
||||||
nsFrame();
|
|
||||||
virtual ~nsFrame();
|
|
||||||
|
|
||||||
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -326,10 +330,6 @@ protected:
|
||||||
*/
|
*/
|
||||||
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
|
virtual void DumpBaseRegressionData(FILE* out, PRInt32 aIndent);
|
||||||
|
|
||||||
static void IndentBy(FILE* out, PRInt32 aIndent) {
|
|
||||||
while (--aIndent >= 0) fputs(" ", out);
|
|
||||||
}
|
|
||||||
|
|
||||||
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
|
nsresult MakeFrameName(const char* aKind, nsString& aResult) const;
|
||||||
|
|
||||||
static void XMLQuote(nsString& aString);
|
static void XMLQuote(nsString& aString);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче