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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 float page_scale, | 75 float page_scale, |
76 float top_controls_delta) override; | 76 float top_controls_delta) override; |
77 void RequestNewOutputSurface() override; | 77 void RequestNewOutputSurface() override; |
78 void DidInitializeOutputSurface() override {} | 78 void DidInitializeOutputSurface() override {} |
79 void DidFailToInitializeOutputSurface() override; | 79 void DidFailToInitializeOutputSurface() override; |
80 void WillCommit() override {} | 80 void WillCommit() override {} |
81 void DidCommit() override {} | 81 void DidCommit() override {} |
82 void DidCommitAndDrawFrame() override {} | 82 void DidCommitAndDrawFrame() override {} |
83 void DidCompleteSwapBuffers() override {} | 83 void DidCompleteSwapBuffers() override {} |
84 void DidCompletePageScaleAnimation() override {} | 84 void DidCompletePageScaleAnimation() override {} |
| 85 void RecordFrameTimingEvents( |
| 86 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, |
| 87 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
| 88 override {} |
85 | 89 |
86 // cc::LayerTreeHostSingleThreadClient implementation. | 90 // cc::LayerTreeHostSingleThreadClient implementation. |
87 void DidPostSwapBuffers() override {} | 91 void DidPostSwapBuffers() override {} |
88 void DidAbortSwapBuffers() override {} | 92 void DidAbortSwapBuffers() override {} |
89 | 93 |
90 private: | 94 private: |
91 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; | 95 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; |
92 | 96 |
93 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); | 97 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting); |
94 }; | 98 }; |
95 | 99 |
96 } // namespace content | 100 } // namespace content |
97 | 101 |
98 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ | 102 #endif // CONTENT_TEST_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_ |
OLD | NEW |