| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 5 #ifndef CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
| 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 6 #define CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "cc/trees/layer_tree_host_client.h" | 9 #include "cc/trees/layer_tree_host_client.h" |
| 10 #include "cc/trees/layer_tree_host_single_thread_client.h" | 10 #include "cc/trees/layer_tree_host_single_thread_client.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 float page_scale) OVERRIDE; | 73 float page_scale) OVERRIDE; |
| 74 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) | 74 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) |
| 75 OVERRIDE; | 75 OVERRIDE; |
| 76 virtual void DidInitializeOutputSurface() OVERRIDE {} | 76 virtual void DidInitializeOutputSurface() OVERRIDE {} |
| 77 virtual void WillCommit() OVERRIDE {} | 77 virtual void WillCommit() OVERRIDE {} |
| 78 virtual void DidCommit() OVERRIDE {} | 78 virtual void DidCommit() OVERRIDE {} |
| 79 virtual void DidCommitAndDrawFrame() OVERRIDE {} | 79 virtual void DidCommitAndDrawFrame() OVERRIDE {} |
| 80 virtual void DidCompleteSwapBuffers() OVERRIDE {} | 80 virtual void DidCompleteSwapBuffers() OVERRIDE {} |
| 81 | 81 |
| 82 // cc::LayerTreeHostSingleThreadClient implementation. | 82 // cc::LayerTreeHostSingleThreadClient implementation. |
| 83 virtual void ScheduleComposite() OVERRIDE {} |
| 84 virtual void ScheduleAnimation() OVERRIDE {} |
| 83 virtual void DidPostSwapBuffers() OVERRIDE {} | 85 virtual void DidPostSwapBuffers() OVERRIDE {} |
| 84 virtual void DidAbortSwapBuffers() OVERRIDE {} | 86 virtual void DidAbortSwapBuffers() OVERRIDE {} |
| 85 | 87 |
| 86 private: | 88 private: |
| 87 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; | 89 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; |
| 88 | 90 |
| 89 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); | 91 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); |
| 90 }; | 92 }; |
| 91 | 93 |
| 92 } // namespace content | 94 } // namespace content |
| 93 | 95 |
| 94 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 96 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
| OLD | NEW |