| 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 #include "base/memory/scoped_ptr.h" |
| 5 #include "content/browser/compositor/software_output_device_ozone.h" | 6 #include "content/browser/compositor/software_output_device_ozone.h" |
| 6 #include "ui/compositor/compositor.h" | 7 #include "ui/compositor/compositor.h" |
| 7 #include "ui/gfx/skia_util.h" | 8 #include "ui/gfx/skia_util.h" |
| 8 #include "ui/gfx/vsync_provider.h" | 9 #include "ui/gfx/vsync_provider.h" |
| 9 #include "ui/ozone/public/ozone_platform.h" | 10 #include "ui/ozone/public/ozone_platform.h" |
| 10 #include "ui/ozone/public/surface_factory_ozone.h" | 11 #include "ui/ozone/public/surface_factory_ozone.h" |
| 11 #include "ui/ozone/public/surface_ozone_canvas.h" | 12 #include "ui/ozone/public/surface_ozone_canvas.h" |
| 12 | 13 |
| 13 namespace content { | 14 namespace content { |
| 14 | 15 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 return SoftwareOutputDevice::BeginPaint(damage_rect); | 62 return SoftwareOutputDevice::BeginPaint(damage_rect); |
| 62 } | 63 } |
| 63 | 64 |
| 64 void SoftwareOutputDeviceOzone::EndPaint() { | 65 void SoftwareOutputDeviceOzone::EndPaint() { |
| 65 SoftwareOutputDevice::EndPaint(); | 66 SoftwareOutputDevice::EndPaint(); |
| 66 | 67 |
| 67 surface_ozone_->PresentCanvas(damage_rect_); | 68 surface_ozone_->PresentCanvas(damage_rect_); |
| 68 } | 69 } |
| 69 | 70 |
| 70 } // namespace content | 71 } // namespace content |
| OLD | NEW |