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

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

Issue 2760173002: Revert of Make initEvent's first argument non-optional (Closed)
Patch Set: Created 3 years, 9 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 | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 readonly attribute boolean cancelable; 42 readonly attribute boolean cancelable;
43 void preventDefault(); 43 void preventDefault();
44 readonly attribute boolean defaultPrevented; 44 readonly attribute boolean defaultPrevented;
45 45
46 [MeasureAs=EventComposed] readonly attribute boolean composed; 46 [MeasureAs=EventComposed] readonly attribute boolean composed;
47 47
48 [Unforgeable] readonly attribute boolean isTrusted; 48 [Unforgeable] readonly attribute boolean isTrusted;
49 49
50 [CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp; 50 [CallWith=ScriptState] readonly attribute DOMHighResTimeStamp timeStamp;
51 51
52 [Measure] void initEvent(DOMString type, optional boolean bubbles = false, o ptional boolean cancelable = false); 52 // FIXME: initEvent()'s arguments should not be optional.
53 [Measure] void initEvent([Default=Undefined] optional DOMString type,
54 [Default=Undefined] optional boolean bubbles,
55 [Default=Undefined] optional boolean cancelable);
53 56
54 // Non-standard APIs 57 // Non-standard APIs
55 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement; 58 [MeasureAs=EventSrcElement] readonly attribute EventTarget srcElement;
56 [MeasureAs=EventReturnValue, CallWith=ScriptState, ImplementedAs=legacyRetur nValue] attribute boolean returnValue; 59 [MeasureAs=EventReturnValue, CallWith=ScriptState, ImplementedAs=legacyRetur nValue] attribute boolean returnValue;
57 [MeasureAs=EventCancelBubble, CallWith=ScriptState] attribute boolean cancel Bubble; 60 [MeasureAs=EventCancelBubble, CallWith=ScriptState] attribute boolean cancel Bubble;
58 [MeasureAs=EventPath, CallWith=ScriptState] readonly attribute EventTarget[] path; 61 [MeasureAs=EventPath, CallWith=ScriptState] readonly attribute EventTarget[] path;
59 }; 62 };
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/win/external/wpt/dom/interfaces-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698