Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsFileControlFrame.cpp File Reference
#include "nsFileControlFrame.h"
#include "nsIContent.h"
#include "prtypes.h"
#include "nsIAtom.h"
#include "nsPresContext.h"
#include "nsHTMLAtoms.h"
#include "nsWidgetsCID.h"
#include "nsIComponentManager.h"
#include "nsIView.h"
#include "nsHTMLParts.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIFormControl.h"
#include "nsINameSpaceManager.h"
#include "nsCOMPtr.h"
#include "nsISupportsArray.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocument.h"
#include "nsIDocument.h"
#include "nsIDOMMouseListener.h"
#include "nsIPresShell.h"
#include "nsXPCOM.h"
#include "nsISupportsPrimitives.h"
#include "nsIDOMWindowInternal.h"
#include "nsIFilePicker.h"
#include "nsIDOMMouseEvent.h"
#include "nsINodeInfo.h"
#include "nsIDOMEventReceiver.h"
#include "nsIScriptGlobalObject.h"
#include "nsILocalFile.h"
#include "nsIFileControlElement.h"
#include "nsNodeInfoManager.h"
#include "nsContentCreatorFunctions.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Defines

#define SYNC_TEXT   0x1
#define SYNC_BUTTON   0x2
#define SYNC_BOTH   0x3

Functions

nsresult NS_NewFileControlFrame (nsIPresShell *aPresShell, nsIFrame **aNewFrame)

Define Documentation

#define SYNC_BOTH   0x3

Definition at line 78 of file nsFileControlFrame.cpp.

#define SYNC_BUTTON   0x2

Definition at line 77 of file nsFileControlFrame.cpp.

#define SYNC_TEXT   0x1

Definition at line 76 of file nsFileControlFrame.cpp.


Function Documentation

nsresult NS_NewFileControlFrame ( nsIPresShell aPresShell,
nsIFrame **  aNewFrame 
)

Definition at line 81 of file nsFileControlFrame.cpp.

{
  NS_PRECONDITION(aNewFrame, "null OUT ptr");
  if (nsnull == aNewFrame) {
    return NS_ERROR_NULL_POINTER;
  }
  nsFileControlFrame* it = new (aPresShell) nsFileControlFrame();
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }
  *aNewFrame = it;
  return NS_OK;
}

Here is the caller graph for this function: