| 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 26 matching lines...) Expand all Loading... |
| 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* blobRegistry() 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; | |
| 48 blink::WebMimeRegistry* mimeRegistry() override; | 47 blink::WebMimeRegistry* mimeRegistry() override; |
| 49 | 48 |
| 50 blink::WebURLLoader* createURLLoader() override; | 49 blink::WebURLLoader* createURLLoader() override; |
| 51 blink::WebString userAgent() override; | 50 blink::WebString userAgent() override; |
| 52 blink::WebString queryLocalizedString( | 51 blink::WebString queryLocalizedString( |
| 53 blink::WebLocalizedString::Name name) override; | 52 blink::WebLocalizedString::Name name) override; |
| 54 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, | 53 blink::WebString queryLocalizedString(blink::WebLocalizedString::Name name, |
| 55 const blink::WebString& value) override; | 54 const blink::WebString& value) override; |
| 56 blink::WebString queryLocalizedString( | 55 blink::WebString queryLocalizedString( |
| 57 blink::WebLocalizedString::Name name, | 56 blink::WebLocalizedString::Name name, |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 90 |
| 92 #if defined(OS_WIN) || defined(OS_MACOSX) | 91 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 93 blink::WebThemeEngine* active_theme_engine_ = nullptr; | 92 blink::WebThemeEngine* active_theme_engine_ = nullptr; |
| 94 #endif | 93 #endif |
| 95 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); | 94 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 } // namespace content | 97 } // namespace content |
| 99 | 98 |
| 100 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 99 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| OLD | NEW |