|
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 #include "nsIDOMUIEvent.idl" |
|
7 |
|
8 [scriptable, builtinclass, uuid(49ab3d1d-f549-4cdb-904c-f6b6d3a0ec9e)] |
|
9 interface nsIDOMScrollAreaEvent : nsIDOMUIEvent |
|
10 { |
|
11 // Scroll area client rect |
|
12 readonly attribute float x; |
|
13 readonly attribute float y; |
|
14 readonly attribute float width; |
|
15 readonly attribute float height; |
|
16 |
|
17 void initScrollAreaEvent(in DOMString aEventType, |
|
18 in boolean aCanBubble, |
|
19 in boolean aCancelable, |
|
20 in nsIDOMWindow aView, |
|
21 in long aDetail, |
|
22 in float x, |
|
23 in float y, |
|
24 in float width, |
|
25 in float height); |
|
26 }; |