| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_COMPOSITOR_LAYER_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_COMPOSITOR_LAYER_API_H_ |
| 6 #define PPAPI_THUNK_PPB_COMPOSITOR_LAYER_API_H_ | 6 #define PPAPI_THUNK_PPB_COMPOSITOR_LAYER_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/ppb_compositor_layer.h" | 11 #include "ppapi/c/ppb_compositor_layer.h" |
| 10 #include "ppapi/shared_impl/tracked_callback.h" | 12 #include "ppapi/shared_impl/tracked_callback.h" |
| 11 | 13 |
| 12 namespace ppapi { | 14 namespace ppapi { |
| 13 namespace thunk { | 15 namespace thunk { |
| 14 | 16 |
| 15 class PPAPI_THUNK_EXPORT PPB_CompositorLayer_API { | 17 class PPAPI_THUNK_EXPORT PPB_CompositorLayer_API { |
| 16 public: | 18 public: |
| 17 virtual ~PPB_CompositorLayer_API() {} | 19 virtual ~PPB_CompositorLayer_API() {} |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 virtual int32_t SetOpacity(float opacity) = 0; | 42 virtual int32_t SetOpacity(float opacity) = 0; |
| 41 virtual int32_t SetBlendMode(PP_BlendMode mode) = 0; | 43 virtual int32_t SetBlendMode(PP_BlendMode mode) = 0; |
| 42 virtual int32_t SetSourceRect(const PP_FloatRect* rect) = 0; | 44 virtual int32_t SetSourceRect(const PP_FloatRect* rect) = 0; |
| 43 virtual int32_t SetPremultipliedAlpha(PP_Bool premult) = 0; | 45 virtual int32_t SetPremultipliedAlpha(PP_Bool premult) = 0; |
| 44 }; | 46 }; |
| 45 | 47 |
| 46 } // namespace thunk | 48 } // namespace thunk |
| 47 } // namespace ppapi | 49 } // namespace ppapi |
| 48 | 50 |
| 49 #endif // PPAPI_THUNK_PPB_COMPOSITOR_API_H_ | 51 #endif // PPAPI_THUNK_PPB_COMPOSITOR_API_H_ |
| OLD | NEW |