| Index: cc/trees/thread_proxy.h
|
| diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
|
| index 303db9620c5b037b6844e3282678b6d4fd978552..541c3c6e52798dc95e98c3c193f15d72ba9b5e6e 100644
|
| --- a/cc/trees/thread_proxy.h
|
| +++ b/cc/trees/thread_proxy.h
|
| @@ -249,10 +249,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 PostFrameTimingEventsOnMain(
|
| + 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 InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override;
|
| + void MainThreadHasStoppedFlingingOnImpl() override;
|
| + void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override;
|
| + void SetDeferCommitsOnImpl(bool defer_commits) override;
|
| + void FinishAllRenderingOnImpl(CompletionEvent* completion) override;
|
| + void SetVisibleOnImpl(CompletionEvent* completion, bool visible) override;
|
| + void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override;
|
| + void FinishGLOnImpl(CompletionEvent* completion) override;
|
| + void MainFrameWillHappenOnImplForTesting(
|
| + CompletionEvent* completion,
|
| + bool* main_frame_will_happen) override;
|
|
|
| protected:
|
| ThreadProxy(
|
| @@ -263,49 +289,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;
|
|
|