зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset e2927bb26412
This commit is contained in:
Родитель
64f6d4d0dd
Коммит
4453cced60
|
@ -51,7 +51,7 @@ class nsPresContext;
|
||||||
class nsIPercentHeightObserver
|
class nsIPercentHeightObserver
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIPercentHeightObserver)
|
NS_DECLARE_FRAME_ACCESSOR(nsIPercentHeightObserver)
|
||||||
|
|
||||||
// Notify the observer that aReflowState has no computed height, but it has a percent height
|
// Notify the observer that aReflowState has no computed height, but it has a percent height
|
||||||
virtual void NotifyPercentHeight(const nsHTMLReflowState& aReflowState) = 0;
|
virtual void NotifyPercentHeight(const nsHTMLReflowState& aReflowState) = 0;
|
||||||
|
|
|
@ -49,7 +49,7 @@ class nsPresContext;
|
||||||
class nsICheckboxControlFrame
|
class nsICheckboxControlFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsICheckboxControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsICheckboxControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by content when checkbox "checked" changes
|
* Called by content when checkbox "checked" changes
|
||||||
|
|
|
@ -54,7 +54,7 @@ class nsCSSFrameConstructor;
|
||||||
class nsIComboboxControlFrame : public nsQueryFrame
|
class nsIComboboxControlFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIComboboxControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIComboboxControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the list is dropped down
|
* Indicates whether the list is dropped down
|
||||||
|
|
|
@ -52,7 +52,7 @@ struct nsSize;
|
||||||
class nsIFormControlFrame : public nsQueryFrame
|
class nsIFormControlFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIFormControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIFormControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
|
@ -50,7 +50,7 @@ class nsIContent;
|
||||||
class nsIListControlFrame : public nsQueryFrame
|
class nsIListControlFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIListControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIListControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the ComboBoxFrame
|
* Sets the ComboBoxFrame
|
||||||
|
|
|
@ -48,7 +48,7 @@ class nsStyleContext;
|
||||||
class nsIRadioControlFrame
|
class nsIRadioControlFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIRadioControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIRadioControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called by content when the radio button's state changes
|
* Called by content when the radio button's state changes
|
||||||
|
|
|
@ -49,7 +49,7 @@ class nsIDOMHTMLOptionElement;
|
||||||
class nsISelectControlFrame : public nsQueryFrame
|
class nsISelectControlFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsISelectControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsISelectControlFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds an option to the list at index
|
* Adds an option to the list at index
|
||||||
|
|
|
@ -48,7 +48,7 @@ class nsFrameSelection;
|
||||||
class nsITextControlFrame : public nsIFormControlFrame
|
class nsITextControlFrame : public nsIFormControlFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsITextControlFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsITextControlFrame)
|
||||||
|
|
||||||
NS_IMETHOD GetEditor(nsIEditor **aEditor) = 0;
|
NS_IMETHOD GetEditor(nsIEditor **aEditor) = 0;
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
class nsLegendFrame : public nsBlockFrame {
|
class nsLegendFrame : public nsBlockFrame {
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsLegendFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsLegendFrame)
|
||||||
|
|
||||||
nsLegendFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
|
nsLegendFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {}
|
||||||
|
|
||||||
|
|
|
@ -142,7 +142,7 @@ class nsIntervalSet;
|
||||||
class nsBlockFrame : public nsBlockFrameSuper
|
class nsBlockFrame : public nsBlockFrameSuper
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsBlockFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsBlockFrame)
|
||||||
|
|
||||||
typedef nsLineList::iterator line_iterator;
|
typedef nsLineList::iterator line_iterator;
|
||||||
typedef nsLineList::const_iterator const_line_iterator;
|
typedef nsLineList::const_iterator const_line_iterator;
|
||||||
|
|
|
@ -331,7 +331,7 @@ nsFrame::~nsFrame()
|
||||||
|
|
||||||
NS_QUERYFRAME_HEAD(nsFrame)
|
NS_QUERYFRAME_HEAD(nsFrame)
|
||||||
NS_QUERYFRAME_ENTRY(nsIFrame)
|
NS_QUERYFRAME_ENTRY(nsIFrame)
|
||||||
NS_QUERYFRAME_TAIL_INHERITANCE_ROOT
|
NS_QUERYFRAME_TAIL
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// nsIFrame
|
// nsIFrame
|
||||||
|
|
|
@ -104,7 +104,7 @@ struct nsFramesetDrag {
|
||||||
class nsHTMLFramesetFrame : public nsHTMLContainerFrame
|
class nsHTMLFramesetFrame : public nsHTMLContainerFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsHTMLFramesetFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsHTMLFramesetFrame)
|
||||||
|
|
||||||
nsHTMLFramesetFrame(nsStyleContext* aContext);
|
nsHTMLFramesetFrame(nsStyleContext* aContext);
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ template <class T> class nsTArray;
|
||||||
class nsIAnonymousContentCreator
|
class nsIAnonymousContentCreator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIAnonymousContentCreator)
|
NS_DECLARE_FRAME_ACCESSOR(nsIAnonymousContentCreator)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates "native" anonymous content and adds the created content to
|
* Creates "native" anonymous content and adds the created content to
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
class nsICanvasFrame
|
class nsICanvasFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsICanvasFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsICanvasFrame)
|
||||||
|
|
||||||
/** SetHasFocus tells the CanvasFrame to draw with focus ring
|
/** SetHasFocus tells the CanvasFrame to draw with focus ring
|
||||||
* @param aHasFocus PR_TRUE to show focus ring, PR_FALSE to hide it
|
* @param aHasFocus PR_TRUE to show focus ring, PR_FALSE to hide it
|
||||||
|
|
|
@ -490,7 +490,7 @@ typedef PRBool nsDidReflowStatus;
|
||||||
class nsIFrame : public nsQueryFrame
|
class nsIFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIFrame)
|
||||||
|
|
||||||
nsPresContext* PresContext() const {
|
nsPresContext* PresContext() const {
|
||||||
return GetStyleContext()->GetRuleNode()->GetPresContext();
|
return GetStyleContext()->GetRuleNode()->GetPresContext();
|
||||||
|
|
|
@ -48,7 +48,7 @@ class nsIDocShell;
|
||||||
class nsIFrameFrame
|
class nsIFrameFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIFrameFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIFrameFrame)
|
||||||
|
|
||||||
NS_IMETHOD GetDocShell(nsIDocShell **aDocShell) = 0;
|
NS_IMETHOD GetDocShell(nsIDocShell **aDocShell) = 0;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ class nsIImageMap;
|
||||||
class nsIImageFrame
|
class nsIImageFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIImageFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIImageFrame)
|
||||||
|
|
||||||
NS_IMETHOD GetIntrinsicImageSize(nsSize& aSize) = 0;
|
NS_IMETHOD GetIntrinsicImageSize(nsSize& aSize) = 0;
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ class nsIPluginInstance;
|
||||||
class nsIObjectFrame : public nsQueryFrame
|
class nsIObjectFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIObjectFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIObjectFrame)
|
||||||
|
|
||||||
NS_IMETHOD GetPluginInstance(nsIPluginInstance*& aPluginInstance) = 0;
|
NS_IMETHOD GetPluginInstance(nsIPluginInstance*& aPluginInstance) = 0;
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ class nsIPrintSettings;
|
||||||
class nsIPageSequenceFrame : public nsQueryFrame
|
class nsIPageSequenceFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIPageSequenceFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIPageSequenceFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Print the set of pages.
|
* Print the set of pages.
|
||||||
|
|
|
@ -55,7 +55,7 @@ class nsBoxLayoutState;
|
||||||
class nsIScrollableFrame : public nsIScrollableViewProvider {
|
class nsIScrollableFrame : public nsIScrollableViewProvider {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIScrollableFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIScrollableFrame)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the frame that we are scrolling within the scrollable frame.
|
* Get the frame that we are scrolling within the scrollable frame.
|
||||||
|
|
|
@ -46,7 +46,7 @@ class nsIScrollableView;
|
||||||
class nsIScrollableViewProvider : public nsQueryFrame
|
class nsIScrollableViewProvider : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIScrollableViewProvider)
|
NS_DECLARE_FRAME_ACCESSOR(nsIScrollableViewProvider)
|
||||||
|
|
||||||
virtual nsIScrollableView* GetScrollableView() = 0;
|
virtual nsIScrollableView* GetScrollableView() = 0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,7 +14,7 @@ class nsPresState;
|
||||||
class nsIStatefulFrame
|
class nsIStatefulFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIStatefulFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIStatefulFrame)
|
||||||
|
|
||||||
// If you create a special type stateful frame (e.g. scroll) that needs
|
// If you create a special type stateful frame (e.g. scroll) that needs
|
||||||
// to be captured outside of the standard pass through the frames, you'll need
|
// to be captured outside of the standard pass through the frames, you'll need
|
||||||
|
|
|
@ -76,7 +76,7 @@ class nsAnonymousBlockFrame;
|
||||||
class nsInlineFrame : public nsInlineFrameSuper
|
class nsInlineFrame : public nsInlineFrameSuper
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsInlineFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsInlineFrame)
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
friend nsIFrame* NS_NewInlineFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
friend nsIFrame* NS_NewInlineFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||||
|
|
|
@ -40,34 +40,23 @@
|
||||||
|
|
||||||
#include "nscore.h"
|
#include "nscore.h"
|
||||||
|
|
||||||
#define NS_DECL_QUERYFRAME_TARGET(classname) \
|
#define NS_DECLARE_FRAME_ACCESSOR(classname) \
|
||||||
static const nsQueryFrame::FrameIID kFrameIID = nsQueryFrame::classname##_id;
|
static const nsQueryFrame::FrameIID kFrameIID = nsQueryFrame::classname##_id;
|
||||||
|
|
||||||
#define NS_DECL_QUERYFRAME \
|
#define NS_DECL_QUERYFRAME \
|
||||||
virtual void* QueryFrame(FrameIID id);
|
virtual void* QueryFrame(FrameIID id);
|
||||||
|
|
||||||
#define NS_QUERYFRAME_HEAD(class) \
|
#define NS_QUERYFRAME_HEAD(class) \
|
||||||
void* class::QueryFrame(FrameIID id) { switch (id) {
|
void* class::QueryFrame(FrameIID id) {
|
||||||
|
|
||||||
#define NS_QUERYFRAME_ENTRY(class) \
|
#define NS_QUERYFRAME_ENTRY(class) \
|
||||||
case class::kFrameIID: return static_cast<class*>(this);
|
if (class::kFrameIID == id) \
|
||||||
|
return static_cast<class*>(this);
|
||||||
|
|
||||||
#define NS_QUERYFRAME_ENTRY_CONDITIONAL(class, condition) \
|
#define NS_QUERYFRAME_TAIL_INHERITING(class) \
|
||||||
case class::kFrameIID: \
|
return class::QueryFrame(id); }
|
||||||
if (condition) return static_cast<class*>(this); \
|
|
||||||
break;
|
|
||||||
|
|
||||||
#define NS_QUERYFRAME_TAIL_INHERITING(class) \
|
#define NS_QUERYFRAME_TAIL return nsnull; }
|
||||||
default: break; \
|
|
||||||
} \
|
|
||||||
return class::QueryFrame(id); \
|
|
||||||
}
|
|
||||||
|
|
||||||
#define NS_QUERYFRAME_TAIL_INHERITANCE_ROOT \
|
|
||||||
default: break; \
|
|
||||||
} \
|
|
||||||
return nsnull; \
|
|
||||||
}
|
|
||||||
|
|
||||||
class nsQueryFrame
|
class nsQueryFrame
|
||||||
{
|
{
|
||||||
|
@ -75,6 +64,7 @@ public:
|
||||||
enum FrameIID {
|
enum FrameIID {
|
||||||
BRFrame_id,
|
BRFrame_id,
|
||||||
CanvasFrame_id,
|
CanvasFrame_id,
|
||||||
|
nsAreaFrame_id,
|
||||||
nsAutoRepeatBoxFrame_id,
|
nsAutoRepeatBoxFrame_id,
|
||||||
nsBCTableCellFrame_id,
|
nsBCTableCellFrame_id,
|
||||||
nsBlockFrame_id,
|
nsBlockFrame_id,
|
||||||
|
@ -158,7 +148,6 @@ public:
|
||||||
nsMathMLmactionFrame_id,
|
nsMathMLmactionFrame_id,
|
||||||
nsMathMLmathBlockFrame_id,
|
nsMathMLmathBlockFrame_id,
|
||||||
nsMathMLmathInlineFrame_id,
|
nsMathMLmathInlineFrame_id,
|
||||||
nsMathMLmencloseFrame_id,
|
|
||||||
nsMathMLmfencedFrame_id,
|
nsMathMLmfencedFrame_id,
|
||||||
nsMathMLmfracFrame_id,
|
nsMathMLmfracFrame_id,
|
||||||
nsMathMLmmultiscriptsFrame_id,
|
nsMathMLmmultiscriptsFrame_id,
|
||||||
|
@ -248,7 +237,6 @@ public:
|
||||||
nsTreeBodyFrame_id,
|
nsTreeBodyFrame_id,
|
||||||
nsTreeColFrame_id,
|
nsTreeColFrame_id,
|
||||||
nsVideoFrame_id,
|
nsVideoFrame_id,
|
||||||
nsXULLabelFrame_id,
|
|
||||||
nsXULScrollFrame_id,
|
nsXULScrollFrame_id,
|
||||||
SpacerFrame_id,
|
SpacerFrame_id,
|
||||||
ViewportFrame_id
|
ViewportFrame_id
|
||||||
|
|
|
@ -64,7 +64,7 @@ enum eMathMLFrameType {
|
||||||
class nsIMathMLFrame
|
class nsIMathMLFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIMathMLFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIMathMLFrame)
|
||||||
|
|
||||||
/* SUPPORT FOR PRECISE POSITIONING */
|
/* SUPPORT FOR PRECISE POSITIONING */
|
||||||
/*====================================================================*/
|
/*====================================================================*/
|
||||||
|
|
|
@ -48,7 +48,7 @@ struct nsCSSSelector;
|
||||||
class nsICSSPseudoComparator
|
class nsICSSPseudoComparator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsICSSPseudoComparator)
|
NS_DECLARE_FRAME_ACCESSOR(nsICSSPseudoComparator)
|
||||||
|
|
||||||
NS_IMETHOD PseudoMatches(nsIAtom* aTag, nsCSSSelector* aSelector, PRBool* aResult)=0;
|
NS_IMETHOD PseudoMatches(nsIAtom* aTag, nsCSSSelector* aSelector, PRBool* aResult)=0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -53,7 +53,7 @@ class nsSVGRenderState;
|
||||||
class nsISVGChildFrame : public nsQueryFrame
|
class nsISVGChildFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsISVGChildFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsISVGChildFrame)
|
||||||
|
|
||||||
// Paint this frame - aDirtyRect is the area being redrawn, in frame
|
// Paint this frame - aDirtyRect is the area being redrawn, in frame
|
||||||
// offset pixel coordinates
|
// offset pixel coordinates
|
||||||
|
|
|
@ -49,7 +49,7 @@ class nsSVGTextPathFrame;
|
||||||
class nsISVGGlyphFragmentLeaf : public nsISVGGlyphFragmentNode
|
class nsISVGGlyphFragmentLeaf : public nsISVGGlyphFragmentNode
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsISVGGlyphFragmentLeaf)
|
NS_DECLARE_FRAME_ACCESSOR(nsISVGGlyphFragmentLeaf)
|
||||||
|
|
||||||
NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
NS_IMETHOD GetStartPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||||
NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
NS_IMETHOD GetEndPositionOfChar(PRUint32 charnum, nsIDOMSVGPoint **_retval)=0;
|
||||||
|
|
|
@ -53,7 +53,7 @@ class nsIDOMSVGPoint;
|
||||||
class nsISVGGlyphFragmentNode : public nsQueryFrame
|
class nsISVGGlyphFragmentNode : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsISVGGlyphFragmentNode)
|
NS_DECLARE_FRAME_ACCESSOR(nsISVGGlyphFragmentNode)
|
||||||
|
|
||||||
virtual PRUint32 GetNumberOfChars()=0;
|
virtual PRUint32 GetNumberOfChars()=0;
|
||||||
virtual float GetComputedTextLength()=0;
|
virtual float GetComputedTextLength()=0;
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
class nsISVGSVGFrame
|
class nsISVGSVGFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsISVGSVGFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsISVGSVGFrame)
|
||||||
|
|
||||||
NS_IMETHOD SuspendRedraw()=0;
|
NS_IMETHOD SuspendRedraw()=0;
|
||||||
NS_IMETHOD UnsuspendRedraw()=0;
|
NS_IMETHOD UnsuspendRedraw()=0;
|
||||||
|
|
|
@ -54,7 +54,7 @@ protected:
|
||||||
nsSVGContainerFrameBase(aContext) {}
|
nsSVGContainerFrameBase(aContext) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsSVGContainerFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsSVGContainerFrame)
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@ protected:
|
||||||
nsSVGContainerFrame(aContext) {}
|
nsSVGContainerFrame(aContext) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsSVGDisplayContainerFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsSVGDisplayContainerFrame)
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ protected:
|
||||||
nsSVGInnerSVGFrameBase(aContext) {}
|
nsSVGInnerSVGFrameBase(aContext) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsSVGInnerSVGFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsSVGInnerSVGFrame)
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsSVGTextContainerFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsSVGTextContainerFrame)
|
||||||
|
|
||||||
// nsIFrame
|
// nsIFrame
|
||||||
NS_IMETHOD InsertFrames(nsIAtom* aListName,
|
NS_IMETHOD InsertFrames(nsIAtom* aListName,
|
||||||
|
|
|
@ -49,7 +49,7 @@ class nsITableCellLayout
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsITableCellLayout)
|
NS_DECLARE_FRAME_ACCESSOR(nsITableCellLayout)
|
||||||
|
|
||||||
/** return the mapped cell's row and column indexes (starting at 0 for each) */
|
/** return the mapped cell's row and column indexes (starting at 0 for each) */
|
||||||
NS_IMETHOD GetCellIndexes(PRInt32 &aRowIndex, PRInt32 &aColIndex)=0;
|
NS_IMETHOD GetCellIndexes(PRInt32 &aRowIndex, PRInt32 &aColIndex)=0;
|
||||||
|
|
|
@ -51,7 +51,7 @@ class nsITableLayout
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsITableLayout)
|
NS_DECLARE_FRAME_ACCESSOR(nsITableLayout)
|
||||||
|
|
||||||
/** return all the relevant layout information about a cell.
|
/** return all the relevant layout information about a cell.
|
||||||
* @param aRowIndex a row which the cell intersects
|
* @param aRowIndex a row which the cell intersects
|
||||||
|
|
|
@ -73,7 +73,7 @@ class nsTableCellFrame : public nsHTMLContainerFrame,
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsTableCellFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsTableCellFrame)
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
// default constructor supplied by the compiler
|
// default constructor supplied by the compiler
|
||||||
|
|
|
@ -68,7 +68,7 @@ class nsTableRowFrame : public nsHTMLContainerFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsTableRowFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsTableRowFrame)
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
virtual ~nsTableRowFrame();
|
virtual ~nsTableRowFrame();
|
||||||
|
|
|
@ -97,7 +97,7 @@ class nsTableRowGroupFrame
|
||||||
, public nsILineIterator
|
, public nsILineIterator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsTableRowGroupFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsTableRowGroupFrame)
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
/** instantiate a new instance of nsTableRowFrame.
|
/** instantiate a new instance of nsTableRowFrame.
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
class nsIMenuFrame
|
class nsIMenuFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIMenuFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIMenuFrame)
|
||||||
|
|
||||||
virtual PRBool IsOpen() = 0;
|
virtual PRBool IsOpen() = 0;
|
||||||
virtual PRBool IsMenu() = 0;
|
virtual PRBool IsMenu() = 0;
|
||||||
|
|
|
@ -47,7 +47,7 @@ class nsIScrollbarFrame;
|
||||||
class nsIScrollbarMediator
|
class nsIScrollbarMediator
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIScrollbarMediator)
|
NS_DECLARE_FRAME_ACCESSOR(nsIScrollbarMediator)
|
||||||
|
|
||||||
// The nsIFrame aScrollbar argument below denotes the
|
// The nsIFrame aScrollbar argument below denotes the
|
||||||
// scrollbar that's firing the notification. It should be
|
// scrollbar that's firing the notification. It should be
|
||||||
|
|
|
@ -48,7 +48,7 @@ class nsIPresShell;
|
||||||
class nsIRootBox
|
class nsIRootBox
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIRootBox)
|
NS_DECLARE_FRAME_ACCESSOR(nsIRootBox)
|
||||||
|
|
||||||
virtual nsPopupSetFrame* GetPopupSetFrame() = 0;
|
virtual nsPopupSetFrame* GetPopupSetFrame() = 0;
|
||||||
virtual void SetPopupSetFrame(nsPopupSetFrame* aPopupSet) = 0;
|
virtual void SetPopupSetFrame(nsPopupSetFrame* aPopupSet) = 0;
|
||||||
|
|
|
@ -46,7 +46,7 @@ class nsIScrollbarMediator;
|
||||||
class nsIScrollbarFrame : public nsQueryFrame
|
class nsIScrollbarFrame : public nsQueryFrame
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsIScrollbarFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsIScrollbarFrame)
|
||||||
|
|
||||||
// Sets the scrollbar mediator content. We will try to get its primary frame
|
// Sets the scrollbar mediator content. We will try to get its primary frame
|
||||||
// and then QI that to nsIScrollbarMediator as necessary.
|
// and then QI that to nsIScrollbarMediator as necessary.
|
||||||
|
|
|
@ -64,7 +64,7 @@ class nsListBoxBodyFrame : public nsBoxFrame,
|
||||||
virtual ~nsListBoxBodyFrame();
|
virtual ~nsListBoxBodyFrame();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsListBoxBodyFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsListBoxBodyFrame)
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ public:
|
||||||
nsTreeBodyFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
nsTreeBodyFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
||||||
~nsTreeBodyFrame();
|
~nsTreeBodyFrame();
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME_TARGET(nsTreeBodyFrame)
|
NS_DECLARE_FRAME_ACCESSOR(nsTreeBodyFrame)
|
||||||
|
|
||||||
NS_DECL_QUERYFRAME
|
NS_DECL_QUERYFRAME
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче