Chromium Code Reviews| Index: cc/trees/layer_tree_host_impl.h |
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
| index 02c0a908d8a28deb42078c9c2ae40a14a18f1eee..c75296b4df9085b2c6f3d0080e5069efbcb36eaf 100644 |
| --- a/cc/trees/layer_tree_host_impl.h |
| +++ b/cc/trees/layer_tree_host_impl.h |
| @@ -50,6 +50,9 @@ struct RendererCapabilities; |
| // LayerTreeHost->Proxy callback interface. |
| class LayerTreeHostImplClient { |
| public: |
| + virtual void DidTryInitializeRendererOnImplThread( |
| + bool success, |
| + scoped_refptr<ContextProvider> offscreen_context_provider) = 0; |
| virtual void DidLoseOutputSurfaceOnImplThread() = 0; |
| virtual void OnSwapBuffersCompleteOnImplThread() = 0; |
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
| @@ -204,6 +207,8 @@ class CC_EXPORT LayerTreeHostImpl |
| OVERRIDE; |
| // OutputSurfaceClient implementation. |
| + virtual bool DeferredInitialize( |
| + scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; |
|
danakj
2013/06/05 21:53:32
Is the embedder just going to have to always provi
boliu
2013/06/05 22:17:27
Part 3 of this patch will just pass in NULL for no
|
| virtual void SetNeedsRedrawRect(gfx::Rect rect) OVERRIDE; |
| virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
| base::TimeDelta interval) OVERRIDE; |
| @@ -397,6 +402,9 @@ class CC_EXPORT LayerTreeHostImpl |
| Proxy* proxy_; |
| private: |
| + bool DoInitializeRenderer(scoped_ptr<OutputSurface> output_surface, |
| + bool is_deffered_init); |
| + |
| void AnimatePageScale(base::TimeTicks monotonic_time); |
| void AnimateScrollbars(base::TimeTicks monotonic_time); |
| void AnimateTopControls(base::TimeTicks monotonic_time); |