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_CPP_COMPOSITOR_LAYER_H_ | 5 #ifndef PPAPI_CPP_COMPOSITOR_LAYER_H_ |
6 #define PPAPI_CPP_COMPOSITOR_LAYER_H_ | 6 #define PPAPI_CPP_COMPOSITOR_LAYER_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_compositor_layer.h" | 10 #include "ppapi/c/ppb_compositor_layer.h" |
9 #include "ppapi/cpp/graphics_3d.h" | 11 #include "ppapi/cpp/graphics_3d.h" |
10 #include "ppapi/cpp/image_data.h" | 12 #include "ppapi/cpp/image_data.h" |
11 #include "ppapi/cpp/rect.h" | 13 #include "ppapi/cpp/rect.h" |
12 #include "ppapi/cpp/resource.h" | 14 #include "ppapi/cpp/resource.h" |
13 #include "ppapi/cpp/size.h" | 15 #include "ppapi/cpp/size.h" |
14 | 16 |
15 namespace pp { | 17 namespace pp { |
16 | 18 |
17 class CompositorLayer : public Resource { | 19 class CompositorLayer : public Resource { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 /// | 183 /// |
182 /// @param[in] resource A <code>Resource</code> to test. | 184 /// @param[in] resource A <code>Resource</code> to test. |
183 /// | 185 /// |
184 /// @return True if <code>resource</code> is a compositor layer. | 186 /// @return True if <code>resource</code> is a compositor layer. |
185 static bool IsCompositorLayer(const Resource& resource); | 187 static bool IsCompositorLayer(const Resource& resource); |
186 }; | 188 }; |
187 | 189 |
188 } // namespace pp | 190 } // namespace pp |
189 | 191 |
190 #endif // PPAPI_CPP_COMPOSITOR_LAYER_H_ | 192 #endif // PPAPI_CPP_COMPOSITOR_LAYER_H_ |
OLD | NEW |