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

Unified Diff: cc/test/fake_layer_tree_host_impl.h

Issue 11472021: cc: Pass LayerTreeHostImpl to LayerImpl constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/fake_layer_tree_host_impl.h
diff --git a/cc/test/fake_layer_tree_host_impl.h b/cc/test/fake_layer_tree_host_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..fd0af47167efc969a477ec62b497c9f1fd1b3e33
--- /dev/null
+++ b/cc/test/fake_layer_tree_host_impl.h
@@ -0,0 +1,27 @@
+// Copyright 2012 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_FAKE_LAYER_TREE_HOST_IMPL_H_
+#define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
+
+#include "cc/layer_tree_host_impl.h"
+#include "cc/single_thread_proxy.h"
+#include "cc/test/fake_layer_tree_host_impl_client.h"
+
+namespace cc {
jamesr 2012/12/07 07:28:40 and test ?
+
+class FakeLayerTreeHostImpl : public LayerTreeHostImpl
+{
jamesr 2012/12/07 07:28:40 chromium style for new file plz
enne (OOO) 2012/12/07 08:16:37 Done.
+public:
+ FakeLayerTreeHostImpl(Proxy* proxy);
+ virtual ~FakeLayerTreeHostImpl();
+
+private:
+ FakeLayerTreeHostImplClient m_client;
+ LayerTreeSettings m_settings;
+};
+
+} // namespace cc
+
+#endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698