| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 4 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
| 5 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 5 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
| 6 | 6 |
| 7 #include "config.h" | |
| 8 | |
| 9 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/input_handler.h" | 8 #include "cc/input_handler.h" |
| 11 #include "cc/layer_tree_host.h" | 9 #include "cc/layer_tree_host.h" |
| 12 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 10 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
| 13 #include "cc/test/fake_web_compositor_output_surface.h" | 11 #include "cc/test/fake_web_compositor_output_surface.h" |
| 14 | 12 |
| 15 namespace cc { | 13 namespace cc { |
| 16 | 14 |
| 17 class FakeLayerImplTreeHostClient : public LayerTreeHostClient { | 15 class FakeLayerImplTreeHostClient : public LayerTreeHostClient { |
| 18 public: | 16 public: |
| (...skipping 10 matching lines...) Expand all Loading... |
| 29 virtual void didCommit() OVERRIDE { } | 27 virtual void didCommit() OVERRIDE { } |
| 30 virtual void didCommitAndDrawFrame() OVERRIDE { } | 28 virtual void didCommitAndDrawFrame() OVERRIDE { } |
| 31 virtual void didCompleteSwapBuffers() OVERRIDE { } | 29 virtual void didCompleteSwapBuffers() OVERRIDE { } |
| 32 | 30 |
| 33 // Used only in the single-threaded path. | 31 // Used only in the single-threaded path. |
| 34 virtual void scheduleComposite() OVERRIDE { } | 32 virtual void scheduleComposite() OVERRIDE { } |
| 35 }; | 33 }; |
| 36 | 34 |
| 37 } | 35 } |
| 38 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 36 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
| OLD | NEW |