Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsHTMLEditorMouseListener.cpp File Reference
#include "nsHTMLEditorMouseListener.h"
#include "nsString.h"
#include "nsIDOMEvent.h"
#include "nsIDOMNSEvent.h"
#include "nsIDOMElement.h"
#include "nsIDOMMouseEvent.h"
#include "nsISelection.h"
#include "nsIDOMRange.h"
#include "nsIDOMNSRange.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMNSUIEvent.h"
#include "nsIDOMHTMLTableElement.h"
#include "nsIDOMHTMLTableCellElement.h"
#include "nsIContent.h"
#include "nsIEditor.h"
#include "nsIHTMLEditor.h"
#include "nsIHTMLObjectResizer.h"
#include "nsEditProperty.h"
#include "nsTextEditUtils.h"
#include "nsHTMLEditUtils.h"
#include "nsIHTMLInlineTableEditor.h"

Go to the source code of this file.

Functions

nsresult NS_NewHTMLEditorMouseListener (nsIDOMEventListener **aInstancePtrResult, nsHTMLEditor *aHTMLEditor)
 factory for the mouse listener

Function Documentation

nsresult NS_NewHTMLEditorMouseListener ( nsIDOMEventListener **  aInstancePtrResult,
nsHTMLEditor aHTMLEditor 
)

factory for the mouse listener

Definition at line 311 of file nsHTMLEditorMouseListener.cpp.

{
  nsHTMLEditorMouseListener* listener = new nsHTMLEditorMouseListener(aHTMLEditor);
  if (!listener)
    return NS_ERROR_OUT_OF_MEMORY;

  return listener->QueryInterface(NS_GET_IID(nsIDOMEventListener), (void **) aInstancePtrResult);   
}

Here is the caller graph for this function: