| Index: ppapi/shared_impl/input_event_impl.cc
|
| diff --git a/ppapi/shared_impl/input_event_impl.cc b/ppapi/shared_impl/input_event_impl.cc
|
| index 8dc653a8d3fbc581cbd292f6cc3cac0ff304a60d..5d6be4b657ff631a43b2ff3f0caeb5a52c24e532 100644
|
| --- a/ppapi/shared_impl/input_event_impl.cc
|
| +++ b/ppapi/shared_impl/input_event_impl.cc
|
| @@ -102,5 +102,19 @@ PP_Var InputEventImpl::GetCharacterText() {
|
| data_.character_text);
|
| }
|
|
|
| +uint32_t InputEventImpl::GetCompositionTargetSegment() {
|
| + return data_.composition_target_segment;
|
| +}
|
| +
|
| +void InputEventImpl::GetCompositionSegments(uint32_t** segments,
|
| + uint32_t* size) {
|
| + if (segments) {
|
| + *segments = data_.composition_segments.data();
|
| + }
|
| + if (size) {
|
| + *size = data_.composition_segments.size();
|
| + }
|
| +}
|
| +
|
| } // namespace ppapi
|
|
|
|
|