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 "mojo/common/string16.mojom"; | |
8 import "services/ui/public/interfaces/ime/ime.mojom"; | |
9 import "ui/gfx/geometry/mojo/geometry.mojom"; | |
10 | |
11 interface FrameInputHandler | |
dcheng
2017/05/19 14:59:33
Nit: Add some high-level comments for this interfa
dtapuska
2017/05/23 16:01:19
Done.
| |
12 { | |
13 SetCompositionFromExistingText(int32 start, int32 end, array<ui.mojom.Composit ionUnderline> underlines); | |
dcheng
2017/05/19 14:59:33
Add a TODO to import the IPC message comments (or
dtapuska
2017/05/23 16:01:19
Done.
| |
14 ExtendSelectionAndDelete(int32 before, int32 after); | |
15 DeleteSurroundingText(int32 before, int32 after); | |
16 DeleteSurroundingTextInCodePoints(int32 before, int32 after); | |
17 SetEditableSelectionOffsets(int32 start, int32 end); | |
18 ExecuteEditCommand(string command, mojo.common.mojom.String16? value); | |
19 Undo(); | |
20 Redo(); | |
21 Cut(); | |
22 Copy(); | |
23 CopyToFindPboard(); | |
24 Paste(); | |
25 PasteAndMatchStyle(); | |
26 Replace(mojo.common.mojom.String16 word); | |
27 ReplaceMisspelling(mojo.common.mojom.String16 word); | |
28 Delete(); | |
29 SelectAll(); | |
30 CollapseSelection(); | |
31 SelectRange(gfx.mojom.Point base, gfx.mojom.Point extent); | |
32 AdjustSelectionByCharacterOffset(int32 start, int32 end); | |
33 MoveRangeSelectionExtent(gfx.mojom.Point extent); | |
34 }; | |
OLD | NEW |