Change nsIDOMNSEditableElement to be a standalone interface that's not reflected through classinfo. Bug 303727, r+sr=jst.

This commit is contained in:
bryner%brianryner.com 2005-09-21 22:02:26 +00:00
Родитель 13e2c8b3f5
Коммит 1b1f42c9fa
4 изменённых файлов: 12 добавлений и 8 удалений

Просмотреть файл

@ -39,6 +39,7 @@
#include "nsIDOMHTMLInputElement.h" #include "nsIDOMHTMLInputElement.h"
#include "nsIDOMNSHTMLInputElement.h" #include "nsIDOMNSHTMLInputElement.h"
#include "nsITextControlElement.h" #include "nsITextControlElement.h"
#include "nsIDOMNSEditableElement.h"
#include "nsIRadioControlElement.h" #include "nsIRadioControlElement.h"
#include "nsIRadioVisitor.h" #include "nsIRadioVisitor.h"
#include "nsIPhonetic.h" #include "nsIPhonetic.h"
@ -136,7 +137,8 @@ class nsHTMLInputElement : public nsGenericHTMLFormElement,
public nsIDOMNSHTMLInputElement, public nsIDOMNSHTMLInputElement,
public nsITextControlElement, public nsITextControlElement,
public nsIRadioControlElement, public nsIRadioControlElement,
public nsIPhonetic public nsIPhonetic,
public nsIDOMNSEditableElement
{ {
public: public:
nsHTMLInputElement(nsINodeInfo *aNodeInfo, PRBool aFromParser); nsHTMLInputElement(nsINodeInfo *aNodeInfo, PRBool aFromParser);

Просмотреть файл

@ -39,6 +39,7 @@
#include "nsIDOMHTMLTextAreaElement.h" #include "nsIDOMHTMLTextAreaElement.h"
#include "nsIDOMNSHTMLTextAreaElement.h" #include "nsIDOMNSHTMLTextAreaElement.h"
#include "nsITextControlElement.h" #include "nsITextControlElement.h"
#include "nsIDOMNSEditableElement.h"
#include "nsIControllers.h" #include "nsIControllers.h"
#include "nsContentCID.h" #include "nsContentCID.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
@ -75,7 +76,8 @@ static NS_DEFINE_CID(kXULControllersCID, NS_XULCONTROLLERS_CID);
class nsHTMLTextAreaElement : public nsGenericHTMLFormElement, class nsHTMLTextAreaElement : public nsGenericHTMLFormElement,
public nsIDOMHTMLTextAreaElement, public nsIDOMHTMLTextAreaElement,
public nsIDOMNSHTMLTextAreaElement, public nsIDOMNSHTMLTextAreaElement,
public nsITextControlElement public nsITextControlElement,
public nsIDOMNSEditableElement
{ {
public: public:
nsHTMLTextAreaElement(nsINodeInfo *aNodeInfo, PRBool aFromParser = PR_FALSE); nsHTMLTextAreaElement(nsINodeInfo *aNodeInfo, PRBool aFromParser = PR_FALSE);

Просмотреть файл

@ -37,13 +37,13 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include "nsIDOMNSEditableElement.idl" #include "domstubs.idl"
interface nsIControllers; interface nsIControllers;
[scriptable, uuid(5e050532-1d12-4b98-ba20-6c883dc0d954)] [scriptable, uuid(993d2efc-a768-11d3-bccd-0060b0fc76bd)]
interface nsIDOMNSHTMLInputElement : nsIDOMNSEditableElement interface nsIDOMNSHTMLInputElement : nsISupports
{ {
readonly attribute nsIControllers controllers; readonly attribute nsIControllers controllers;

Просмотреть файл

@ -37,13 +37,13 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include "nsIDOMNSEditableElement.idl" #include "domstubs.idl"
interface nsIControllers; interface nsIControllers;
[scriptable, uuid(8aa7dadc-73f1-416e-9d1e-15bc63226938)] [scriptable, uuid(ca066b44-9ddf-11d3-bccc-0060b0fc76bd)]
interface nsIDOMNSHTMLTextAreaElement : nsIDOMNSEditableElement interface nsIDOMNSHTMLTextAreaElement : nsISupports
{ {
readonly attribute nsIControllers controllers; readonly attribute nsIControllers controllers;