| 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_THREADED_CHANNEL_H_ | 5 #ifndef CC_TREES_THREADED_CHANNEL_H_ |
| 6 #define CC_TREES_THREADED_CHANNEL_H_ | 6 #define CC_TREES_THREADED_CHANNEL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 LayerTreeHost* layer_tree_host, | 112 LayerTreeHost* layer_tree_host, |
| 113 scoped_ptr<BeginFrameSource> external_begin_frame_source) override; | 113 scoped_ptr<BeginFrameSource> external_begin_frame_source) override; |
| 114 void SynchronouslyCloseImpl() override; | 114 void SynchronouslyCloseImpl() override; |
| 115 | 115 |
| 116 // ChannelImpl Implementation | 116 // ChannelImpl Implementation |
| 117 void DidCompleteSwapBuffers() override; | 117 void DidCompleteSwapBuffers() override; |
| 118 void SetRendererCapabilitiesMainCopy( | 118 void SetRendererCapabilitiesMainCopy( |
| 119 const RendererCapabilities& capabilities) override; | 119 const RendererCapabilities& capabilities) override; |
| 120 void BeginMainFrameNotExpectedSoon() override; | 120 void BeginMainFrameNotExpectedSoon() override; |
| 121 void DidCommitAndDrawFrame() override; | 121 void DidCommitAndDrawFrame() override; |
| 122 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue) override; | 122 void SetAnimationEvents(scoped_ptr<AnimationEvents> events) override; |
| 123 void DidLoseOutputSurface() override; | 123 void DidLoseOutputSurface() override; |
| 124 void RequestNewOutputSurface() override; | 124 void RequestNewOutputSurface() override; |
| 125 void DidInitializeOutputSurface( | 125 void DidInitializeOutputSurface( |
| 126 bool success, | 126 bool success, |
| 127 const RendererCapabilities& capabilities) override; | 127 const RendererCapabilities& capabilities) override; |
| 128 void DidCompletePageScaleAnimation() override; | 128 void DidCompletePageScaleAnimation() override; |
| 129 void PostFrameTimingEventsOnMain( | 129 void PostFrameTimingEventsOnMain( |
| 130 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 130 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 131 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) | 131 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
| 132 override; | 132 override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 // Used on the main thread to safely queue calls to ProxyImpl to be run on the | 211 // Used on the main thread to safely queue calls to ProxyImpl to be run on the |
| 212 // impl thread. | 212 // impl thread. |
| 213 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; | 213 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; |
| 214 | 214 |
| 215 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); | 215 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); |
| 216 }; | 216 }; |
| 217 | 217 |
| 218 } // namespace cc | 218 } // namespace cc |
| 219 | 219 |
| 220 #endif // CC_TREES_THREADED_CHANNEL_H_ | 220 #endif // CC_TREES_THREADED_CHANNEL_H_ |
| OLD | NEW |