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