OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_SOFTWARE_OUTPUT_DEVICE_H_ | 5 #ifndef CC_OUTPUT_SOFTWARE_OUTPUT_DEVICE_H_ |
6 #define CC_SOFTWARE_OUTPUT_DEVICE_H_ | 6 #define CC_OUTPUT_SOFTWARE_OUTPUT_DEVICE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "skia/ext/refptr.h" | 10 #include "skia/ext/refptr.h" |
11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/rect.h" |
12 #include "ui/gfx/size.h" | 12 #include "ui/gfx/size.h" |
13 #include "ui/gfx/vector2d.h" | 13 #include "ui/gfx/vector2d.h" |
14 #include "ui/surface/transport_dib.h" | 14 #include "ui/surface/transport_dib.h" |
15 | 15 |
16 class SkBitmap; | 16 class SkBitmap; |
(...skipping 29 matching lines...) Expand all Loading... |
46 gfx::Size viewport_size_; | 46 gfx::Size viewport_size_; |
47 gfx::Rect damage_rect_; | 47 gfx::Rect damage_rect_; |
48 skia::RefPtr<SkDevice> device_; | 48 skia::RefPtr<SkDevice> device_; |
49 skia::RefPtr<SkCanvas> canvas_; | 49 skia::RefPtr<SkCanvas> canvas_; |
50 | 50 |
51 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDevice); | 51 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDevice); |
52 }; | 52 }; |
53 | 53 |
54 } // namespace cc | 54 } // namespace cc |
55 | 55 |
56 #endif // CC_SOFTWARE_OUTPUT_DEVICE_H_ | 56 #endif // CC_OUTPUT_SOFTWARE_OUTPUT_DEVICE_H_ |
OLD | NEW |