Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsFrameManager.cpp File Reference
#include "nscore.h"
#include "nsPresContext.h"
#include "nsIPresShell.h"
#include "nsStyleSet.h"
#include "nsCSSFrameConstructor.h"
#include "nsStyleContext.h"
#include "nsStyleChangeList.h"
#include "nsIEventQueueService.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "prthread.h"
#include "plhash.h"
#include "nsPlaceholderFrame.h"
#include "nsLayoutAtoms.h"
#include "nsCSSAnonBoxes.h"
#include "nsCSSPseudoElements.h"
#include "nsHTMLAtoms.h"
#include "nsILayoutHistoryState.h"
#include "nsPresState.h"
#include "nsIContent.h"
#include "nsINameSpaceManager.h"
#include "nsIDocument.h"
#include "nsIBindingManager.h"
#include "nsIScrollableFrame.h"
#include "nsIHTMLDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMNodeList.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIFormControl.h"
#include "nsIDOMElement.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIForm.h"
#include "nsContentUtils.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
#include "nsPrintfCString.h"
#include "nsDummyLayoutRequest.h"
#include "nsLayoutErrors.h"
#include "nsLayoutUtils.h"
#include "nsAutoPtr.h"
#include "imgIRequest.h"
#include "nsFrameManager.h"

Go to the source code of this file.

Classes

struct  PlaceholderMapEntry
struct  PrimaryFrameMapEntry
class  UndisplayedNode
class  nsFrameManagerBase::UndisplayedMap

Defines

#define NOISY_TRACE(_msg)   ;
#define NOISY_TRACE_FRAME(_msg, _frame)   ;

Functions

static NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)
 PlaceholderMapGetKey (PLDHashTable *table, PLDHashEntryHdr *hdr)
 PlaceholderMapMatchEntry (PLDHashTable *table, const PLDHashEntryHdr *hdr, const void *key)
 UnregisterPlaceholders (PLDHashTable *table, PLDHashEntryHdr *hdr, PRUint32 number, void *arg)
static nsChangeHint CaptureChange (nsStyleContext *aOldContext, nsStyleContext *aNewContext, nsIFrame *aFrame, nsIContent *aContent, nsStyleChangeList *aChangeList, nsChangeHint aMinChange, nsChangeHint aChangeToAssume)
static PLHashNumber HashKey (void *key)
static PRIntn CompareKeys (void *key1, void *key2)
 RemoveUndisplayedEntry (PLHashEntry *he, PRIntn i, void *arg)

Variables

static PLDHashTableOps PlaceholderMapOps

Define Documentation

#define NOISY_TRACE (   _msg)    ;

Definition at line 110 of file nsFrameManager.cpp.

#define NOISY_TRACE_FRAME (   _msg,
  _frame 
)    ;

Definition at line 111 of file nsFrameManager.cpp.


Function Documentation

static nsChangeHint CaptureChange ( nsStyleContext aOldContext,
nsStyleContext aNewContext,
nsIFrame aFrame,
nsIContent aContent,
nsStyleChangeList aChangeList,
nsChangeHint  aMinChange,
nsChangeHint  aChangeToAssume 
) [static]

Definition at line 1024 of file nsFrameManager.cpp.

{
  nsChangeHint ourChange = aOldContext->CalcStyleDifference(aNewContext);
  NS_UpdateHint(ourChange, aChangeToAssume);
  if (NS_UpdateHint(aMinChange, ourChange)) {
    aChangeList->AppendChange(aFrame, aContent, ourChange);
  }
  return aMinChange;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRIntn CompareKeys ( void key1,
void key2 
) [static]

Definition at line 1599 of file nsFrameManager.cpp.

{
  return key1 == key2;
}

Here is the caller graph for this function:

static PLHashNumber HashKey ( void key) [static]

Definition at line 1593 of file nsFrameManager.cpp.

{
  return NS_PTR_TO_INT32(key);
}

Here is the caller graph for this function:

Definition at line 127 of file nsFrameManager.cpp.

Here is the call graph for this function:

Definition at line 134 of file nsFrameManager.cpp.

Here is the call graph for this function:

RemoveUndisplayedEntry ( PLHashEntry he,
PRIntn  i,
void arg 
)

Definition at line 1737 of file nsFrameManager.cpp.

{
  UndisplayedNode*  node = (UndisplayedNode*)(he->value);
  delete node;
  // Remove and free this entry and continue enumerating
  return HT_ENUMERATE_REMOVE | HT_ENUMERATE_NEXT;
}
UnregisterPlaceholders ( PLDHashTable table,
PLDHashEntryHdr hdr,
PRUint32  number,
void arg 
)

Definition at line 538 of file nsFrameManager.cpp.

Here is the call graph for this function:


Variable Documentation