Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: third_party/WebKit/Source/platform/testing/WebLayerTreeViewImplForTesting.h

Issue 2444563002: cc: Remove "SwapBuffers" naming from LayerTreeHostSingleThreadClient (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 WebLayerTreeViewImplForTesting_h 5 #ifndef WebLayerTreeViewImplForTesting_h
6 #define WebLayerTreeViewImplForTesting_h 6 #define WebLayerTreeViewImplForTesting_h
7 7
8 #include "cc/test/test_task_graph_runner.h" 8 #include "cc/test/test_task_graph_runner.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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void RequestNewCompositorFrameSink() override; 90 void RequestNewCompositorFrameSink() override;
91 void DidInitializeCompositorFrameSink() override {} 91 void DidInitializeCompositorFrameSink() override {}
92 void DidFailToInitializeCompositorFrameSink() override; 92 void DidFailToInitializeCompositorFrameSink() override;
93 void WillCommit() override {} 93 void WillCommit() override {}
94 void DidCommit() override {} 94 void DidCommit() override {}
95 void DidCommitAndDrawFrame() override {} 95 void DidCommitAndDrawFrame() override {}
96 void DidReceiveCompositorFrameAck() override {} 96 void DidReceiveCompositorFrameAck() override {}
97 void DidCompletePageScaleAnimation() override {} 97 void DidCompletePageScaleAnimation() override {}
98 98
99 // cc::LayerTreeHostSingleThreadClient implementation. 99 // cc::LayerTreeHostSingleThreadClient implementation.
100 void DidPostSwapBuffers() override {} 100 void DidSubmitCompositorFrame() override {}
101 void DidAbortSwapBuffers() override {} 101 void DidLoseCompositorFrameSink() override {}
102 102
103 private: 103 private:
104 cc::TestTaskGraphRunner m_taskGraphRunner; 104 cc::TestTaskGraphRunner m_taskGraphRunner;
105 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 105 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
106 }; 106 };
107 107
108 } // namespace blink 108 } // namespace blink
109 109
110 #endif // WebLayerTreeViewImplForTesting_h 110 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698