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

Unified Diff: core/events/CompositionEvent.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/events/ClipboardEvent.idl ('k') | core/events/CompositionEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/CompositionEvent.idl
diff --git a/core/events/CompositionEvent.idl b/core/events/CompositionEvent.idl
index 8b1d740fd687d41e8298b8a90250b04ecdef8c24..3d2a209761bc12c8afb15b80608a76ab52e1366a 100644
--- a/core/events/CompositionEvent.idl
+++ b/core/events/CompositionEvent.idl
@@ -23,20 +23,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+// https://w3c.github.io/uievents/#interface-CompositionEvent
+
[
- EventConstructor,
+ Constructor(DOMString type, optional CompositionEventInit eventInitDict),
] interface CompositionEvent : UIEvent {
+ readonly attribute DOMString data;
- [InitializedByEventConstructor] readonly attribute DOMString data;
-
- [RuntimeEnabled=IMEAPI] readonly attribute long activeSegmentStart;
- [RuntimeEnabled=IMEAPI] readonly attribute long activeSegmentEnd;
- [RuntimeEnabled=IMEAPI] sequence<unsigned long> getSegments();
-
- void initCompositionEvent([Default=Undefined] optional DOMString typeArg,
- [Default=Undefined] optional boolean canBubbleArg,
- [Default=Undefined] optional boolean cancelableArg,
- [Default=Undefined] optional Window viewArg,
- [Default=Undefined] optional DOMString dataArg);
-
+ // https://w3c.github.io/uievents/#idl-interface-CompositionEvent-initializers
+ // TODO(philipj): None of the initCompositionEvent() arguments should be
+ // optional, and the spec has a locale argument after data.
+ [Measure] void initCompositionEvent([Default=Undefined] optional DOMString type,
+ [Default=Undefined] optional boolean bubbles,
+ [Default=Undefined] optional boolean cancelable,
+ [Default=Undefined] optional Window? view,
+ [Default=Undefined] optional DOMString data);
};
« no previous file with comments | « core/events/ClipboardEvent.idl ('k') | core/events/CompositionEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698