| 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 WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "ppapi/thunk/ppb_layer_compositor_api.h" | 9 #include "ppapi/thunk/ppb_layer_compositor_api.h" |
| 10 #include "ppapi/shared_impl/resource.h" | 10 #include "ppapi/shared_impl/resource.h" |
| 11 | 11 |
| 12 struct PP_Rect; | 12 struct PP_Rect; |
| 13 struct PP_Size; | |
| 14 | 13 |
| 15 namespace webkit { | 14 namespace webkit { |
| 16 namespace ppapi { | 15 namespace ppapi { |
| 17 | 16 |
| 18 class PPB_LayerCompositor_Impl | 17 class PPB_LayerCompositor_Impl |
| 19 : public ::ppapi::Resource, | 18 : public ::ppapi::Resource, |
| 20 public ::ppapi::thunk::PPB_LayerCompositor_API { | 19 public ::ppapi::thunk::PPB_LayerCompositor_API { |
| 21 public: | 20 public: |
| 22 explicit PPB_LayerCompositor_Impl(PP_Instance instance); | 21 explicit PPB_LayerCompositor_Impl(PP_Instance instance); |
| 23 virtual ~PPB_LayerCompositor_Impl(); | 22 virtual ~PPB_LayerCompositor_Impl(); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 37 virtual int32_t SwapBuffers(PP_CompletionCallback callback) OVERRIDE; | 36 virtual int32_t SwapBuffers(PP_CompletionCallback callback) OVERRIDE; |
| 38 | 37 |
| 39 private: | 38 private: |
| 40 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl); | 39 DISALLOW_COPY_AND_ASSIGN(PPB_LayerCompositor_Impl); |
| 41 }; | 40 }; |
| 42 | 41 |
| 43 } // namespace ppapi | 42 } // namespace ppapi |
| 44 } // namespace webkit | 43 } // namespace webkit |
| 45 | 44 |
| 46 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ | 45 #endif // WEBKIT_PLUGINS_PPAPI_PPB_LAYER_COMPOSITOR_IMPL_H_ |
| OLD | NEW |