| 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_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ |
| 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ | 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
| 13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "cc/compositor_frame_ack.h" |
| 15 #include "cc/output_surface.h" | 16 #include "cc/output_surface.h" |
| 16 | 17 |
| 17 namespace base { | 18 namespace base { |
| 18 class TaskRunner; | 19 class TaskRunner; |
| 19 } | 20 } |
| 20 | 21 |
| 21 namespace IPC { | 22 namespace IPC { |
| 22 class ForwardingMessageFilter; | 23 class ForwardingMessageFilter; |
| 23 class Message; | 24 class Message; |
| 24 } | 25 } |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_; | 84 scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_; |
| 84 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_; | 85 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_; |
| 85 int routing_id_; | 86 int routing_id_; |
| 86 bool prefers_smoothness_; | 87 bool prefers_smoothness_; |
| 87 base::PlatformThreadId main_thread_id_; | 88 base::PlatformThreadId main_thread_id_; |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace content | 91 } // namespace content |
| 91 | 92 |
| 92 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ | 93 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ |
| OLD | NEW |