OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 namespace cc_blink { | 51 namespace cc_blink { |
52 class WebCompositorSupportImpl; | 52 class WebCompositorSupportImpl; |
53 } // namespace cc_blink | 53 } // namespace cc_blink |
54 | 54 |
55 namespace blink { | 55 namespace blink { |
56 namespace scheduler { | 56 namespace scheduler { |
57 class RendererScheduler; | 57 class RendererScheduler; |
58 class RendererSchedulerImpl; | 58 class RendererSchedulerImpl; |
59 } | 59 } |
60 class TestingPlatformMockWebTaskRunner; | 60 class TestingPlatformMockWebTaskRunner; |
61 class TestingPlatformMockWebThread; | |
62 class WebCompositorSupport; | 61 class WebCompositorSupport; |
63 class WebThread; | 62 class WebThread; |
64 | 63 |
65 class TestingCompositorSupport : public WebCompositorSupport { | 64 class TestingCompositorSupport : public WebCompositorSupport { |
66 std::unique_ptr<WebLayer> createLayer() override; | 65 std::unique_ptr<WebLayer> createLayer() override; |
67 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override; | 66 std::unique_ptr<WebLayer> createLayerFromCCLayer(cc::Layer*) override; |
68 std::unique_ptr<WebContentLayer> createContentLayer( | 67 std::unique_ptr<WebContentLayer> createContentLayer( |
69 WebContentLayerClient*) override; | 68 WebContentLayerClient*) override; |
70 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( | 69 std::unique_ptr<WebExternalTextureLayer> createExternalTextureLayer( |
71 cc::TextureLayerClient*) override; | 70 cc::TextureLayerClient*) override; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 m_discardableMemoryAllocator; | 206 m_discardableMemoryAllocator; |
208 std::unique_ptr<DummyPlatform> m_platform; | 207 std::unique_ptr<DummyPlatform> m_platform; |
209 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 208 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
210 TestingPlatformSupport::Config m_testingPlatformConfig; | 209 TestingPlatformSupport::Config m_testingPlatformConfig; |
211 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 210 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
212 }; | 211 }; |
213 | 212 |
214 } // namespace blink | 213 } // namespace blink |
215 | 214 |
216 #endif // TestingPlatformSupport_h | 215 #endif // TestingPlatformSupport_h |
OLD | NEW |