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

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

Issue 1485833004: Drop [LegacyInterfaceTypeChecking] for most init*Event() methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add tests Created 5 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 15 matching lines...) Expand all
26 // https://w3c.github.io/uievents/#interface-CompositionEvent 26 // https://w3c.github.io/uievents/#interface-CompositionEvent
27 27
28 [ 28 [
29 Constructor(DOMString type, optional CompositionEventInit eventInitDict), 29 Constructor(DOMString type, optional CompositionEventInit eventInitDict),
30 ] interface CompositionEvent : UIEvent { 30 ] interface CompositionEvent : UIEvent {
31 readonly attribute DOMString data; 31 readonly attribute DOMString data;
32 32
33 // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initialize rs 33 // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initialize rs
34 // TODO(philipj): None of the initCompositionEvent() arguments should be 34 // TODO(philipj): None of the initCompositionEvent() arguments should be
35 // optional, and the spec has a locale argument after data. 35 // optional, and the spec has a locale argument after data.
36 [Measure, LegacyInterfaceTypeChecking] void initCompositionEvent([Default=Un defined] optional DOMString type, 36 [Measure] void initCompositionEvent([Default=Undefined] optional DOMString t ype,
37 [Default=Un defined] optional boolean bubbles, 37 [Default=Undefined] optional boolean bub bles,
38 [Default=Un defined] optional boolean cancelable, 38 [Default=Undefined] optional boolean can celable,
39 [Default=Un defined] optional Window? view, 39 [Default=Undefined] optional Window? vie w,
40 [Default=Un defined] optional DOMString data); 40 [Default=Undefined] optional DOMString d ata);
41 }; 41 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698