OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ |
6 #define PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ | 6 #define PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <utility> | 10 #include <utility> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 13 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
12 #include "ppapi/cpp/input_event.h" | 14 #include "ppapi/cpp/input_event.h" |
13 | 15 |
14 /// @file | 16 /// @file |
15 /// This file defines the API used to handle IME input events. | 17 /// This file defines the API used to handle IME input events. |
16 | 18 |
17 namespace pp { | 19 namespace pp { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 | 99 |
98 /// Returns the range selected by caret in the composition text. | 100 /// Returns the range selected by caret in the composition text. |
99 /// | 101 /// |
100 /// @return A pair of integers indicating the selection range. | 102 /// @return A pair of integers indicating the selection range. |
101 std::pair<uint32_t, uint32_t> GetSelection() const; | 103 std::pair<uint32_t, uint32_t> GetSelection() const; |
102 }; | 104 }; |
103 | 105 |
104 } // namespace pp | 106 } // namespace pp |
105 | 107 |
106 #endif // PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ | 108 #endif // PPAPI_CPP_DEV_IME_INPUT_EVENT_DEV_H_ |
OLD | NEW |