2007-03-22 10:30:00 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
|
|
|
|
interface nsIAtom;
|
|
|
|
interface nsIDOMElement;
|
|
|
|
interface nsIDOMDocument;
|
|
|
|
|
2010-10-20 00:41:35 -07:00
|
|
|
[scriptable, uuid(3697f9ed-d8bc-4c00-890f-7a702d5b4005)]
|
2007-03-22 10:30:00 -07:00
|
|
|
interface nsIXTFElementWrapper : nsISupports
|
|
|
|
{
|
|
|
|
readonly attribute nsIDOMElement elementNode;
|
|
|
|
readonly attribute nsIDOMElement documentFrameElement;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Events can be unmasked by setting the corresponding bit as given
|
|
|
|
* by the NOTIFY_* constants in nsIXTFElement:
|
|
|
|
*/
|
|
|
|
attribute unsigned long notificationMask;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Sets the intrinsic state for the element.
|
|
|
|
* @see nsIContent::IntrinsicState().
|
|
|
|
*/
|
2010-10-20 00:41:35 -07:00
|
|
|
void setIntrinsicState(in unsigned long long newState);
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This sets the name of the class attribute.
|
|
|
|
* Should be called only during ::onCreated.
|
|
|
|
* Note! nsIXTFAttributeHandler can't be used to handle class attribute.
|
|
|
|
*/
|
|
|
|
void setClassAttributeName(in nsIAtom name);
|
|
|
|
};
|
|
|
|
|