1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/interfaces/events/nsIDOMScrollAreaEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#include "nsIDOMUIEvent.idl" 1.10 + 1.11 +[scriptable, builtinclass, uuid(49ab3d1d-f549-4cdb-904c-f6b6d3a0ec9e)] 1.12 +interface nsIDOMScrollAreaEvent : nsIDOMUIEvent 1.13 +{ 1.14 + // Scroll area client rect 1.15 + readonly attribute float x; 1.16 + readonly attribute float y; 1.17 + readonly attribute float width; 1.18 + readonly attribute float height; 1.19 + 1.20 + void initScrollAreaEvent(in DOMString aEventType, 1.21 + in boolean aCanBubble, 1.22 + in boolean aCancelable, 1.23 + in nsIDOMWindow aView, 1.24 + in long aDetail, 1.25 + in float x, 1.26 + in float y, 1.27 + in float width, 1.28 + in float height); 1.29 +};