Bumping manifests a=b2g-bump
[gecko.git] / dom / webidl / SelectionStateChangedEvent.webidl
blobd19e398c9f04f8dbc3d92af613f2232f0a6df60f
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  */
7 enum SelectionState {
8   "drag",
9   "mousedown",
10   "mouseup",
11   "keypress",
12   "selectall",
13   "collapsetostart",
14   "collapsetoend",
15   "blur",
16   "updateposition",
17   "taponcaret"
20 dictionary SelectionStateChangedEventInit : EventInit {
21   boolean visible = true;
22   DOMString selectedText = "";
23   DOMRectReadOnly? boundingClientRect = null;
24   sequence<SelectionState> states = [];
27 [Constructor(DOMString type, optional SelectionStateChangedEventInit eventInit),
28  ChromeOnly]
29 interface SelectionStateChangedEvent : Event {
30   readonly attribute boolean visible;
31   readonly attribute DOMString selectedText;
32   readonly attribute DOMRectReadOnly? boundingClientRect;
33   [Cached, Pure] readonly attribute sequence<SelectionState> states;