Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index a6b3cf735dcde0eae68d6e2beda841af19a34554..453651d620dec9de76618ea2efdef37a025346fe 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -250,11 +250,36 @@ class CC_EXPORT ThreadProxy : public Proxy, |
base::WeakPtr<ProxyMain> GetMainWeakPtr() override; |
void SetChannel(scoped_ptr<ThreadedChannel> threaded_channel) override; |
void DidCompleteSwapBuffers() override; |
+ void SetRendererCapabilitiesMainCopy( |
+ const RendererCapabilities& capabilities) override; |
+ void BeginMainFrameNotExpectedSoon() override; |
+ void DidCommitAndDrawFrame() override; |
+ void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue) override; |
+ void DidLoseOutputSurface() override; |
+ void RequestNewOutputSurface() override; |
+ void DidInitializeOutputSurface( |
+ bool success, |
+ const RendererCapabilities& capabilities) override; |
+ void DidCompletePageScaleAnimation() override; |
+ void PostFrameTimingEventsToMain( |
+ scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
+ scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
+ override; |
// ProxyImpl implementation |
base::WeakPtr<ProxyImpl> GetImplWeakPtr() override; |
void SetThrottleFrameProductionOnImpl(bool throttle) override; |
void SetLayerTreeHostClientReadyOnImpl() override; |
+ void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override; |
+ void MainThreadHasStoppedFlingingOnImpl() override; |
+ void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; |
+ void SetDeferCommitsOnImpl(bool defer_commits) override; |
+ void FinishAllRenderingOnImpl() override; |
+ void SetVisibleOnImpl(bool visible) override; |
+ void ReleaseOutputSurfaceOnImpl() override; |
+ void FinishGLOnImpl() override; |
+ void MainFrameWillHappenOnImplForTesting( |
+ bool* main_frame_will_happen) override; |
protected: |
ThreadProxy( |
@@ -265,49 +290,21 @@ class CC_EXPORT ThreadProxy : public Proxy, |
private: |
// Called on main thread. |
- void SetRendererCapabilitiesMainThreadCopy( |
- const RendererCapabilities& capabilities); |
void BeginMainFrame( |
scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state); |
- void BeginMainFrameNotExpectedSoon(); |
- void DidCommitAndDrawFrame(); |
- void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue); |
- void DidLoseOutputSurface(); |
- void RequestNewOutputSurface(); |
- void DidInitializeOutputSurface(bool success, |
- const RendererCapabilities& capabilities); |
// Returns |true| if the request was actually sent, |false| if one was |
// already outstanding. |
bool SendCommitRequestToImplThreadIfNeeded( |
CommitPipelineStage required_stage); |
- void DidCompletePageScaleAnimation(); |
// Called on impl thread. |
struct SchedulerStateRequest; |
void StartCommitOnImplThread(CompletionEvent* completion); |
void BeginMainFrameAbortedOnImplThread(CommitEarlyOutReason reason); |
- void FinishAllRenderingOnImplThread(CompletionEvent* completion); |
void InitializeImplOnImplThread(CompletionEvent* completion); |
- void SetVisibleOnImplThread(CompletionEvent* completion, bool visible); |
- void HasInitializedOutputSurfaceOnImplThread( |
- CompletionEvent* completion, |
- bool* has_initialized_output_surface); |
- void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); |
- void InitializeOutputSurfaceOnImplThread(OutputSurface* output_surface); |
- void ReleaseOutputSurfaceOnImplThread(CompletionEvent* completion); |
- void FinishGLOnImplThread(CompletionEvent* completion); |
void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
DrawResult DrawSwapInternal(bool forced_draw); |
- void MainFrameWillHappenOnImplThreadForTesting(CompletionEvent* completion, |
- bool* main_frame_will_happen); |
- void SetSwapUsedIncompleteTileOnImplThread(bool used_incomplete_tile); |
- void MainThreadHasStoppedFlingingOnImplThread(); |
- void SetInputThrottledUntilCommitOnImplThread(bool is_throttled); |
- void SetDeferCommitsOnImplThread(bool defer_commits) const; |
- void PostFrameTimingEvents( |
- scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
- scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); |
LayerTreeHost* layer_tree_host(); |
const LayerTreeHost* layer_tree_host() const; |