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

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

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 months 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 void WillBeginMainFrame() override {} 77 void WillBeginMainFrame() override {}
78 void DidBeginMainFrame() override {} 78 void DidBeginMainFrame() override {}
79 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} 79 void BeginMainFrame(const cc::BeginFrameArgs& args) override {}
80 void BeginMainFrameNotExpectedSoon() override {} 80 void BeginMainFrameNotExpectedSoon() override {}
81 void UpdateLayerTreeHost() override; 81 void UpdateLayerTreeHost() override;
82 void ApplyViewportDeltas(const gfx::Vector2dF& innerDelta, 82 void ApplyViewportDeltas(const gfx::Vector2dF& innerDelta,
83 const gfx::Vector2dF& outerDelta, 83 const gfx::Vector2dF& outerDelta,
84 const gfx::Vector2dF& elasticOverscrollDelta, 84 const gfx::Vector2dF& elasticOverscrollDelta,
85 float pageScale, 85 float pageScale,
86 float topControlsDelta) override; 86 float topControlsDelta) override;
87 void RequestNewOutputSurface() override; 87 void RequestNewCompositorFrameSink() override;
88 void DidInitializeOutputSurface() override {} 88 void DidInitializeCompositorFrameSink() override {}
89 void DidFailToInitializeOutputSurface() override; 89 void DidFailToInitializeCompositorFrameSink() override;
90 void WillCommit() override {} 90 void WillCommit() override {}
91 void DidCommit() override {} 91 void DidCommit() override {}
92 void DidCommitAndDrawFrame() override {} 92 void DidCommitAndDrawFrame() override {}
93 void DidCompleteSwapBuffers() override {} 93 void DidCompleteSwapBuffers() override {}
94 void DidCompletePageScaleAnimation() override {} 94 void DidCompletePageScaleAnimation() override {}
95 95
96 // cc::LayerTreeHostSingleThreadClient implementation. 96 // cc::LayerTreeHostSingleThreadClient implementation.
97 void DidPostSwapBuffers() override {} 97 void DidPostSwapBuffers() override {}
98 void DidAbortSwapBuffers() override {} 98 void DidAbortSwapBuffers() override {}
99 99
100 private: 100 private:
101 cc::TestTaskGraphRunner m_taskGraphRunner; 101 cc::TestTaskGraphRunner m_taskGraphRunner;
102 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost; 102 std::unique_ptr<cc::LayerTreeHost> m_layerTreeHost;
103 }; 103 };
104 104
105 } // namespace blink 105 } // namespace blink
106 106
107 #endif // WebLayerTreeViewImplForTesting_h 107 #endif // WebLayerTreeViewImplForTesting_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698