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

Unified Diff: cc/test/stub_layer_tree_host_single_thread_client.h

Issue 2174653002: cc: Break up with FakeLayerTreeHostClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fakeoutputsurface
Patch Set: lthclient-tests: rebase Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: cc/test/stub_layer_tree_host_single_thread_client.h
diff --git a/cc/test/stub_layer_tree_host_single_thread_client.h b/cc/test/stub_layer_tree_host_single_thread_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..c17c11e20676da89bc09e6905d1c74f4ca2f5f16
--- /dev/null
+++ b/cc/test/stub_layer_tree_host_single_thread_client.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_
+#define CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_
+
+#include "cc/trees/layer_tree_host_single_thread_client.h"
+
+namespace cc {
+
+class StubLayerTreeHostSingleThreadClient
+ : public LayerTreeHostSingleThreadClient {
+ public:
+ ~StubLayerTreeHostSingleThreadClient() override;
+
+ // LayerTreeHostSingleThreadClient implementation.
+ void RequestScheduleComposite() override {}
+ void RequestScheduleAnimation() override {}
+ void DidPostSwapBuffers() override {}
+ void DidCompleteSwapBuffers() override {}
+ void DidAbortSwapBuffers() override {}
+};
+
+} // namespace cc
+
+#endif // CC_TEST_STUB_LAYER_TREE_HOST_SINGLE_THREAD_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698