зеркало из https://github.com/mozilla/pjs.git
DOM extension for exposing text areas to XUL
bug 12022, r=rickg
This commit is contained in:
Родитель
887a432805
Коммит
04cfddc50d
|
@ -57,6 +57,7 @@ nsIDOMHTMLTableElement.h
|
|||
nsIDOMHTMLTableRowElement.h
|
||||
nsIDOMHTMLTableSectionElement.h
|
||||
nsIDOMHTMLTextAreaElement.h
|
||||
nsIDOMNSHTMLTextAreaElement.h
|
||||
nsIDOMHTMLTitleElement.h
|
||||
nsIDOMHTMLUListElement.h
|
||||
nsIDOMImage.h
|
||||
|
|
|
@ -86,6 +86,7 @@ EXPORTS = \
|
|||
nsIDOMHTMLTableRowElement.h \
|
||||
nsIDOMHTMLTableSectionElement.h \
|
||||
nsIDOMHTMLTextAreaElement.h \
|
||||
nsIDOMNSHTMLTextAreaElement.h \
|
||||
nsIDOMHTMLTitleElement.h \
|
||||
nsIDOMHTMLUListElement.h \
|
||||
nsIDOMImage.h \
|
||||
|
|
|
@ -84,6 +84,7 @@ EXPORTS2= \
|
|||
nsIDOMHTMLTableRowElement.h \
|
||||
nsIDOMHTMLTableSectionElement.h \
|
||||
nsIDOMHTMLTextAreaElement.h \
|
||||
nsIDOMNSHTMLTextAreaElement.h \
|
||||
nsIDOMHTMLTitleElement.h \
|
||||
nsIDOMHTMLUListElement.h \
|
||||
nsIDOMHTMLEmbedElement.h \
|
||||
|
|
|
@ -0,0 +1,54 @@
|
|||
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
/* AUTO-GENERATED. DO NOT EDIT!!! */
|
||||
|
||||
#ifndef nsIDOMNSHTMLTextAreaElement_h__
|
||||
#define nsIDOMNSHTMLTextAreaElement_h__
|
||||
|
||||
#include "nsISupports.h"
|
||||
#include "nsString.h"
|
||||
#include "nsIScriptContext.h"
|
||||
|
||||
class nsIControllers;
|
||||
|
||||
#define NS_IDOMNSHTMLTEXTAREAELEMENT_IID \
|
||||
{ 0xca066b44, 0x9ddf, 0x11d3, \
|
||||
{ 0xbc, 0xcc, 0x00, 0x60, 0xb0, 0xfc, 0x76, 0xbd } }
|
||||
|
||||
class nsIDOMNSHTMLTextAreaElement : public nsISupports {
|
||||
public:
|
||||
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNSHTMLTEXTAREAELEMENT_IID; return iid; }
|
||||
|
||||
NS_IMETHOD GetControllers(nsIControllers** aControllers)=0;
|
||||
};
|
||||
|
||||
|
||||
#define NS_DECL_IDOMNSHTMLTEXTAREAELEMENT \
|
||||
NS_IMETHOD GetControllers(nsIControllers** aControllers); \
|
||||
|
||||
|
||||
|
||||
#define NS_FORWARD_IDOMNSHTMLTEXTAREAELEMENT(_to) \
|
||||
NS_IMETHOD GetControllers(nsIControllers** aControllers) { return _to GetControllers(aControllers); } \
|
||||
|
||||
|
||||
#endif // nsIDOMNSHTMLTextAreaElement_h__
|
|
@ -1,19 +0,0 @@
|
|||
interface HTMLTextAreaElement : HTMLElement {
|
||||
/* IID: { 0xa6cf9094, 0x15b3, 0x11d2, \
|
||||
{ 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 } } */
|
||||
|
||||
attribute DOMString defaultValue;
|
||||
readonly attribute HTMLFormElement form;
|
||||
attribute DOMString accessKey;
|
||||
attribute long cols;
|
||||
attribute boolean disabled;
|
||||
attribute DOMString name;
|
||||
attribute boolean readOnly;
|
||||
attribute long rows;
|
||||
attribute long tabIndex;
|
||||
readonly attribute DOMString type;
|
||||
attribute DOMString value;
|
||||
void blur();
|
||||
void focus();
|
||||
void select();
|
||||
};
|
Загрузка…
Ссылка в новой задаче