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

Side by Side Diff: Source/core/dom/WebKitNamedFlow.idl

Issue 18778002: Inherit EventTarget interface instead of duplicating its code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MessagePort.idl ('k') | Source/core/fileapi/FileReader.idl » ('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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 12 matching lines...) Expand all
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE. 27 * SUCH DAMAGE.
28 */ 28 */
29 29
30 [ 30 [
31 NoInterfaceObject, 31 NoInterfaceObject,
32 EnabledAtRuntime=cssRegions, 32 EnabledAtRuntime=cssRegions,
33 EventTarget,
34 ImplementedAs=NamedFlow, 33 ImplementedAs=NamedFlow,
35 GenerateIsReachable=ownerNode 34 GenerateIsReachable=ownerNode
36 ] interface WebKitNamedFlow { 35 ] interface WebKitNamedFlow : EventTarget {
37 readonly attribute DOMString name; 36 readonly attribute DOMString name;
38 readonly attribute boolean overset; 37 readonly attribute boolean overset;
39 readonly attribute long firstEmptyRegionIndex; 38 readonly attribute long firstEmptyRegionIndex;
40 NodeList getRegionsByContent(Node contentNode); 39 NodeList getRegionsByContent(Node contentNode);
41 NodeList getRegions(); 40 NodeList getRegions();
42 NodeList getContent(); 41 NodeList getContent();
43
44 // EventTarget interface
45 void addEventListener(DOMString type,
46 EventListener listener,
47 optional boolean useCapture);
48 void removeEventListener(DOMString type,
49 EventListener listener,
50 optional boolean useCapture);
51 [RaisesException] boolean dispatchEvent(Event event);
52 }; 42 };
OLDNEW
« no previous file with comments | « Source/core/dom/MessagePort.idl ('k') | Source/core/fileapi/FileReader.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698