| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 module keyboard; | 5 module keyboard; |
| 6 | 6 |
| 7 struct CompletionData { | 7 struct CompletionData { |
| 8 int64 id; | 8 int64 id; |
| 9 int32 position; | 9 int32 position; |
| 10 string text; | 10 string text; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 CommitCorrection(CorrectionData correction); | 22 CommitCorrection(CorrectionData correction); |
| 23 CommitText(string text, int32 newCursorPosition); | 23 CommitText(string text, int32 newCursorPosition); |
| 24 DeleteSurroundingText(int32 beforeLength, int32 afterLength); | 24 DeleteSurroundingText(int32 beforeLength, int32 afterLength); |
| 25 SetComposingRegion(int32 start, int32 end); | 25 SetComposingRegion(int32 start, int32 end); |
| 26 SetComposingText(string text, int32 newCursorPosition); | 26 SetComposingText(string text, int32 newCursorPosition); |
| 27 SetSelection(int32 start, int32 end); | 27 SetSelection(int32 start, int32 end); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 interface KeyboardService { | 30 interface KeyboardService { |
| 31 Show(KeyboardClient client); | 31 Show(KeyboardClient client); |
| 32 ShowByRequest(); |
| 32 Hide(); | 33 Hide(); |
| 33 }; | 34 }; |
| OLD | NEW |