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_H_ | 5 #ifndef PPAPI_CPP_COMPOSITOR_H_ |
6 #define PPAPI_CPP_COMPOSITOR_H_ | 6 #define PPAPI_CPP_COMPOSITOR_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include "ppapi/c/ppb_compositor.h" | 10 #include "ppapi/c/ppb_compositor.h" |
9 #include "ppapi/cpp/completion_callback.h" | 11 #include "ppapi/cpp/completion_callback.h" |
10 #include "ppapi/cpp/compositor_layer.h" | 12 #include "ppapi/cpp/compositor_layer.h" |
11 #include "ppapi/cpp/resource.h" | 13 #include "ppapi/cpp/resource.h" |
12 | 14 |
13 /// @file | 15 /// @file |
14 /// This file defines the API to create a compositor in the browser. | 16 /// This file defines the API to create a compositor in the browser. |
15 namespace pp { | 17 namespace pp { |
16 | 18 |
17 /// The <code>Compositor</code> interface is used for setting | 19 /// The <code>Compositor</code> interface is used for setting |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 /// | 83 /// |
82 /// @param[in] resource A <code>Resource</code> to test. | 84 /// @param[in] resource A <code>Resource</code> to test. |
83 /// | 85 /// |
84 /// @return True if <code>resource</code> is a compositor. | 86 /// @return True if <code>resource</code> is a compositor. |
85 static bool IsCompositor(const Resource& resource); | 87 static bool IsCompositor(const Resource& resource); |
86 }; | 88 }; |
87 | 89 |
88 } // namespace pp | 90 } // namespace pp |
89 | 91 |
90 #endif // PPAPI_CPP_COMPOSITOR_H_ | 92 #endif // PPAPI_CPP_COMPOSITOR_H_ |
OLD | NEW |