OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ui.mojom; | 5 module ui.mojom; |
6 | 6 |
7 import "ui/events/mojo/event.mojom"; | 7 import "ui/events/mojo/event.mojom"; |
8 import "ui/gfx/geometry/mojo/geometry.mojom"; | 8 import "ui/gfx/geometry/mojo/geometry.mojom"; |
9 | 9 |
10 struct CompositionEvent { | 10 struct CompositionEvent { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
95 | 95 |
96 ProcessKeyEvent(ui.mojom.Event key_event); | 96 ProcessKeyEvent(ui.mojom.Event key_event); |
97 CancelComposition(); | 97 CancelComposition(); |
98 }; | 98 }; |
99 | 99 |
100 // IME drivers send updates to clients using the TextInputClient interface. | 100 // IME drivers send updates to clients using the TextInputClient interface. |
101 interface TextInputClient { | 101 interface TextInputClient { |
102 // Corresponds to "input method result" functions of ui::TextInputClient. | 102 // Corresponds to "input method result" functions of ui::TextInputClient. |
103 OnCompositionEvent(CompositionEvent event); | 103 OnCompositionEvent(CompositionEvent event); |
104 | 104 |
105 OnUnhandledEvent(ui.mojom.Event key_event); | |
sadrul
2016/08/18 03:57:58
Document.
| |
106 | |
105 // TODO(moshayedi): Add functions corresponding to ui::TextInputClient for: | 107 // TODO(moshayedi): Add functions corresponding to ui::TextInputClient for: |
106 // - Input text confirmation | 108 // - Input text confirmation |
107 // - Document content operations | 109 // - Document content operations |
108 // - Miscellaneous functions | 110 // - Miscellaneous functions |
109 // crbug.com/631527. | 111 // crbug.com/631527. |
110 }; | 112 }; |
OLD | NEW |