| 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 23 matching lines...) Expand all Loading... |
| 34 } | 34 } |
| 35 | 35 |
| 36 namespace content { | 36 namespace content { |
| 37 | 37 |
| 38 // An implementation of BlinkPlatformImpl for tests. | 38 // An implementation of BlinkPlatformImpl for tests. |
| 39 class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl { | 39 class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl { |
| 40 public: | 40 public: |
| 41 TestBlinkWebUnitTestSupport(); | 41 TestBlinkWebUnitTestSupport(); |
| 42 ~TestBlinkWebUnitTestSupport() override; | 42 ~TestBlinkWebUnitTestSupport() override; |
| 43 | 43 |
| 44 blink::WebBlobRegistry* blobRegistry() override; | 44 blink::WebBlobRegistry* getBlobRegistry() override; |
| 45 blink::WebClipboard* clipboard() override; | 45 blink::WebClipboard* clipboard() override; |
| 46 blink::WebFileUtilities* fileUtilities() override; | 46 blink::WebFileUtilities* fileUtilities() override; |
| 47 blink::WebIDBFactory* idbFactory() override; | 47 blink::WebIDBFactory* idbFactory() override; |
| 48 blink::WebMimeRegistry* mimeRegistry() override; | 48 blink::WebMimeRegistry* mimeRegistry() override; |
| 49 | 49 |
| 50 blink::WebURLLoader* createURLLoader() override; | 50 blink::WebURLLoader* createURLLoader() override; |
| 51 blink::WebString userAgent() override; | 51 blink::WebString userAgent() override; |
| 52 blink::WebString queryLocalizedString( | 52 blink::WebString queryLocalizedString( |
| 53 blink::WebLocalizedString::Name name) override; | 53 blink::WebLocalizedString::Name name) override; |
| 54 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, | 54 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 #if defined(OS_WIN) || defined(OS_MACOSX) | 93 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 94 blink::WebThemeEngine* active_theme_engine_ = nullptr; | 94 blink::WebThemeEngine* active_theme_engine_ = nullptr; |
| 95 #endif | 95 #endif |
| 96 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); | 96 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace content | 99 } // namespace content |
| 100 | 100 |
| 101 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 101 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| OLD | NEW |