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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 TestingPlatformSupport(); | 104 TestingPlatformSupport(); |
105 explicit TestingPlatformSupport(const Config&); | 105 explicit TestingPlatformSupport(const Config&); |
106 | 106 |
107 ~TestingPlatformSupport() override; | 107 ~TestingPlatformSupport() override; |
108 | 108 |
109 // Platform: | 109 // Platform: |
110 WebString defaultLocale() override; | 110 WebString defaultLocale() override; |
111 WebCompositorSupport* compositorSupport() override; | 111 WebCompositorSupport* compositorSupport() override; |
112 WebThread* currentThread() override; | 112 WebThread* currentThread() override; |
113 WebBlobRegistry* blobRegistry() override; | 113 WebBlobRegistry* getBlobRegistry() override; |
114 WebClipboard* clipboard() override; | 114 WebClipboard* clipboard() override; |
115 WebFileUtilities* fileUtilities() override; | 115 WebFileUtilities* fileUtilities() override; |
116 WebIDBFactory* idbFactory() override; | 116 WebIDBFactory* idbFactory() override; |
117 WebMimeRegistry* mimeRegistry() override; | 117 WebMimeRegistry* mimeRegistry() override; |
118 WebURLLoaderMockFactory* getURLLoaderMockFactory() override; | 118 WebURLLoaderMockFactory* getURLLoaderMockFactory() override; |
119 blink::WebURLLoader* createURLLoader() override; | 119 blink::WebURLLoader* createURLLoader() override; |
120 | 120 |
121 WebData loadResource(const char* name) override; | 121 WebData loadResource(const char* name) override; |
122 WebURLError cancelledError(const WebURL&) const override; | 122 WebURLError cancelledError(const WebURL&) const override; |
123 | 123 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 std::unique_ptr<base::TestDiscardableMemoryAllocator> m_discardableMemoryAll
ocator; | 178 std::unique_ptr<base::TestDiscardableMemoryAllocator> m_discardableMemoryAll
ocator; |
179 std::unique_ptr<DummyPlatform> m_platform; | 179 std::unique_ptr<DummyPlatform> m_platform; |
180 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 180 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
181 TestingPlatformSupport::Config m_testingPlatformConfig; | 181 TestingPlatformSupport::Config m_testingPlatformConfig; |
182 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 182 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
183 }; | 183 }; |
184 | 184 |
185 } // namespace blink | 185 } // namespace blink |
186 | 186 |
187 #endif // TestingPlatformSupport_h | 187 #endif // TestingPlatformSupport_h |
OLD | NEW |