Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsFrame.h File Reference
#include "nsBox.h"
#include "nsRect.h"
#include "nsString.h"
#include "prlog.h"
#include "nsIPresShell.h"
#include "nsHTMLReflowCommand.h"
#include "nsIFrameSelection.h"
#include "nsHTMLReflowState.h"
#include "nsHTMLReflowMetrics.h"

Go to the source code of this file.


class  nsFrame
 Implementation of a simple frame that's not splittable and has no child frames. More...


#define NS_FRAME_TRACE_CALLS   0x1
 nsFrame logging constants.
#define NS_FRAME_LOG_TEST(_lm, _bit)   (PRIntn((_lm)->level) & (_bit))
#define NS_FRAME_LOG(_bit, _args)
#define NS_FRAME_TRACE(_bits, _args)
#define NS_FRAME_TRACE_IN(_method)
#define NS_FRAME_TRACE_OUT(_method)
#define NS_FRAME_TRACE_MSG(_bits, _args)
#define NS_FRAME_TRACE_REFLOW_IN(_method)
#define NS_FRAME_TRACE_REFLOW_OUT(_method, _status)
#define DISPLAY_REFLOW(dr_pres_context, dr_frame, dr_rf_state, dr_rf_metrics, dr_rf_status)
#define ENSURE_TRUE(x)


void SetFontFromStyle (nsIRenderingContext *aRC, nsStyleContext *aSC)

Define Documentation

#define DISPLAY_REFLOW (   dr_pres_context,

Definition at line 599 of file nsFrame.h.

Definition at line 600 of file nsFrame.h.

PR_BEGIN_MACRO                                              \
    if (!(x)) {                                               \
       NS_WARNING("ENSURE_TRUE(" #x ") failed");              \
       return;                                                \
    }                                                         \

Definition at line 606 of file nsFrame.h.

#define NS_FRAME_LOG (   _bit,

Definition at line 76 of file nsFrame.h.

#define NS_FRAME_LOG_TEST (   _lm,
)    (PRIntn((_lm)->level) & (_bit))

Definition at line 66 of file nsFrame.h.

#define NS_FRAME_TRACE (   _bits,

Definition at line 106 of file nsFrame.h.

nsFrame logging constants.

We redefine the nspr PRLogModuleInfo.level field to be a bitfield. Each bit controls a specific type of logging. Each logging operation has associated inline methods defined below.

Definition at line 61 of file nsFrame.h.

Definition at line 63 of file nsFrame.h.

#define NS_FRAME_TRACE_IN (   _method)

Definition at line 107 of file nsFrame.h.

#define NS_FRAME_TRACE_MSG (   _bits,

Definition at line 109 of file nsFrame.h.

Definition at line 64 of file nsFrame.h.

#define NS_FRAME_TRACE_OUT (   _method)

Definition at line 108 of file nsFrame.h.

Definition at line 62 of file nsFrame.h.

Definition at line 110 of file nsFrame.h.

#define NS_FRAME_TRACE_REFLOW_OUT (   _method,

Definition at line 111 of file nsFrame.h.

Function Documentation

Definition at line 416 of file nsFrame.cpp.

  const nsStyleFont* font = aSC->GetStyleFont();
  const nsStyleVisibility* visibility = aSC->GetStyleVisibility();

  aRC->SetFont(font->mFont, visibility->mLangGroup);

Here is the call graph for this function:

Here is the caller graph for this function: