1/*
2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserve
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB.  If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21module html {
22
23    interface [
24        HasOverridingNameGetter
25    ] HTMLFrameSetElement : HTMLElement {
26        attribute [Reflect] DOMString cols;
27        attribute [Reflect] DOMString rows;
28
29#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
30        // Event handler attributes
31        attribute [DontEnum, WindowEventListener] EventListener onbeforeunload;
32        attribute [DontEnum, WindowEventListener] EventListener onhashchange;
33        attribute [DontEnum, WindowEventListener] EventListener onmessage;
34        attribute [DontEnum, WindowEventListener] EventListener onoffline;
35        attribute [DontEnum, WindowEventListener] EventListener ononline;
36        attribute [DontEnum, WindowEventListener] EventListener onpopstate;
37        attribute [DontEnum, WindowEventListener] EventListener onresize;
38        attribute [DontEnum, WindowEventListener] EventListener onstorage;
39        attribute [DontEnum, WindowEventListener] EventListener onunload;
40
41#if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
42        attribute [DontEnum] EventListener onorientationchange;
43#endif
44
45        // Overrides of Element attributes (with different implementation in bindings).
46        attribute [DontEnum, WindowEventListener] EventListener onblur;
47        attribute [DontEnum, WindowEventListener] EventListener onerror;
48        attribute [DontEnum, WindowEventListener] EventListener onfocus;
49        attribute [DontEnum, WindowEventListener] EventListener onload;
50
51        // Not implemented yet.
52        // attribute [DontEnum, WindowEventListener] EventListener onafterprint;
53        // attribute [DontEnum, WindowEventListener] EventListener onbeforeprint;
54        // attribute [DontEnum, WindowEventListener] EventListener onredo;
55        // attribute [DontEnum, WindowEventListener] EventListener onundo;
56#endif
57    };
58
59}
60