LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMHTMLTextAreaElement.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLTextAreaElement.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMHTMLTextAreaElement_h__
       6                 : #define __gen_nsIDOMHTMLTextAreaElement_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMHTMLElement_h__
      10                 : #include "nsIDOMHTMLElement.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIControllers; /* forward declaration */
      18                 : 
      19                 : class nsIDOMValidityState; /* forward declaration */
      20                 : 
      21                 : 
      22                 : /* starting interface:    nsIDOMHTMLTextAreaElement */
      23                 : #define NS_IDOMHTMLTEXTAREAELEMENT_IID_STR "16db703d-4816-440c-bcb3-c1ae0cae6532"
      24                 : 
      25                 : #define NS_IDOMHTMLTEXTAREAELEMENT_IID \
      26                 :   {0x16db703d, 0x4816, 0x440c, \
      27                 :     { 0xbc, 0xb3, 0xc1, 0xae, 0x0c, 0xae, 0x65, 0x32 }}
      28                 : 
      29               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTextAreaElement : public nsIDOMHTMLElement {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTEXTAREAELEMENT_IID)
      33                 : 
      34                 :   /* attribute boolean autofocus; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetAutofocus(bool *aAutofocus) = 0;
      36                 :   NS_SCRIPTABLE NS_IMETHOD SetAutofocus(bool aAutofocus) = 0;
      37                 : 
      38                 :   /* attribute unsigned long cols; */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetCols(PRUint32 *aCols) = 0;
      40                 :   NS_SCRIPTABLE NS_IMETHOD SetCols(PRUint32 aCols) = 0;
      41                 : 
      42                 :   /* attribute boolean disabled; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      44                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
      45                 : 
      46                 :   /* readonly attribute nsIDOMHTMLFormElement form; */
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
      48                 : 
      49                 :   /* attribute long maxLength; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) = 0;
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) = 0;
      52                 : 
      53                 :   /* attribute DOMString name; */
      54                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
      55                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) = 0;
      56                 : 
      57                 :   /* attribute DOMString placeholder; */
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetPlaceholder(nsAString & aPlaceholder) = 0;
      59                 :   NS_SCRIPTABLE NS_IMETHOD SetPlaceholder(const nsAString & aPlaceholder) = 0;
      60                 : 
      61                 :   /* attribute boolean readOnly; */
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetReadOnly(bool *aReadOnly) = 0;
      63                 :   NS_SCRIPTABLE NS_IMETHOD SetReadOnly(bool aReadOnly) = 0;
      64                 : 
      65                 :   /* attribute boolean required; */
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetRequired(bool *aRequired) = 0;
      67                 :   NS_SCRIPTABLE NS_IMETHOD SetRequired(bool aRequired) = 0;
      68                 : 
      69                 :   /* attribute unsigned long rows; */
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetRows(PRUint32 *aRows) = 0;
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetRows(PRUint32 aRows) = 0;
      72                 : 
      73                 :   /* [Null(Stringify)] attribute DOMString wrap; */
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetWrap(nsAString & aWrap) = 0;
      75                 :   NS_SCRIPTABLE NS_IMETHOD SetWrap(const nsAString & aWrap) = 0;
      76                 : 
      77                 :   /* readonly attribute DOMString type; */
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
      79                 : 
      80                 :   /* attribute DOMString defaultValue; */
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) = 0;
      82                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) = 0;
      83                 : 
      84                 :   /* attribute DOMString value; */
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) = 0;
      86                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) = 0;
      87                 : 
      88                 :   /* readonly attribute long textLength; */
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetTextLength(PRInt32 *aTextLength) = 0;
      90                 : 
      91                 :   /* readonly attribute boolean willValidate; */
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) = 0;
      93                 : 
      94                 :   /* readonly attribute nsIDOMValidityState validity; */
      95                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) = 0;
      96                 : 
      97                 :   /* readonly attribute DOMString validationMessage; */
      98                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) = 0;
      99                 : 
     100                 :   /* boolean checkValidity (); */
     101                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) = 0;
     102                 : 
     103                 :   /* void setCustomValidity (in DOMString error); */
     104                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) = 0;
     105                 : 
     106                 :   /* void select (); */
     107                 :   NS_SCRIPTABLE NS_IMETHOD Select(void) = 0;
     108                 : 
     109                 :   /* attribute long selectionStart; */
     110                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) = 0;
     111                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionStart(PRInt32 aSelectionStart) = 0;
     112                 : 
     113                 :   /* attribute long selectionEnd; */
     114                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) = 0;
     115                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionEnd(PRInt32 aSelectionEnd) = 0;
     116                 : 
     117                 :   /* void setSelectionRange (in long selectionStart, in long selectionEnd, [optional] in DOMString direction); */
     118                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString & direction) = 0;
     119                 : 
     120                 :   /* attribute DOMString selectionDirection; */
     121                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionDirection(nsAString & aSelectionDirection) = 0;
     122                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionDirection(const nsAString & aSelectionDirection) = 0;
     123                 : 
     124                 :   /* readonly attribute nsIControllers controllers; */
     125                 :   NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) = 0;
     126                 : 
     127                 : };
     128                 : 
     129                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTextAreaElement, NS_IDOMHTMLTEXTAREAELEMENT_IID)
     130                 : 
     131                 : /* Use this macro when declaring classes that implement this interface. */
     132                 : #define NS_DECL_NSIDOMHTMLTEXTAREAELEMENT \
     133                 :   NS_SCRIPTABLE NS_IMETHOD GetAutofocus(bool *aAutofocus); \
     134                 :   NS_SCRIPTABLE NS_IMETHOD SetAutofocus(bool aAutofocus); \
     135                 :   NS_SCRIPTABLE NS_IMETHOD GetCols(PRUint32 *aCols); \
     136                 :   NS_SCRIPTABLE NS_IMETHOD SetCols(PRUint32 aCols); \
     137                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
     138                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
     139                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); \
     140                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength); \
     141                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength); \
     142                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
     143                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName); \
     144                 :   NS_SCRIPTABLE NS_IMETHOD GetPlaceholder(nsAString & aPlaceholder); \
     145                 :   NS_SCRIPTABLE NS_IMETHOD SetPlaceholder(const nsAString & aPlaceholder); \
     146                 :   NS_SCRIPTABLE NS_IMETHOD GetReadOnly(bool *aReadOnly); \
     147                 :   NS_SCRIPTABLE NS_IMETHOD SetReadOnly(bool aReadOnly); \
     148                 :   NS_SCRIPTABLE NS_IMETHOD GetRequired(bool *aRequired); \
     149                 :   NS_SCRIPTABLE NS_IMETHOD SetRequired(bool aRequired); \
     150                 :   NS_SCRIPTABLE NS_IMETHOD GetRows(PRUint32 *aRows); \
     151                 :   NS_SCRIPTABLE NS_IMETHOD SetRows(PRUint32 aRows); \
     152                 :   NS_SCRIPTABLE NS_IMETHOD GetWrap(nsAString & aWrap); \
     153                 :   NS_SCRIPTABLE NS_IMETHOD SetWrap(const nsAString & aWrap); \
     154                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
     155                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue); \
     156                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue); \
     157                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue); \
     158                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue); \
     159                 :   NS_SCRIPTABLE NS_IMETHOD GetTextLength(PRInt32 *aTextLength); \
     160                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate); \
     161                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity); \
     162                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage); \
     163                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM); \
     164                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error); \
     165                 :   NS_SCRIPTABLE NS_IMETHOD Select(void); \
     166                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart); \
     167                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionStart(PRInt32 aSelectionStart); \
     168                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd); \
     169                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionEnd(PRInt32 aSelectionEnd); \
     170                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString & direction); \
     171                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionDirection(nsAString & aSelectionDirection); \
     172                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionDirection(const nsAString & aSelectionDirection); \
     173                 :   NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers); 
     174                 : 
     175                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     176                 : #define NS_FORWARD_NSIDOMHTMLTEXTAREAELEMENT(_to) \
     177                 :   NS_SCRIPTABLE NS_IMETHOD GetAutofocus(bool *aAutofocus) { return _to GetAutofocus(aAutofocus); } \
     178                 :   NS_SCRIPTABLE NS_IMETHOD SetAutofocus(bool aAutofocus) { return _to SetAutofocus(aAutofocus); } \
     179                 :   NS_SCRIPTABLE NS_IMETHOD GetCols(PRUint32 *aCols) { return _to GetCols(aCols); } \
     180                 :   NS_SCRIPTABLE NS_IMETHOD SetCols(PRUint32 aCols) { return _to SetCols(aCols); } \
     181                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
     182                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
     183                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } \
     184                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return _to GetMaxLength(aMaxLength); } \
     185                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) { return _to SetMaxLength(aMaxLength); } \
     186                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
     187                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return _to SetName(aName); } \
     188                 :   NS_SCRIPTABLE NS_IMETHOD GetPlaceholder(nsAString & aPlaceholder) { return _to GetPlaceholder(aPlaceholder); } \
     189                 :   NS_SCRIPTABLE NS_IMETHOD SetPlaceholder(const nsAString & aPlaceholder) { return _to SetPlaceholder(aPlaceholder); } \
     190                 :   NS_SCRIPTABLE NS_IMETHOD GetReadOnly(bool *aReadOnly) { return _to GetReadOnly(aReadOnly); } \
     191                 :   NS_SCRIPTABLE NS_IMETHOD SetReadOnly(bool aReadOnly) { return _to SetReadOnly(aReadOnly); } \
     192                 :   NS_SCRIPTABLE NS_IMETHOD GetRequired(bool *aRequired) { return _to GetRequired(aRequired); } \
     193                 :   NS_SCRIPTABLE NS_IMETHOD SetRequired(bool aRequired) { return _to SetRequired(aRequired); } \
     194                 :   NS_SCRIPTABLE NS_IMETHOD GetRows(PRUint32 *aRows) { return _to GetRows(aRows); } \
     195                 :   NS_SCRIPTABLE NS_IMETHOD SetRows(PRUint32 aRows) { return _to SetRows(aRows); } \
     196                 :   NS_SCRIPTABLE NS_IMETHOD GetWrap(nsAString & aWrap) { return _to GetWrap(aWrap); } \
     197                 :   NS_SCRIPTABLE NS_IMETHOD SetWrap(const nsAString & aWrap) { return _to SetWrap(aWrap); } \
     198                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
     199                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
     200                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
     201                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return _to GetValue(aValue); } \
     202                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return _to SetValue(aValue); } \
     203                 :   NS_SCRIPTABLE NS_IMETHOD GetTextLength(PRInt32 *aTextLength) { return _to GetTextLength(aTextLength); } \
     204                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) { return _to GetWillValidate(aWillValidate); } \
     205                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) { return _to GetValidity(aValidity); } \
     206                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) { return _to GetValidationMessage(aValidationMessage); } \
     207                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) { return _to CheckValidity(_retval); } \
     208                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) { return _to SetCustomValidity(error); } \
     209                 :   NS_SCRIPTABLE NS_IMETHOD Select(void) { return _to Select(); } \
     210                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return _to GetSelectionStart(aSelectionStart); } \
     211                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionStart(PRInt32 aSelectionStart) { return _to SetSelectionStart(aSelectionStart); } \
     212                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return _to GetSelectionEnd(aSelectionEnd); } \
     213                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionEnd(PRInt32 aSelectionEnd) { return _to SetSelectionEnd(aSelectionEnd); } \
     214                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString & direction) { return _to SetSelectionRange(selectionStart, selectionEnd, direction); } \
     215                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionDirection(nsAString & aSelectionDirection) { return _to GetSelectionDirection(aSelectionDirection); } \
     216                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionDirection(const nsAString & aSelectionDirection) { return _to SetSelectionDirection(aSelectionDirection); } \
     217                 :   NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) { return _to GetControllers(aControllers); } 
     218                 : 
     219                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     220                 : #define NS_FORWARD_SAFE_NSIDOMHTMLTEXTAREAELEMENT(_to) \
     221                 :   NS_SCRIPTABLE NS_IMETHOD GetAutofocus(bool *aAutofocus) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutofocus(aAutofocus); } \
     222                 :   NS_SCRIPTABLE NS_IMETHOD SetAutofocus(bool aAutofocus) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutofocus(aAutofocus); } \
     223                 :   NS_SCRIPTABLE NS_IMETHOD GetCols(PRUint32 *aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCols(aCols); } \
     224                 :   NS_SCRIPTABLE NS_IMETHOD SetCols(PRUint32 aCols) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCols(aCols); } \
     225                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
     226                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
     227                 :   NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } \
     228                 :   NS_SCRIPTABLE NS_IMETHOD GetMaxLength(PRInt32 *aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxLength(aMaxLength); } \
     229                 :   NS_SCRIPTABLE NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxLength(aMaxLength); } \
     230                 :   NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
     231                 :   NS_SCRIPTABLE NS_IMETHOD SetName(const nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetName(aName); } \
     232                 :   NS_SCRIPTABLE NS_IMETHOD GetPlaceholder(nsAString & aPlaceholder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlaceholder(aPlaceholder); } \
     233                 :   NS_SCRIPTABLE NS_IMETHOD SetPlaceholder(const nsAString & aPlaceholder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPlaceholder(aPlaceholder); } \
     234                 :   NS_SCRIPTABLE NS_IMETHOD GetReadOnly(bool *aReadOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReadOnly(aReadOnly); } \
     235                 :   NS_SCRIPTABLE NS_IMETHOD SetReadOnly(bool aReadOnly) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReadOnly(aReadOnly); } \
     236                 :   NS_SCRIPTABLE NS_IMETHOD GetRequired(bool *aRequired) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequired(aRequired); } \
     237                 :   NS_SCRIPTABLE NS_IMETHOD SetRequired(bool aRequired) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRequired(aRequired); } \
     238                 :   NS_SCRIPTABLE NS_IMETHOD GetRows(PRUint32 *aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
     239                 :   NS_SCRIPTABLE NS_IMETHOD SetRows(PRUint32 aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRows(aRows); } \
     240                 :   NS_SCRIPTABLE NS_IMETHOD GetWrap(nsAString & aWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWrap(aWrap); } \
     241                 :   NS_SCRIPTABLE NS_IMETHOD SetWrap(const nsAString & aWrap) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWrap(aWrap); } \
     242                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
     243                 :   NS_SCRIPTABLE NS_IMETHOD GetDefaultValue(nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultValue(aDefaultValue); } \
     244                 :   NS_SCRIPTABLE NS_IMETHOD SetDefaultValue(const nsAString & aDefaultValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDefaultValue(aDefaultValue); } \
     245                 :   NS_SCRIPTABLE NS_IMETHOD GetValue(nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
     246                 :   NS_SCRIPTABLE NS_IMETHOD SetValue(const nsAString & aValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
     247                 :   NS_SCRIPTABLE NS_IMETHOD GetTextLength(PRInt32 *aTextLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTextLength(aTextLength); } \
     248                 :   NS_SCRIPTABLE NS_IMETHOD GetWillValidate(bool *aWillValidate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWillValidate(aWillValidate); } \
     249                 :   NS_SCRIPTABLE NS_IMETHOD GetValidity(nsIDOMValidityState * *aValidity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidity(aValidity); } \
     250                 :   NS_SCRIPTABLE NS_IMETHOD GetValidationMessage(nsAString & aValidationMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidationMessage(aValidationMessage); } \
     251                 :   NS_SCRIPTABLE NS_IMETHOD CheckValidity(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckValidity(_retval); } \
     252                 :   NS_SCRIPTABLE NS_IMETHOD SetCustomValidity(const nsAString & error) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomValidity(error); } \
     253                 :   NS_SCRIPTABLE NS_IMETHOD Select(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(); } \
     254                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionStart(PRInt32 *aSelectionStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionStart(aSelectionStart); } \
     255                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionStart(PRInt32 aSelectionStart) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionStart(aSelectionStart); } \
     256                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionEnd(PRInt32 *aSelectionEnd) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionEnd(aSelectionEnd); } \
     257                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionEnd(PRInt32 aSelectionEnd) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionEnd(aSelectionEnd); } \
     258                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString & direction) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionRange(selectionStart, selectionEnd, direction); } \
     259                 :   NS_SCRIPTABLE NS_IMETHOD GetSelectionDirection(nsAString & aSelectionDirection) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectionDirection(aSelectionDirection); } \
     260                 :   NS_SCRIPTABLE NS_IMETHOD SetSelectionDirection(const nsAString & aSelectionDirection) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectionDirection(aSelectionDirection); } \
     261                 :   NS_SCRIPTABLE NS_IMETHOD GetControllers(nsIControllers * *aControllers) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetControllers(aControllers); } 
     262                 : 
     263                 : #if 0
     264                 : /* Use the code below as a template for the implementation class for this interface. */
     265                 : 
     266                 : /* Header file */
     267                 : class nsDOMHTMLTextAreaElement : public nsIDOMHTMLTextAreaElement
     268                 : {
     269                 : public:
     270                 :   NS_DECL_ISUPPORTS
     271                 :   NS_DECL_NSIDOMHTMLTEXTAREAELEMENT
     272                 : 
     273                 :   nsDOMHTMLTextAreaElement();
     274                 : 
     275                 : private:
     276                 :   ~nsDOMHTMLTextAreaElement();
     277                 : 
     278                 : protected:
     279                 :   /* additional members */
     280                 : };
     281                 : 
     282                 : /* Implementation file */
     283                 : NS_IMPL_ISUPPORTS1(nsDOMHTMLTextAreaElement, nsIDOMHTMLTextAreaElement)
     284                 : 
     285                 : nsDOMHTMLTextAreaElement::nsDOMHTMLTextAreaElement()
     286                 : {
     287                 :   /* member initializers and constructor code */
     288                 : }
     289                 : 
     290                 : nsDOMHTMLTextAreaElement::~nsDOMHTMLTextAreaElement()
     291                 : {
     292                 :   /* destructor code */
     293                 : }
     294                 : 
     295                 : /* attribute boolean autofocus; */
     296                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetAutofocus(bool *aAutofocus)
     297                 : {
     298                 :     return NS_ERROR_NOT_IMPLEMENTED;
     299                 : }
     300                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetAutofocus(bool aAutofocus)
     301                 : {
     302                 :     return NS_ERROR_NOT_IMPLEMENTED;
     303                 : }
     304                 : 
     305                 : /* attribute unsigned long cols; */
     306                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetCols(PRUint32 *aCols)
     307                 : {
     308                 :     return NS_ERROR_NOT_IMPLEMENTED;
     309                 : }
     310                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetCols(PRUint32 aCols)
     311                 : {
     312                 :     return NS_ERROR_NOT_IMPLEMENTED;
     313                 : }
     314                 : 
     315                 : /* attribute boolean disabled; */
     316                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetDisabled(bool *aDisabled)
     317                 : {
     318                 :     return NS_ERROR_NOT_IMPLEMENTED;
     319                 : }
     320                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetDisabled(bool aDisabled)
     321                 : {
     322                 :     return NS_ERROR_NOT_IMPLEMENTED;
     323                 : }
     324                 : 
     325                 : /* readonly attribute nsIDOMHTMLFormElement form; */
     326                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetForm(nsIDOMHTMLFormElement * *aForm)
     327                 : {
     328                 :     return NS_ERROR_NOT_IMPLEMENTED;
     329                 : }
     330                 : 
     331                 : /* attribute long maxLength; */
     332                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetMaxLength(PRInt32 *aMaxLength)
     333                 : {
     334                 :     return NS_ERROR_NOT_IMPLEMENTED;
     335                 : }
     336                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetMaxLength(PRInt32 aMaxLength)
     337                 : {
     338                 :     return NS_ERROR_NOT_IMPLEMENTED;
     339                 : }
     340                 : 
     341                 : /* attribute DOMString name; */
     342                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetName(nsAString & aName)
     343                 : {
     344                 :     return NS_ERROR_NOT_IMPLEMENTED;
     345                 : }
     346                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetName(const nsAString & aName)
     347                 : {
     348                 :     return NS_ERROR_NOT_IMPLEMENTED;
     349                 : }
     350                 : 
     351                 : /* attribute DOMString placeholder; */
     352                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetPlaceholder(nsAString & aPlaceholder)
     353                 : {
     354                 :     return NS_ERROR_NOT_IMPLEMENTED;
     355                 : }
     356                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetPlaceholder(const nsAString & aPlaceholder)
     357                 : {
     358                 :     return NS_ERROR_NOT_IMPLEMENTED;
     359                 : }
     360                 : 
     361                 : /* attribute boolean readOnly; */
     362                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetReadOnly(bool *aReadOnly)
     363                 : {
     364                 :     return NS_ERROR_NOT_IMPLEMENTED;
     365                 : }
     366                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetReadOnly(bool aReadOnly)
     367                 : {
     368                 :     return NS_ERROR_NOT_IMPLEMENTED;
     369                 : }
     370                 : 
     371                 : /* attribute boolean required; */
     372                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetRequired(bool *aRequired)
     373                 : {
     374                 :     return NS_ERROR_NOT_IMPLEMENTED;
     375                 : }
     376                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetRequired(bool aRequired)
     377                 : {
     378                 :     return NS_ERROR_NOT_IMPLEMENTED;
     379                 : }
     380                 : 
     381                 : /* attribute unsigned long rows; */
     382                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetRows(PRUint32 *aRows)
     383                 : {
     384                 :     return NS_ERROR_NOT_IMPLEMENTED;
     385                 : }
     386                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetRows(PRUint32 aRows)
     387                 : {
     388                 :     return NS_ERROR_NOT_IMPLEMENTED;
     389                 : }
     390                 : 
     391                 : /* [Null(Stringify)] attribute DOMString wrap; */
     392                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetWrap(nsAString & aWrap)
     393                 : {
     394                 :     return NS_ERROR_NOT_IMPLEMENTED;
     395                 : }
     396                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetWrap(const nsAString & aWrap)
     397                 : {
     398                 :     return NS_ERROR_NOT_IMPLEMENTED;
     399                 : }
     400                 : 
     401                 : /* readonly attribute DOMString type; */
     402                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetType(nsAString & aType)
     403                 : {
     404                 :     return NS_ERROR_NOT_IMPLEMENTED;
     405                 : }
     406                 : 
     407                 : /* attribute DOMString defaultValue; */
     408                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetDefaultValue(nsAString & aDefaultValue)
     409                 : {
     410                 :     return NS_ERROR_NOT_IMPLEMENTED;
     411                 : }
     412                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetDefaultValue(const nsAString & aDefaultValue)
     413                 : {
     414                 :     return NS_ERROR_NOT_IMPLEMENTED;
     415                 : }
     416                 : 
     417                 : /* attribute DOMString value; */
     418                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetValue(nsAString & aValue)
     419                 : {
     420                 :     return NS_ERROR_NOT_IMPLEMENTED;
     421                 : }
     422                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetValue(const nsAString & aValue)
     423                 : {
     424                 :     return NS_ERROR_NOT_IMPLEMENTED;
     425                 : }
     426                 : 
     427                 : /* readonly attribute long textLength; */
     428                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetTextLength(PRInt32 *aTextLength)
     429                 : {
     430                 :     return NS_ERROR_NOT_IMPLEMENTED;
     431                 : }
     432                 : 
     433                 : /* readonly attribute boolean willValidate; */
     434                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetWillValidate(bool *aWillValidate)
     435                 : {
     436                 :     return NS_ERROR_NOT_IMPLEMENTED;
     437                 : }
     438                 : 
     439                 : /* readonly attribute nsIDOMValidityState validity; */
     440                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetValidity(nsIDOMValidityState * *aValidity)
     441                 : {
     442                 :     return NS_ERROR_NOT_IMPLEMENTED;
     443                 : }
     444                 : 
     445                 : /* readonly attribute DOMString validationMessage; */
     446                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetValidationMessage(nsAString & aValidationMessage)
     447                 : {
     448                 :     return NS_ERROR_NOT_IMPLEMENTED;
     449                 : }
     450                 : 
     451                 : /* boolean checkValidity (); */
     452                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::CheckValidity(bool *_retval NS_OUTPARAM)
     453                 : {
     454                 :     return NS_ERROR_NOT_IMPLEMENTED;
     455                 : }
     456                 : 
     457                 : /* void setCustomValidity (in DOMString error); */
     458                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetCustomValidity(const nsAString & error)
     459                 : {
     460                 :     return NS_ERROR_NOT_IMPLEMENTED;
     461                 : }
     462                 : 
     463                 : /* void select (); */
     464                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::Select()
     465                 : {
     466                 :     return NS_ERROR_NOT_IMPLEMENTED;
     467                 : }
     468                 : 
     469                 : /* attribute long selectionStart; */
     470                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetSelectionStart(PRInt32 *aSelectionStart)
     471                 : {
     472                 :     return NS_ERROR_NOT_IMPLEMENTED;
     473                 : }
     474                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetSelectionStart(PRInt32 aSelectionStart)
     475                 : {
     476                 :     return NS_ERROR_NOT_IMPLEMENTED;
     477                 : }
     478                 : 
     479                 : /* attribute long selectionEnd; */
     480                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetSelectionEnd(PRInt32 *aSelectionEnd)
     481                 : {
     482                 :     return NS_ERROR_NOT_IMPLEMENTED;
     483                 : }
     484                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetSelectionEnd(PRInt32 aSelectionEnd)
     485                 : {
     486                 :     return NS_ERROR_NOT_IMPLEMENTED;
     487                 : }
     488                 : 
     489                 : /* void setSelectionRange (in long selectionStart, in long selectionEnd, [optional] in DOMString direction); */
     490                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString & direction)
     491                 : {
     492                 :     return NS_ERROR_NOT_IMPLEMENTED;
     493                 : }
     494                 : 
     495                 : /* attribute DOMString selectionDirection; */
     496                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetSelectionDirection(nsAString & aSelectionDirection)
     497                 : {
     498                 :     return NS_ERROR_NOT_IMPLEMENTED;
     499                 : }
     500                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::SetSelectionDirection(const nsAString & aSelectionDirection)
     501                 : {
     502                 :     return NS_ERROR_NOT_IMPLEMENTED;
     503                 : }
     504                 : 
     505                 : /* readonly attribute nsIControllers controllers; */
     506                 : NS_IMETHODIMP nsDOMHTMLTextAreaElement::GetControllers(nsIControllers * *aControllers)
     507                 : {
     508                 :     return NS_ERROR_NOT_IMPLEMENTED;
     509                 : }
     510                 : 
     511                 : /* End of implementation class template. */
     512                 : #endif
     513                 : 
     514                 : 
     515                 : #endif /* __gen_nsIDOMHTMLTextAreaElement_h__ */

Generated by: LCOV version 1.7