| 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_GRAPHICS_2D_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_2D_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_2D_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_2D_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "ppapi/c/pp_completion_callback.h" | 12 #include "ppapi/c/pp_completion_callback.h" |
| 13 #include "ppapi/c/ppb_graphics_2d.h" | 13 #include "ppapi/c/ppb_graphics_2d.h" |
| 14 #include "ppapi/shared_impl/resource.h" | 14 #include "ppapi/shared_impl/resource.h" |
| 15 #include "ppapi/thunk/ppb_graphics_2d_api.h" | 15 #include "ppapi/thunk/ppb_graphics_2d_api.h" |
| 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCanvas.h" |
| 17 | 17 |
| 18 struct PPB_Graphics2D; | |
| 19 | |
| 20 namespace gfx { | 18 namespace gfx { |
| 21 class Rect; | 19 class Rect; |
| 22 } | 20 } |
| 23 | 21 |
| 24 namespace webkit { | 22 namespace webkit { |
| 25 namespace ppapi { | 23 namespace ppapi { |
| 26 | 24 |
| 27 class PPB_ImageData_Impl; | 25 class PPB_ImageData_Impl; |
| 28 class PluginInstance; | 26 class PluginInstance; |
| 29 | 27 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 | 174 |
| 177 base::WeakPtrFactory<PPB_Graphics2D_Impl> weak_ptr_factory_; | 175 base::WeakPtrFactory<PPB_Graphics2D_Impl> weak_ptr_factory_; |
| 178 | 176 |
| 179 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics2D_Impl); | 177 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics2D_Impl); |
| 180 }; | 178 }; |
| 181 | 179 |
| 182 } // namespace ppapi | 180 } // namespace ppapi |
| 183 } // namespace webkit | 181 } // namespace webkit |
| 184 | 182 |
| 185 #endif // WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_2D_IMPL_H_ | 183 #endif // WEBKIT_PLUGINS_PPAPI_PPB_GRAPHICS_2D_IMPL_H_ |
| OLD | NEW |