Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXFormsInputElement.cpp File Reference
#include "nsXFormsDelegateStub.h"
#include "nsISchema.h"
#include "nsIStringBundle.h"
#include "nsServiceManagerUtils.h"

Go to the source code of this file.

Classes

class  nsXFormsInputElement
class  nsXFormsTextareaElement

Functions

 NS_NewXFormsInputElement (nsIXTFElement **aResult)
 NS_NewXFormsSecretElement (nsIXTFElement **aResult)
 NS_NewXFormsTextAreaElement (nsIXTFElement **aResult)

Function Documentation

Definition at line 151 of file nsXFormsInputElement.cpp.

{
  *aResult = new nsXFormsInputElement(NS_LITERAL_STRING("input"));
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 162 of file nsXFormsInputElement.cpp.

{
  *aResult = new nsXFormsInputElement(NS_LITERAL_STRING("secret"));
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 173 of file nsXFormsInputElement.cpp.

{
  *aResult = new nsXFormsTextareaElement();
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: