| 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_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| 6 #define CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 6 #define CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "content/renderer/gpu/compositor_forwarding_message_filter.h" | 23 #include "content/renderer/gpu/compositor_forwarding_message_filter.h" |
| 24 #include "ipc/ipc_sync_message_filter.h" | 24 #include "ipc/ipc_sync_message_filter.h" |
| 25 | 25 |
| 26 namespace IPC { | 26 namespace IPC { |
| 27 class Message; | 27 class Message; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace cc { | 30 namespace cc { |
| 31 class BeginFrameSource; | 31 class BeginFrameSource; |
| 32 class CompositorFrame; | 32 class CompositorFrame; |
| 33 class CompositorFrameAck; | |
| 34 class ContextProvider; | 33 class ContextProvider; |
| 35 } | 34 } |
| 36 | 35 |
| 37 namespace content { | 36 namespace content { |
| 38 class FrameSwapMessageQueue; | 37 class FrameSwapMessageQueue; |
| 39 | 38 |
| 40 // This class can be created only on the main thread, but then becomes pinned | 39 // This class can be created only on the main thread, but then becomes pinned |
| 41 // to a fixed thread when BindToClient is called. | 40 // to a fixed thread when BindToClient is called. |
| 42 class RendererCompositorFrameSink | 41 class RendererCompositorFrameSink |
| 43 : NON_EXPORTED_BASE(public cc::CompositorFrameSink), | 42 : NON_EXPORTED_BASE(public cc::CompositorFrameSink), |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 scoped_refptr<RendererCompositorFrameSinkProxy> compositor_frame_sink_proxy_; | 101 scoped_refptr<RendererCompositorFrameSinkProxy> compositor_frame_sink_proxy_; |
| 103 scoped_refptr<IPC::SyncMessageFilter> message_sender_; | 102 scoped_refptr<IPC::SyncMessageFilter> message_sender_; |
| 104 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_; | 103 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_; |
| 105 std::unique_ptr<cc::BeginFrameSource> begin_frame_source_; | 104 std::unique_ptr<cc::BeginFrameSource> begin_frame_source_; |
| 106 int routing_id_; | 105 int routing_id_; |
| 107 }; | 106 }; |
| 108 | 107 |
| 109 } // namespace content | 108 } // namespace content |
| 110 | 109 |
| 111 #endif // CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ | 110 #endif // CONTENT_RENDERER_GPU_RENDERER_COMPOSITOR_FRAME_SINK_H_ |
| OLD | NEW |