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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 // Platform: | 107 // Platform: |
108 WebString DefaultLocale() override; | 108 WebString DefaultLocale() override; |
109 WebCompositorSupport* CompositorSupport() override; | 109 WebCompositorSupport* CompositorSupport() override; |
110 WebThread* CurrentThread() override; | 110 WebThread* CurrentThread() override; |
111 WebBlobRegistry* GetBlobRegistry() override; | 111 WebBlobRegistry* GetBlobRegistry() override; |
112 WebClipboard* Clipboard() override; | 112 WebClipboard* Clipboard() override; |
113 WebFileUtilities* GetFileUtilities() override; | 113 WebFileUtilities* GetFileUtilities() override; |
114 WebIDBFactory* IdbFactory() override; | 114 WebIDBFactory* IdbFactory() override; |
115 WebURLLoaderMockFactory* GetURLLoaderMockFactory() override; | 115 WebURLLoaderMockFactory* GetURLLoaderMockFactory() override; |
116 blink::WebURLLoader* CreateURLLoader() override; | 116 std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override; |
117 WebData LoadResource(const char* name) override; | 117 WebData LoadResource(const char* name) override; |
118 WebURLError CancelledError(const WebURL&) const override; | 118 WebURLError CancelledError(const WebURL&) const override; |
119 InterfaceProvider* GetInterfaceProvider() override; | 119 InterfaceProvider* GetInterfaceProvider() override; |
120 | 120 |
121 virtual void RunUntilIdle(); | 121 virtual void RunUntilIdle(); |
122 | 122 |
123 protected: | 123 protected: |
124 class TestingInterfaceProvider; | 124 class TestingInterfaceProvider; |
125 | 125 |
126 const Config config_; | 126 const Config config_; |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 discardable_memory_allocator_; | 236 discardable_memory_allocator_; |
237 std::unique_ptr<DummyPlatform> dummy_platform_; | 237 std::unique_ptr<DummyPlatform> dummy_platform_; |
238 std::unique_ptr<cc_blink::WebCompositorSupportImpl> compositor_support_; | 238 std::unique_ptr<cc_blink::WebCompositorSupportImpl> compositor_support_; |
239 TestingPlatformSupport::Config testing_platform_config_; | 239 TestingPlatformSupport::Config testing_platform_config_; |
240 std::unique_ptr<TestingPlatformSupport> testing_platform_support_; | 240 std::unique_ptr<TestingPlatformSupport> testing_platform_support_; |
241 }; | 241 }; |
242 | 242 |
243 } // namespace blink | 243 } // namespace blink |
244 | 244 |
245 #endif // TestingPlatformSupport_h | 245 #endif // TestingPlatformSupport_h |
OLD | NEW |