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

Side by Side Diff: cc/test/stub_layer_tree_host_client.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
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/test_compositor_frame_sink.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ 5 #ifndef CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_
6 #define CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ 6 #define CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_
7 7
8 #include "cc/trees/layer_tree_host_client.h" 8 #include "cc/trees/layer_tree_host_client.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class StubLayerTreeHostClient : public LayerTreeHostClient { 12 class StubLayerTreeHostClient : public LayerTreeHostClient {
13 public: 13 public:
14 ~StubLayerTreeHostClient() override; 14 ~StubLayerTreeHostClient() override;
15 15
16 // LayerTreeHostClient implementation. 16 // LayerTreeHostClient implementation.
17 void WillBeginMainFrame() override {} 17 void WillBeginMainFrame() override {}
18 void DidBeginMainFrame() override {} 18 void DidBeginMainFrame() override {}
19 void BeginMainFrame(const BeginFrameArgs& args) override {} 19 void BeginMainFrame(const BeginFrameArgs& args) override {}
20 void BeginMainFrameNotExpectedSoon() override {} 20 void BeginMainFrameNotExpectedSoon() override {}
21 void UpdateLayerTreeHost() override {} 21 void UpdateLayerTreeHost() override {}
22 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 22 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
23 const gfx::Vector2dF& outer_delta, 23 const gfx::Vector2dF& outer_delta,
24 const gfx::Vector2dF& elastic_overscroll_delta, 24 const gfx::Vector2dF& elastic_overscroll_delta,
25 float page_scale, 25 float page_scale,
26 float top_controls_delta) override {} 26 float top_controls_delta) override {}
27 void RequestNewOutputSurface() override {} 27 void RequestNewCompositorFrameSink() override {}
28 void DidInitializeOutputSurface() override {} 28 void DidInitializeCompositorFrameSink() override {}
29 void DidFailToInitializeOutputSurface() override {} 29 void DidFailToInitializeCompositorFrameSink() override {}
30 void WillCommit() override {} 30 void WillCommit() override {}
31 void DidCommit() override {} 31 void DidCommit() override {}
32 void DidCommitAndDrawFrame() override {} 32 void DidCommitAndDrawFrame() override {}
33 void DidCompleteSwapBuffers() override {} 33 void DidCompleteSwapBuffers() override {}
34 void DidCompletePageScaleAnimation() override {} 34 void DidCompletePageScaleAnimation() override {}
35 }; 35 };
36 36
37 } // namespace cc 37 } // namespace cc
38 38
39 #endif // CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_ 39 #endif // CC_TEST_STUB_LAYER_TREE_HOST_CLIENT_H_
OLDNEW
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/test/test_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698