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

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

Issue 1965543002: [InputEvent] Support |sequence<Range> getRanges()| in 'beforeinput' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use |std::unique_ptr<>| with |HeapVector| Created 4 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/editing/input-events.html 5 // https://w3c.github.io/editing/input-events.html
6 6
7 [ 7 [
8 Constructor(DOMString type, optional InputEventInit eventInitDict), 8 Constructor(DOMString type, optional InputEventInit eventInitDict),
9 RuntimeEnabled=InputEvent, 9 RuntimeEnabled=InputEvent,
10 ] interface InputEvent : UIEvent { 10 ] interface InputEvent : UIEvent {
11 readonly attribute DOMString inputType; 11 readonly attribute DOMString inputType;
12 readonly attribute DOMString data; 12 readonly attribute DOMString data;
13 readonly attribute boolean isComposing; 13 readonly attribute boolean isComposing;
14 // TODO(chongz): Add 'targetRanges' 14 // TODO(chongz): Return StaticRange.
15 sequence<Range> getRanges();
sof 2016/05/31 18:34:24 Web platform API-atypical for this to be "getRange
dtapuska 2016/05/31 18:37:19 This is done on purpose. This is intended to retur
chongz 2016/05/31 18:41:42 Thanks for the question! Please see dtapuska@'s c
15 }; 16 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698