| 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_TEXT_INPUT_DEV_H_ | 5 #ifndef PPAPI_CPP_DEV_TEXT_INPUT_DEV_H_ |
| 6 #define PPAPI_CPP_DEV_TEXT_INPUT_DEV_H_ | 6 #define PPAPI_CPP_DEV_TEXT_INPUT_DEV_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "ppapi/c/dev/ppb_text_input_dev.h" | 12 #include "ppapi/c/dev/ppb_text_input_dev.h" |
| 11 #include "ppapi/cpp/instance_handle.h" | 13 #include "ppapi/cpp/instance_handle.h" |
| 12 | 14 |
| 13 namespace pp { | 15 namespace pp { |
| 14 | 16 |
| 15 class Rect; | 17 class Rect; |
| 16 class Instance; | 18 class Instance; |
| 17 | 19 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void UpdateSurroundingText(const std::string& text, | 54 void UpdateSurroundingText(const std::string& text, |
| 53 uint32_t caret, uint32_t anchor); | 55 uint32_t caret, uint32_t anchor); |
| 54 | 56 |
| 55 private: | 57 private: |
| 56 InstanceHandle instance_; | 58 InstanceHandle instance_; |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace pp | 61 } // namespace pp |
| 60 | 62 |
| 61 #endif // PPAPI_CPP_DEV_TEXT_INPUT_DEV_H_ | 63 #endif // PPAPI_CPP_DEV_TEXT_INPUT_DEV_H_ |
| OLD | NEW |