Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsCaret.cpp File Reference
#include "nsCOMPtr.h"
#include "nsITimer.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIFrameSelection.h"
#include "nsIFrame.h"
#include "nsIDOMNode.h"
#include "nsIDOMRange.h"
#include "nsIFontMetrics.h"
#include "nsISelection.h"
#include "nsISelectionPrivate.h"
#include "nsIDOMCharacterData.h"
#include "nsIContent.h"
#include "nsIPresShell.h"
#include "nsIRenderingContext.h"
#include "nsIDeviceContext.h"
#include "nsIView.h"
#include "nsIScrollableView.h"
#include "nsIViewManager.h"
#include "nsPresContext.h"
#include "nsILookAndFeel.h"
#include "nsBlockFrame.h"
#include "nsISelectionController.h"
#include "nsCaret.h"

Go to the source code of this file.

Defines

#define DONT_REUSE_RENDERING_CONTEXT

Functions

nsresult NS_NewCaret (nsICaret **aInstancePtrResult)

Variables

static const PRUint32 kMinBidiIndicatorPixels = 2

Define Documentation

Definition at line 80 of file nsCaret.cpp.


Function Documentation

nsresult NS_NewCaret ( nsICaret **  aInstancePtrResult)

Definition at line 1181 of file nsCaret.cpp.

{
  NS_PRECONDITION(aInstancePtrResult, "null ptr");
  
  nsCaret* caret = new nsCaret();
  if (nsnull == caret)
      return NS_ERROR_OUT_OF_MEMORY;
      
  return caret->QueryInterface(NS_GET_IID(nsICaret), (void**) aInstancePtrResult);
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 72 of file nsCaret.cpp.