| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| enum EditContextInputMode { "none", "text", "decimal", "search", "email", "numeric", "tel", "url", "password" }; |
| enum EditContextEnterKeyHint { "enter", "done", "go", "next", "previous", "search", "send" }; |
| enum EditContextInputPanelPolicy { "auto", "manual" }; |
| |
| dictionary EditContextInit { |
| DOMString text; |
| unsigned long selectionStart; |
| unsigned long selectionEnd; |
| EditContextInputMode inputMode; |
| EditContextInputPanelPolicy inputPanelPolicy; |
| EditContextEnterKeyHint enterKeyHint; |
| }; |