OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 module content.mojom; |
| 6 |
| 7 import "services/ui/public/interfaces/ime/ime.mojom"; |
| 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
| 9 |
| 10 interface FrameInputHandler |
| 11 { |
| 12 SetCompositionFromExistingText(int32 start, int32 end, array<ui.mojom.Composit
ionUnderline> underlines); |
| 13 ExtendSelectionAndDelete(int32 before, int32 after); |
| 14 DeleteSurroundingText(int32 before, int32 after); |
| 15 DeleteSurroundingTextInCodePoints(int32 before, int32 after); |
| 16 SetEditableSelectionOffsets(int32 start, int32 end); |
| 17 ExecuteEditCommand(string command, string? value); |
| 18 Undo(); |
| 19 Redo(); |
| 20 Cut(); |
| 21 Copy(); |
| 22 CopyToFindPboard(); |
| 23 Paste(); |
| 24 PasteAndMatchStyle(); |
| 25 Replace(string word); |
| 26 ReplaceMisspelling(string word); |
| 27 Delete(); |
| 28 SelectAll(); |
| 29 CollapseSelection(); |
| 30 SelectRange(gfx.mojom.Point base, gfx.mojom.Point extent); |
| 31 AdjustSelectionByCharacterOffset(int32 start, int32 end); |
| 32 MoveRangeSelectionExtent(gfx.mojom.Point extent); |
| 33 }; |
OLD | NEW |