Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: Source/core/html/HTMLBodyElement.idl

Issue 48603002: Implement WindowEventHandlers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/html/HTMLBodyElement.cpp ('k') | Source/core/html/HTMLFrameSetElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 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 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, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 interface HTMLBodyElement : HTMLElement { 21 interface HTMLBodyElement : HTMLElement {
22 [Reflect, TreatNullAs=NullString] attribute DOMString aLink; 22 [Reflect, TreatNullAs=NullString] attribute DOMString aLink;
23 [Reflect, TreatNullAs=NullString] attribute DOMString background; 23 [Reflect, TreatNullAs=NullString] attribute DOMString background;
24 [Reflect, TreatNullAs=NullString] attribute DOMString bgColor; 24 [Reflect, TreatNullAs=NullString] attribute DOMString bgColor;
25 [Reflect, TreatNullAs=NullString] attribute DOMString link; 25 [Reflect, TreatNullAs=NullString] attribute DOMString link;
26 [Reflect, TreatNullAs=NullString] attribute DOMString text; 26 [Reflect, TreatNullAs=NullString] attribute DOMString text;
27 [Reflect, TreatNullAs=NullString] attribute DOMString vLink; 27 [Reflect, TreatNullAs=NullString] attribute DOMString vLink;
28 28
29 // Event handler attributes
30 attribute EventHandler onbeforeunload;
31 attribute EventHandler onhashchange;
32 attribute EventHandler onmessage;
33 attribute EventHandler onoffline;
34 attribute EventHandler ononline;
35 attribute EventHandler onpopstate;
36 attribute EventHandler onresize;
37 attribute EventHandler onstorage;
38 attribute EventHandler onunload;
39
40 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange; 29 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
41 30
42 // Overrides of GlobalEventHandler attributes 31 // Overrides of GlobalEventHandler attributes
43 attribute EventHandler onblur; 32 attribute EventHandler onblur;
44 attribute EventHandler onerror; 33 attribute EventHandler onerror;
45 attribute EventHandler onfocus; 34 attribute EventHandler onfocus;
46 attribute EventHandler onload; 35 attribute EventHandler onload;
47 attribute EventHandler onscroll; 36 attribute EventHandler onscroll;
48
49 // Not implemented yet.
50 // attribute EventHandler onafterprint;
51 // attribute EventHandler onbeforeprint;
52 // attribute EventHandler onredo;
53 // attribute EventHandler onundo;
54 }; 37 };
55 38
39 HTMLBodyElement implements WindowEventHandlers;
OLDNEW
« no previous file with comments | « Source/core/html/HTMLBodyElement.cpp ('k') | Source/core/html/HTMLFrameSetElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698