| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 WebLayerTreeViewImpl_h | 5 #ifndef WebLayerTreeViewImpl_h |
| 6 #define WebLayerTreeViewImpl_h | 6 #define WebLayerTreeViewImpl_h |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/layer_tree_host_client.h" | 9 #include "cc/layer_tree_host_client.h" |
| 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 virtual void setContinuousPaintingEnabled(bool); | 63 virtual void setContinuousPaintingEnabled(bool); |
| 64 | 64 |
| 65 // cc::LayerTreeHostClient implementation. | 65 // cc::LayerTreeHostClient implementation. |
| 66 virtual void willBeginFrame() OVERRIDE; | 66 virtual void willBeginFrame() OVERRIDE; |
| 67 virtual void didBeginFrame() OVERRIDE; | 67 virtual void didBeginFrame() OVERRIDE; |
| 68 virtual void animate(double monotonicFrameBeginTime) OVERRIDE; | 68 virtual void animate(double monotonicFrameBeginTime) OVERRIDE; |
| 69 virtual void layout() OVERRIDE; | 69 virtual void layout() OVERRIDE; |
| 70 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale)
OVERRIDE; | 70 virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale)
OVERRIDE; |
| 71 virtual scoped_ptr<cc::OutputSurface> createOutputSurface() OVERRIDE; | 71 virtual scoped_ptr<cc::OutputSurface> createOutputSurface() OVERRIDE; |
| 72 virtual void didRecreateOutputSurface(bool success) OVERRIDE; | 72 virtual void didRecreateOutputSurface(bool success) OVERRIDE; |
| 73 virtual WebKit::WebGraphicsContext3D* offscreenContext3dForMainThread() OVER
RIDE; |
| 74 virtual WebKit::WebGraphicsContext3D* offscreenContext3dForCompositorThread(
) OVERRIDE; |
| 75 virtual GrContext* offscreenGrContextForMainThread() OVERRIDE; |
| 76 virtual GrContext* offscreenGrContextForCompositorThread() OVERRIDE; |
| 73 virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE; | 77 virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE; |
| 74 virtual void willCommit() OVERRIDE; | 78 virtual void willCommit() OVERRIDE; |
| 75 virtual void didCommit() OVERRIDE; | 79 virtual void didCommit() OVERRIDE; |
| 76 virtual void didCommitAndDrawFrame() OVERRIDE; | 80 virtual void didCommitAndDrawFrame() OVERRIDE; |
| 77 virtual void didCompleteSwapBuffers() OVERRIDE; | 81 virtual void didCompleteSwapBuffers() OVERRIDE; |
| 78 virtual void scheduleComposite() OVERRIDE; | 82 virtual void scheduleComposite() OVERRIDE; |
| 79 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); | 83 virtual scoped_ptr<cc::FontAtlas> createFontAtlas(); |
| 80 | 84 |
| 81 private: | 85 private: |
| 82 WebLayerTreeViewClient* m_client; | 86 WebLayerTreeViewClient* m_client; |
| 83 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; | 87 scoped_ptr<cc::LayerTreeHost> m_layerTreeHost; |
| 84 }; | 88 }; |
| 85 | 89 |
| 86 } // namespace WebKit | 90 } // namespace WebKit |
| 87 | 91 |
| 88 #endif // WebLayerTreeViewImpl_h | 92 #endif // WebLayerTreeViewImpl_h |
| OLD | NEW |