| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
| 10 #include "third_party/ppapi/c/ppb_image_data.h" | 10 #include "ppapi/c/ppb_image_data.h" |
| 11 #include "webkit/glue/plugins/pepper_plugin_delegate.h" | 11 #include "webkit/glue/plugins/pepper_plugin_delegate.h" |
| 12 #include "webkit/glue/plugins/pepper_resource.h" | 12 #include "webkit/glue/plugins/pepper_resource.h" |
| 13 | 13 |
| 14 namespace skia { | 14 namespace skia { |
| 15 class PlatformCanvas; | 15 class PlatformCanvas; |
| 16 } | 16 } |
| 17 | 17 |
| 18 struct PPB_ImageDataTrusted; | 18 struct PPB_ImageDataTrusted; |
| 19 class SkBitmap; | 19 class SkBitmap; |
| 20 | 20 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 ImageData* image_data_; | 122 ImageData* image_data_; |
| 123 bool is_valid_; | 123 bool is_valid_; |
| 124 bool needs_unmap_; | 124 bool needs_unmap_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); | 126 DISALLOW_COPY_AND_ASSIGN(ImageDataAutoMapper); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 } // namespace pepper | 129 } // namespace pepper |
| 130 | 130 |
| 131 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ | 131 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_IMAGE_DATA_H_ |
| OLD | NEW |