| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "ppapi/shared_impl/input_event_impl.h" | 5 #include "ppapi/shared_impl/input_event_impl.h" |
| 6 | 6 |
| 7 #include "ppapi/shared_impl/ppapi_globals.h" | 7 #include "ppapi/shared_impl/ppapi_globals.h" |
| 8 #include "ppapi/shared_impl/var.h" | 8 #include "ppapi/shared_impl/var.h" |
| 9 | 9 |
| 10 using ppapi::thunk::PPB_InputEvent_API; | 10 using ppapi::thunk::PPB_InputEvent_API; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 } | 122 } |
| 123 | 123 |
| 124 void InputEventImpl::GetIMESelection(uint32_t* start, uint32_t* end) { | 124 void InputEventImpl::GetIMESelection(uint32_t* start, uint32_t* end) { |
| 125 if (start) | 125 if (start) |
| 126 *start = data_.composition_selection_start; | 126 *start = data_.composition_selection_start; |
| 127 if (end) | 127 if (end) |
| 128 *end = data_.composition_selection_end; | 128 *end = data_.composition_selection_end; |
| 129 } | 129 } |
| 130 | 130 |
| 131 } // namespace ppapi | 131 } // namespace ppapi |
| OLD | NEW |