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 |
4 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
5 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
6 | 7 |
7 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
8 #include "cc/font_atlas.h" | 9 #include "cc/font_atlas.h" |
9 #include "cc/input_handler.h" | 10 #include "cc/input_handler.h" |
10 #include "cc/layer_tree_host.h" | 11 #include "cc/layer_tree_host.h" |
11 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 12 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
12 #include "cc/test/fake_output_surface.h" | 13 #include "cc/test/fake_output_surface.h" |
13 | 14 |
(...skipping 24 matching lines...) Expand all Loading... |
38 // Used only in the single-threaded path. | 39 // Used only in the single-threaded path. |
39 virtual void scheduleComposite() OVERRIDE { } | 40 virtual void scheduleComposite() OVERRIDE { } |
40 | 41 |
41 virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE; | 42 virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE; |
42 | 43 |
43 private: | 44 private: |
44 bool m_useSoftwareRendering; | 45 bool m_useSoftwareRendering; |
45 bool m_useDelegatingRenderer; | 46 bool m_useDelegatingRenderer; |
46 }; | 47 }; |
47 | 48 |
48 } | 49 } // namespace cc |
| 50 |
49 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ | 51 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_ |
OLD | NEW |