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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 WebKit::WebLocalizedString::Name name, | 67 WebKit::WebLocalizedString::Name name, |
69 const WebKit::WebString& value); | 68 const WebKit::WebString& value); |
70 virtual WebKit::WebString queryLocalizedString( | 69 virtual WebKit::WebString queryLocalizedString( |
71 WebKit::WebLocalizedString::Name name, | 70 WebKit::WebLocalizedString::Name name, |
72 const WebKit::WebString& value1, | 71 const WebKit::WebString& value1, |
73 const WebKit::WebString& value2); | 72 const WebKit::WebString& value2); |
74 virtual WebKit::WebString defaultLocale(); | 73 virtual WebKit::WebString defaultLocale(); |
75 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( | 74 virtual WebKit::WebStorageNamespace* createLocalStorageNamespace( |
76 const WebKit::WebString& path, unsigned quota); | 75 const WebKit::WebString& path, unsigned quota); |
77 | 76 |
78 virtual WebKit::WebIDBFactory* idbFactory(); | |
79 | |
80 #if defined(OS_WIN) || defined(OS_MACOSX) | 77 #if defined(OS_WIN) || defined(OS_MACOSX) |
81 void SetThemeEngine(WebKit::WebThemeEngine* engine); | 78 void SetThemeEngine(WebKit::WebThemeEngine* engine); |
82 virtual WebKit::WebThemeEngine *themeEngine(); | 79 virtual WebKit::WebThemeEngine *themeEngine(); |
83 #endif | 80 #endif |
84 | 81 |
85 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( | 82 virtual WebKit::WebGraphicsContext3D* createOffscreenGraphicsContext3D( |
86 const WebKit::WebGraphicsContext3D::Attributes&); | 83 const WebKit::WebGraphicsContext3D::Attributes&); |
87 virtual bool canAccelerate2dCanvas(); | 84 virtual bool canAccelerate2dCanvas(); |
88 | 85 |
89 WebURLLoaderMockFactory* url_loader_factory() { | 86 WebURLLoaderMockFactory* url_loader_factory() { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 WebKit::Platform* shadow_platform_delegate_; | 152 WebKit::Platform* shadow_platform_delegate_; |
156 HyphenDict* hyphen_dictionary_; | 153 HyphenDict* hyphen_dictionary_; |
157 | 154 |
158 #if defined(OS_WIN) || defined(OS_MACOSX) | 155 #if defined(OS_WIN) || defined(OS_MACOSX) |
159 WebKit::WebThemeEngine* active_theme_engine_; | 156 WebKit::WebThemeEngine* active_theme_engine_; |
160 #endif | 157 #endif |
161 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 158 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
162 }; | 159 }; |
163 | 160 |
164 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 161 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |