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_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ | 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ |
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ | 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ |
7 | 7 |
8 #include <unordered_set> | 8 #include <unordered_set> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/threading/non_thread_safe.h" |
13 #include "cc/scheduler/begin_frame_source.h" | 14 #include "cc/scheduler/begin_frame_source.h" |
14 #include "content/renderer/gpu/compositor_forwarding_message_filter.h" | 15 #include "content/renderer/gpu/compositor_forwarding_message_filter.h" |
15 | 16 |
16 namespace IPC { | 17 namespace IPC { |
17 class Message; | 18 class Message; |
18 class SyncMessageFilter; | 19 class SyncMessageFilter; |
19 } | 20 } |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 scoped_refptr<IPC::SyncMessageFilter> message_sender_; | 89 scoped_refptr<IPC::SyncMessageFilter> message_sender_; |
89 int routing_id_; | 90 int routing_id_; |
90 CompositorForwardingMessageFilter::Handler begin_frame_source_filter_handler_; | 91 CompositorForwardingMessageFilter::Handler begin_frame_source_filter_handler_; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(CompositorExternalBeginFrameSource); | 93 DISALLOW_COPY_AND_ASSIGN(CompositorExternalBeginFrameSource); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace content | 96 } // namespace content |
96 | 97 |
97 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ | 98 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ |
OLD | NEW |