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_WEBKIT_PLATFORM_SUPPORT_H_ | 5 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "content/child/simple_webmimeregistry_impl.h" | 10 #include "content/child/simple_webmimeregistry_impl.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 public: | 28 public: |
29 TestWebKitPlatformSupport(); | 29 TestWebKitPlatformSupport(); |
30 virtual ~TestWebKitPlatformSupport(); | 30 virtual ~TestWebKitPlatformSupport(); |
31 | 31 |
32 virtual blink::WebMimeRegistry* mimeRegistry(); | 32 virtual blink::WebMimeRegistry* mimeRegistry(); |
33 virtual blink::WebClipboard* clipboard(); | 33 virtual blink::WebClipboard* clipboard(); |
34 virtual blink::WebFileUtilities* fileUtilities(); | 34 virtual blink::WebFileUtilities* fileUtilities(); |
35 virtual blink::WebIDBFactory* idbFactory(); | 35 virtual blink::WebIDBFactory* idbFactory(); |
36 | 36 |
37 virtual blink::WebURLLoader* createURLLoader(); | 37 virtual blink::WebURLLoader* createURLLoader(); |
38 virtual blink::WebString userAgent() OVERRIDE; | |
39 // TODO(jam): remove this after Blink is updated | |
40 virtual blink::WebString userAgent(const blink::WebURL& url); | |
41 virtual blink::WebData loadResource(const char* name); | 38 virtual blink::WebData loadResource(const char* name); |
42 virtual blink::WebString queryLocalizedString( | 39 virtual blink::WebString queryLocalizedString( |
43 blink::WebLocalizedString::Name name); | 40 blink::WebLocalizedString::Name name); |
44 virtual blink::WebString queryLocalizedString( | 41 virtual blink::WebString queryLocalizedString( |
45 blink::WebLocalizedString::Name name, | 42 blink::WebLocalizedString::Name name, |
46 const blink::WebString& value); | 43 const blink::WebString& value); |
47 virtual blink::WebString queryLocalizedString( | 44 virtual blink::WebString queryLocalizedString( |
48 blink::WebLocalizedString::Name name, | 45 blink::WebLocalizedString::Name name, |
49 const blink::WebString& value1, | 46 const blink::WebString& value1, |
50 const blink::WebString& value2); | 47 const blink::WebString& value2); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 106 |
110 #if defined(OS_WIN) || defined(OS_MACOSX) | 107 #if defined(OS_WIN) || defined(OS_MACOSX) |
111 blink::WebThemeEngine* active_theme_engine_; | 108 blink::WebThemeEngine* active_theme_engine_; |
112 #endif | 109 #endif |
113 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 110 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
114 }; | 111 }; |
115 | 112 |
116 } // namespace content | 113 } // namespace content |
117 | 114 |
118 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 115 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |