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_THUNK_PPB_GRAPHICS_2D_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_GRAPHICS_2D_API_H_ |
6 #define PPAPI_THUNK_PPB_GRAPHICS_2D_API_H_ | 6 #define PPAPI_THUNK_PPB_GRAPHICS_2D_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
9 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
11 #include "ppapi/c/pp_point.h" | 13 #include "ppapi/c/pp_point.h" |
12 #include "ppapi/c/pp_rect.h" | 14 #include "ppapi/c/pp_rect.h" |
13 #include "ppapi/c/pp_resource.h" | 15 #include "ppapi/c/pp_resource.h" |
14 #include "ppapi/c/pp_size.h" | 16 #include "ppapi/c/pp_size.h" |
15 #include "ppapi/thunk/ppapi_thunk_export.h" | 17 #include "ppapi/thunk/ppapi_thunk_export.h" |
16 | 18 |
17 namespace ppapi { | 19 namespace ppapi { |
(...skipping 18 matching lines...) Expand all Loading... |
36 virtual float GetScale() = 0; | 38 virtual float GetScale() = 0; |
37 | 39 |
38 // Test only | 40 // Test only |
39 virtual bool ReadImageData(PP_Resource image, const PP_Point* top_left) = 0; | 41 virtual bool ReadImageData(PP_Resource image, const PP_Point* top_left) = 0; |
40 }; | 42 }; |
41 | 43 |
42 } // namespace thunk | 44 } // namespace thunk |
43 } // namespace ppapi | 45 } // namespace ppapi |
44 | 46 |
45 #endif // PPAPI_THUNK_PPB_GRAPHICS_2D_API_H_ | 47 #endif // PPAPI_THUNK_PPB_GRAPHICS_2D_API_H_ |
OLD | NEW |