| 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_INPUT_EVENT_H_ | 5 #ifndef PPAPI_CPP_INPUT_EVENT_H_ |
| 6 #define PPAPI_CPP_INPUT_EVENT_H_ | 6 #define PPAPI_CPP_INPUT_EVENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 #include <vector> | 11 #include <vector> |
| 10 | 12 |
| 11 #include "ppapi/c/ppb_input_event.h" | 13 #include "ppapi/c/ppb_input_event.h" |
| 12 #include "ppapi/cpp/resource.h" | 14 #include "ppapi/cpp/resource.h" |
| 13 #include "ppapi/cpp/touch_point.h" | 15 #include "ppapi/cpp/touch_point.h" |
| 14 | 16 |
| 15 /// @file | 17 /// @file |
| 16 /// This file defines the API used to handle mouse and keyboard input events. | 18 /// This file defines the API used to handle mouse and keyboard input events. |
| 17 | 19 |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 /// Obtains the range selected by caret in the composition text. | 462 /// Obtains the range selected by caret in the composition text. |
| 461 /// | 463 /// |
| 462 /// @param[out] start An integer indicating a start offset of selection range. | 464 /// @param[out] start An integer indicating a start offset of selection range. |
| 463 /// | 465 /// |
| 464 /// @param[out] end An integer indicating an end offset of selection range. | 466 /// @param[out] end An integer indicating an end offset of selection range. |
| 465 void GetSelection(uint32_t* start, uint32_t* end) const; | 467 void GetSelection(uint32_t* start, uint32_t* end) const; |
| 466 }; | 468 }; |
| 467 } // namespace pp | 469 } // namespace pp |
| 468 | 470 |
| 469 #endif // PPAPI_CPP_INPUT_EVENT_H_ | 471 #endif // PPAPI_CPP_INPUT_EVENT_H_ |
| OLD | NEW |