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

Side by Side Diff: Source/core/events/Event.idl

Issue 337343002: IDL: make optional arguments (without default) explicit sometimes Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-default-arguments-next
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/events/CustomEvent.idl ('k') | Source/core/events/HashChangeEvent.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) 2006, 2007, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2011 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,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 readonly attribute DOMString type; 52 readonly attribute DOMString type;
53 readonly attribute EventTarget target; 53 readonly attribute EventTarget target;
54 readonly attribute EventTarget currentTarget; 54 readonly attribute EventTarget currentTarget;
55 readonly attribute unsigned short eventPhase; 55 readonly attribute unsigned short eventPhase;
56 [InitializedByEventConstructor] readonly attribute boolean bubbles; 56 [InitializedByEventConstructor] readonly attribute boolean bubbles;
57 [InitializedByEventConstructor] readonly attribute boolean cancelable; 57 [InitializedByEventConstructor] readonly attribute boolean cancelable;
58 readonly attribute DOMTimeStamp timeStamp; 58 readonly attribute DOMTimeStamp timeStamp;
59 59
60 void stopPropagation(); 60 void stopPropagation();
61 void preventDefault(); 61 void preventDefault();
62 void initEvent([Default=Undefined] optional DOMString eventTypeArg, 62 void initEvent(optional DOMString eventTypeArg,
63 [Default=Undefined] optional boolean canBubbleArg, 63 optional boolean canBubbleArg,
64 [Default=Undefined] optional boolean cancelableArg); 64 optional boolean cancelableArg);
65 65
66 // DOM Level 3 Additions. 66 // DOM Level 3 Additions.
67 readonly attribute boolean defaultPrevented; 67 readonly attribute boolean defaultPrevented;
68 void stopImmediatePropagation(); 68 void stopImmediatePropagation();
69 69
70 // IE Extensions 70 // IE Extensions
71 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement; 71 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement;
72 [CallWith=ExecutionContext, ImplementedAs=legacyReturnValue, MeasureAs=Event ReturnValue] attribute boolean returnValue; 72 [CallWith=ExecutionContext, ImplementedAs=legacyReturnValue, MeasureAs=Event ReturnValue] attribute boolean returnValue;
73 [MeasureAs=EventCancelBubble] attribute boolean cancelBubble; 73 [MeasureAs=EventCancelBubble] attribute boolean cancelBubble;
74 [MeasureAs=EventPath] readonly attribute NodeList path; 74 [MeasureAs=EventPath] readonly attribute NodeList path;
75 [Custom=Getter, MeasureAs=EventClipboardData] readonly attribute DataTransfe r clipboardData; 75 [Custom=Getter, MeasureAs=EventClipboardData] readonly attribute DataTransfe r clipboardData;
76 }; 76 };
OLDNEW
« no previous file with comments | « Source/core/events/CustomEvent.idl ('k') | Source/core/events/HashChangeEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698