OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 5 #ifndef WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 6 #define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" | 9 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | |
12 #include "webkit/glue/webfileutilities_impl.h" | 11 #include "webkit/glue/webfileutilities_impl.h" |
13 #include "webkit/glue/webkitplatformsupport_impl.h" | 12 #include "webkit/glue/webkitplatformsupport_impl.h" |
14 #include "webkit/support/simple_database_system.h" | 13 #include "webkit/support/simple_database_system.h" |
15 #include "webkit/support/weburl_loader_mock_factory.h" | 14 #include "webkit/support/weburl_loader_mock_factory.h" |
16 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" | 15 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
17 #include "webkit/tools/test_shell/simple_appcache_system.h" | 16 #include "webkit/tools/test_shell/simple_appcache_system.h" |
18 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | 17 #include "webkit/tools/test_shell/simple_dom_storage_system.h" |
19 #include "webkit/tools/test_shell/simple_file_system.h" | 18 #include "webkit/tools/test_shell/simple_file_system.h" |
20 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" | 19 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" |
21 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" | 20 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 WebKit::WebLocalizedString::Name name, | 75 WebKit::WebLocalizedString::Name name, |
77 const WebKit::WebString& value); | 76 const WebKit::WebString& value); |
78 virtual WebKit::WebString queryLocalizedString( | 77 virtual WebKit::WebString queryLocalizedString( |
79 WebKit::WebLocalizedString::Name name, | 78 WebKit::WebLocalizedString::Name name, |
80 const WebKit::WebString& value1, | 79 const WebKit::WebString& value1, |
81 const WebKit::WebString& value2); | 80 const WebKit::WebString& value2); |
82 virtual WebKit::WebString defaultLocale(); | 81 virtual WebKit::WebString defaultLocale(); |
83 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 82 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
84 const WebKit::WebString& path, unsigned quota); | 83 const WebKit::WebString& path, unsigned quota); |
85 | 84 |
86 virtual WebKit::WebIDBFactory* idbFactory(); | |
87 | |
88 #if defined(OS_WIN) || defined(OS_MACOSX) | 85 #if defined(OS_WIN) || defined(OS_MACOSX) |
89 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 86 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
90 virtual WebKit::WebThemeEngine *themeEngine(); | 87 virtual WebKit::WebThemeEngine *themeEngine(); |
91 #endif | 88 #endif |
92 | 89 |
93 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 90 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
94 const WebKit::WebGraphicsContext3D::Attributes&); | 91 const WebKit::WebGraphicsContext3D::Attributes&); |
95 virtual bool canAccelerate2dCanvas(); | 92 virtual bool canAccelerate2dCanvas(); |
96 | 93 |
97 WebURLLoaderMockFactory* url_loader_factory() { | 94 WebURLLoaderMockFactory* url_loader_factory() { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 WebKit::Platform* shadow_platform_delegate_; | 180 WebKit::Platform* shadow_platform_delegate_; |
184 HyphenDict* hyphen_dictionary_; | 181 HyphenDict* hyphen_dictionary_; |
185 | 182 |
186 #if defined(OS_WIN) || defined(OS_MACOSX) | 183 #if defined(OS_WIN) || defined(OS_MACOSX) |
187 WebKit::WebThemeEngine* active_theme_engine_; | 184 WebKit::WebThemeEngine* active_theme_engine_; |
188 #endif | 185 #endif |
189 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 186 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
190 }; | 187 }; |
191 | 188 |
192 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 189 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |