| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 |
| 5 #ifndef CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 5 #ifndef CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| 6 #define CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 6 #define CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 blink::WebGestureCurve* createFlingAnimationCurve( | 67 blink::WebGestureCurve* createFlingAnimationCurve( |
| 68 blink::WebGestureDevice device_source, | 68 blink::WebGestureDevice device_source, |
| 69 const blink::WebFloatPoint& velocity, | 69 const blink::WebFloatPoint& velocity, |
| 70 const blink::WebSize& cumulative_scroll) override; | 70 const blink::WebSize& cumulative_scroll) override; |
| 71 | 71 |
| 72 blink::WebURLLoaderMockFactory* getURLLoaderMockFactory() override; | 72 blink::WebURLLoaderMockFactory* getURLLoaderMockFactory() override; |
| 73 | 73 |
| 74 blink::WebThread* currentThread() override; | 74 blink::WebThread* currentThread() override; |
| 75 | 75 |
| 76 void getPluginList(bool refresh, | 76 void getPluginList(bool refresh, |
| 77 blink::WebSecurityOrigin* origin, |
| 77 blink::WebPluginListBuilder* builder) override; | 78 blink::WebPluginListBuilder* builder) override; |
| 78 | 79 |
| 79 private: | 80 private: |
| 80 MockWebBlobRegistryImpl blob_registry_; | 81 MockWebBlobRegistryImpl blob_registry_; |
| 81 SimpleWebMimeRegistryImpl mime_registry_; | 82 SimpleWebMimeRegistryImpl mime_registry_; |
| 82 std::unique_ptr<MockWebClipboardImpl> mock_clipboard_; | 83 std::unique_ptr<MockWebClipboardImpl> mock_clipboard_; |
| 83 WebFileUtilitiesImpl file_utilities_; | 84 WebFileUtilitiesImpl file_utilities_; |
| 84 base::ScopedTempDir file_system_root_; | 85 base::ScopedTempDir file_system_root_; |
| 85 std::unique_ptr<blink::WebURLLoaderMockFactory> url_loader_factory_; | 86 std::unique_ptr<blink::WebURLLoaderMockFactory> url_loader_factory_; |
| 86 cc_blink::WebCompositorSupportImpl compositor_support_; | 87 cc_blink::WebCompositorSupportImpl compositor_support_; |
| 87 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; | 88 std::unique_ptr<scheduler::RendererScheduler> renderer_scheduler_; |
| 88 std::unique_ptr<blink::WebThread> web_thread_; | 89 std::unique_ptr<blink::WebThread> web_thread_; |
| 89 | 90 |
| 90 #if defined(OS_WIN) || defined(OS_MACOSX) | 91 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 91 blink::WebThemeEngine* active_theme_engine_ = nullptr; | 92 blink::WebThemeEngine* active_theme_engine_ = nullptr; |
| 92 #endif | 93 #endif |
| 93 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); | 94 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 } // namespace content | 97 } // namespace content |
| 97 | 98 |
| 98 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 99 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| OLD | NEW |