| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_C_DEV_PPB_CHAR_SET_DEV_H_ | 5 #ifndef PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_ |
| 6 #define PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_ | 6 #define PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_macros.h" | 8 #include "ppapi/c/pp_macros.h" |
| 9 #include "ppapi/c/pp_module.h" | 9 #include "ppapi/c/pp_module.h" |
| 10 #include "ppapi/c/pp_stdint.h" | 10 #include "ppapi/c/pp_stdint.h" |
| 11 #include "ppapi/c/pp_var.h" | 11 #include "ppapi/c/pp_var.h" |
| 12 | 12 |
| 13 #define PPB_CHAR_SET_DEV_INTERFACE "PPB_CharSet(Dev);0.4" | 13 #define PPB_CHAR_SET_DEV_INTERFACE "PPB_CharSet(Dev);0.4" |
| 14 | 14 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // Returns a string var representing the current multi-byte character set of | 71 // Returns a string var representing the current multi-byte character set of |
| 72 // the current system. | 72 // the current system. |
| 73 // | 73 // |
| 74 // WARNING: You really shouldn't be using this function unless you're dealing | 74 // WARNING: You really shouldn't be using this function unless you're dealing |
| 75 // with legacy data. You should be using UTF-8 or UTF-16 and you don't have | 75 // with legacy data. You should be using UTF-8 or UTF-16 and you don't have |
| 76 // to worry about the character sets. | 76 // to worry about the character sets. |
| 77 struct PP_Var (*GetDefaultCharSet)(PP_Module module); | 77 struct PP_Var (*GetDefaultCharSet)(PP_Module module); |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 #endif // PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_ | 80 #endif /* PPAPI_C_DEV_PPB_CHAR_SET_DEV_H_ */ |
| 81 |
| OLD | NEW |