| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CC_TREES_PROXY_IMPL_H_ | 5 #ifndef CC_TREES_PROXY_IMPL_H_ |
| 6 #define CC_TREES_PROXY_IMPL_H_ | 6 #define CC_TREES_PROXY_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/base/completion_event.h" | 10 #include "cc/base/completion_event.h" |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 bool next_frame_is_newly_committed_frame_; | 145 bool next_frame_is_newly_committed_frame_; |
| 146 | 146 |
| 147 bool inside_draw_; | 147 bool inside_draw_; |
| 148 bool input_throttled_until_commit_; | 148 bool input_throttled_until_commit_; |
| 149 | 149 |
| 150 TaskRunnerProvider* task_runner_provider_; | 150 TaskRunnerProvider* task_runner_provider_; |
| 151 | 151 |
| 152 DelayedUniqueNotifier smoothness_priority_expiration_notifier_; | 152 DelayedUniqueNotifier smoothness_priority_expiration_notifier_; |
| 153 | 153 |
| 154 scoped_ptr<BeginFrameSource> external_begin_frame_source_; | 154 scoped_ptr<BeginFrameSource> external_begin_frame_source_; |
| 155 scoped_ptr<BeginFrameSource> unthrottled_begin_frame_source_; |
| 156 scoped_ptr<SyntheticBeginFrameSource> synthetic_begin_frame_source_; |
| 155 | 157 |
| 156 RenderingStatsInstrumentation* rendering_stats_instrumentation_; | 158 RenderingStatsInstrumentation* rendering_stats_instrumentation_; |
| 157 | 159 |
| 158 // Values used to keep track of frame durations. Used only in frame timing. | 160 // Values used to keep track of frame durations. Used only in frame timing. |
| 159 BeginFrameArgs last_begin_main_frame_args_; | 161 BeginFrameArgs last_begin_main_frame_args_; |
| 160 BeginFrameArgs last_processed_begin_main_frame_args_; | 162 BeginFrameArgs last_processed_begin_main_frame_args_; |
| 161 | 163 |
| 162 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; | 164 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_; |
| 163 | 165 |
| 164 ChannelImpl* channel_impl_; | 166 ChannelImpl* channel_impl_; |
| 165 | 167 |
| 166 // Use accessors instead of this variable directly. | 168 // Use accessors instead of this variable directly. |
| 167 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; | 169 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; |
| 168 BlockedMainCommitOnly& blocked_main_commit(); | 170 BlockedMainCommitOnly& blocked_main_commit(); |
| 169 | 171 |
| 170 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 172 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 171 }; | 173 }; |
| 172 | 174 |
| 173 } // namespace cc | 175 } // namespace cc |
| 174 | 176 |
| 175 #endif // CC_TREES_PROXY_IMPL_H_ | 177 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |