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: cc/test/stub_layer_tree_host_single_thread_client.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 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_SINGLE_THREAD_CLIENT_H_ 5 #ifndef CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_
6 #define CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ 6 #define CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_
7 7
8 #include "cc/trees/layer_tree_host_single_thread_client.h" 8 #include "cc/trees/layer_tree_host_single_thread_client.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class StubLayerTreeHostSingleThreadClient 12 class StubLayerTreeHostSingleThreadClient
13 : public LayerTreeHostSingleThreadClient { 13 : public LayerTreeHostSingleThreadClient {
14 public: 14 public:
15 ~StubLayerTreeHostSingleThreadClient() override; 15 ~StubLayerTreeHostSingleThreadClient() override;
16 16
17 // LayerTreeHostSingleThreadClient implementation. 17 // LayerTreeHostSingleThreadClient implementation.
18 void RequestScheduleComposite() override {} 18 void RequestScheduleComposite() override {}
19 void RequestScheduleAnimation() override {} 19 void RequestScheduleAnimation() override {}
20 void DidPostSwapBuffers() override {} 20 void DidSubmitCompositorFrame() override {}
21 void DidReceiveCompositorFrameAck() override {} 21 void DidLoseCompositorFrameSink() override {}
22 void DidAbortSwapBuffers() override {}
23 }; 22 };
24 23
25 } // namespace cc 24 } // namespace cc
26 25
27 #endif // CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_ 26 #endif // CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698