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 #ifndef PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ |
6 #define PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ | 6 #define PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" | 10 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
9 #include "ppapi/thunk/ppapi_thunk_export.h" | 11 #include "ppapi/thunk/ppapi_thunk_export.h" |
10 | 12 |
11 namespace ppapi { | 13 namespace ppapi { |
12 namespace thunk { | 14 namespace thunk { |
13 | 15 |
14 // API for font resources. | 16 // API for font resources. |
15 class PPAPI_THUNK_EXPORT PPB_BrowserFont_Trusted_API { | 17 class PPAPI_THUNK_EXPORT PPB_BrowserFont_Trusted_API { |
16 public: | 18 public: |
17 virtual ~PPB_BrowserFont_Trusted_API() {} | 19 virtual ~PPB_BrowserFont_Trusted_API() {} |
(...skipping 12 matching lines...) Expand all Loading... |
30 int32_t pixel_position) = 0; | 32 int32_t pixel_position) = 0; |
31 virtual int32_t PixelOffsetForCharacter( | 33 virtual int32_t PixelOffsetForCharacter( |
32 const PP_BrowserFont_Trusted_TextRun* text, | 34 const PP_BrowserFont_Trusted_TextRun* text, |
33 uint32_t char_offset) = 0; | 35 uint32_t char_offset) = 0; |
34 }; | 36 }; |
35 | 37 |
36 } // namespace thunk | 38 } // namespace thunk |
37 } // namespace ppapi | 39 } // namespace ppapi |
38 | 40 |
39 #endif // PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ | 41 #endif // PPAPI_THUNK_PPB_BROWSER_FONT_TRUSTED_API_H_ |
OLD | NEW |