OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ |
6 #define CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
13 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
14 #include "ppapi/c/ppb_graphics_2d.h" | 16 #include "ppapi/c/ppb_graphics_2d.h" |
15 #include "ppapi/host/host_message_context.h" | 17 #include "ppapi/host/host_message_context.h" |
16 #include "ppapi/host/resource_host.h" | 18 #include "ppapi/host/resource_host.h" |
17 #include "third_party/WebKit/public/platform/WebCanvas.h" | 19 #include "third_party/WebKit/public/platform/WebCanvas.h" |
18 #include "ui/gfx/geometry/point.h" | 20 #include "ui/gfx/geometry/point.h" |
19 #include "ui/gfx/geometry/size.h" | 21 #include "ui/gfx/geometry/size.h" |
20 | 22 |
21 namespace cc { | 23 namespace cc { |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 scoped_ptr<cc::SharedBitmap> cached_bitmap_; | 209 scoped_ptr<cc::SharedBitmap> cached_bitmap_; |
208 gfx::Size cached_bitmap_size_; | 210 gfx::Size cached_bitmap_size_; |
209 | 211 |
210 friend class PepperGraphics2DHostTest; | 212 friend class PepperGraphics2DHostTest; |
211 DISALLOW_COPY_AND_ASSIGN(PepperGraphics2DHost); | 213 DISALLOW_COPY_AND_ASSIGN(PepperGraphics2DHost); |
212 }; | 214 }; |
213 | 215 |
214 } // namespace content | 216 } // namespace content |
215 | 217 |
216 #endif // CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ | 218 #endif // CONTENT_RENDERER_PEPPER_PEPPER_GRAPHICS_2D_HOST_H_ |
OLD | NEW |