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 "content/browser/compositor/software_browser_compositor_output_surface.
h" | 5 #include "content/browser/compositor/software_browser_compositor_output_surface.
h" |
6 | 6 |
7 #include "base/location.h" | 7 #include "base/location.h" |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/single_thread_task_runner.h" | 9 #include "base/single_thread_task_runner.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "build/build_config.h" |
12 #include "cc/output/compositor_frame.h" | 13 #include "cc/output/compositor_frame.h" |
13 #include "cc/output/output_surface_client.h" | 14 #include "cc/output/output_surface_client.h" |
14 #include "cc/output/software_output_device.h" | 15 #include "cc/output/software_output_device.h" |
15 #include "content/browser/renderer_host/render_widget_host_impl.h" | 16 #include "content/browser/renderer_host/render_widget_host_impl.h" |
16 #include "ui/events/latency_info.h" | 17 #include "ui/events/latency_info.h" |
17 #include "ui/gfx/vsync_provider.h" | 18 #include "ui/gfx/vsync_provider.h" |
18 | 19 |
19 namespace content { | 20 namespace content { |
20 | 21 |
21 SoftwareBrowserCompositorOutputSurface::SoftwareBrowserCompositorOutputSurface( | 22 SoftwareBrowserCompositorOutputSurface::SoftwareBrowserCompositorOutputSurface( |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 bool suspended) { | 66 bool suspended) { |
66 } | 67 } |
67 | 68 |
68 bool SoftwareBrowserCompositorOutputSurface:: | 69 bool SoftwareBrowserCompositorOutputSurface:: |
69 SurfaceShouldNotShowFramesAfterSuspendForRecycle() const { | 70 SurfaceShouldNotShowFramesAfterSuspendForRecycle() const { |
70 return false; | 71 return false; |
71 } | 72 } |
72 #endif | 73 #endif |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
OLD | NEW |