OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ |
7 | 7 |
8 #include <IOSurface/IOSurface.h> | 8 #include <IOSurface/IOSurface.h> |
9 | 9 |
10 #include "base/mac/scoped_cftyperef.h" | 10 #include "base/mac/scoped_cftyperef.h" |
| 11 #include "base/macros.h" |
11 #include "cc/output/software_output_device.h" | 12 #include "cc/output/software_output_device.h" |
12 #include "third_party/skia/include/core/SkRegion.h" | 13 #include "third_party/skia/include/core/SkRegion.h" |
13 #include "ui/gfx/vsync_provider.h" | 14 #include "ui/gfx/vsync_provider.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 class Canvas; | 17 class Canvas; |
17 } | 18 } |
18 | 19 |
19 namespace ui { | 20 namespace ui { |
20 class Compositor; | 21 class Compositor; |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 skia::RefPtr<SkCanvas> canvas_; | 66 skia::RefPtr<SkCanvas> canvas_; |
66 | 67 |
67 gfx::VSyncProvider::UpdateVSyncCallback update_vsync_callback_; | 68 gfx::VSyncProvider::UpdateVSyncCallback update_vsync_callback_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMac); | 70 DISALLOW_COPY_AND_ASSIGN(SoftwareOutputDeviceMac); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace content | 73 } // namespace content |
73 | 74 |
74 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ | 75 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_OUTPUT_DEVICE_MAC_H_ |
OLD | NEW |