// Copyright (c) 2008, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. // * Neither the name of Google Inc. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. module events { #if defined(V8_BINDING) interface EventTargetNode : Node, EventTarget { attribute [DontEnum, Custom=ElementEventHandler] DOMString onabort; attribute [DontEnum, Custom=ElementEventHandler] DOMString onbeforecopy; attribute [DontEnum, Custom=ElementEventHandler] DOMString onbeforecut; attribute [DontEnum, Custom=ElementEventHandler] DOMString onbeforepaste; attribute [DontEnum, Custom=ElementEventHandler] DOMString onblur; attribute [DontEnum, Custom=ElementEventHandler] DOMString onchange; attribute [DontEnum, Custom=ElementEventHandler] DOMString onclick; attribute [DontEnum, Custom=ElementEventHandler] DOMString oncontextmenu; attribute [DontEnum, Custom=ElementEventHandler] DOMString oncopy; attribute [DontEnum, Custom=ElementEventHandler] DOMString oncut; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondblclick; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondrag; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondragend; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondragenter; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondragleave; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondragover; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondragstart; attribute [DontEnum, Custom=ElementEventHandler] DOMString ondrop; attribute [DontEnum, Custom=ElementEventHandler] DOMString onerror; attribute [DontEnum, Custom=ElementEventHandler] DOMString onfocus; attribute [DontEnum, Custom=ElementEventHandler] DOMString oninput; attribute [DontEnum, Custom=ElementEventHandler] DOMString onkeydown; attribute [DontEnum, Custom=ElementEventHandler] DOMString onkeypress; attribute [DontEnum, Custom=ElementEventHandler] DOMString onkeyup; attribute [DontEnum, Custom=ElementEventHandler] DOMString onload; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmousedown; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmousemove; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmouseout; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmouseover; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmouseup; attribute [DontEnum, Custom=ElementEventHandler] DOMString onmousewheel; attribute [DontEnum, Custom=ElementEventHandler] DOMString onoverflowchanged; attribute [DontEnum, Custom=ElementEventHandler] DOMString onbeforeunload; attribute [DontEnum, Custom=ElementEventHandler] DOMString onpaste; attribute [DontEnum, Custom=ElementEventHandler] DOMString onreadystatechange; attribute [DontEnum, Custom=ElementEventHandler] DOMString onreset; attribute [DontEnum, Custom=ElementEventHandler] DOMString onresize; attribute [DontEnum, Custom=ElementEventHandler] DOMString onscroll; attribute [DontEnum, Custom=ElementEventHandler] DOMString onsearch; attribute [DontEnum, Custom=ElementEventHandler] DOMString onselect; attribute [DontEnum, Custom=ElementEventHandler] DOMString onselectstart; attribute [DontEnum, Custom=ElementEventHandler] DOMString onsubmit; attribute [DontEnum, Custom=ElementEventHandler] DOMString ontextInput; attribute [DontEnum, Custom=ElementEventHandler] DOMString onunload; attribute [DontEnum, Custom=ElementEventHandler] DOMString onzoom; }; #endif }