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

Side by Side Diff: content/common/input/input_handler.mojom

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Created 3 years, 7 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
(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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698