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/WebKit/chromium/public/platform/WebGamepads. h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads. h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC ontext3D.h" |
11 #include "webkit/glue/webfileutilities_impl.h" | 11 #include "webkit/glue/webfileutilities_impl.h" |
12 #include "webkit/glue/webkitplatformsupport_impl.h" | 12 #include "webkit/glue/webkitplatformsupport_impl.h" |
13 #include "webkit/support/simple_database_system.h" | 13 #include "webkit/support/simple_database_system.h" |
14 #include "webkit/support/weburl_loader_mock_factory.h" | 14 #include "webkit/support/weburl_loader_mock_factory.h" |
15 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" | 15 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
16 #include "webkit/tools/test_shell/simple_appcache_system.h" | 16 #include "webkit/tools/test_shell/simple_appcache_system.h" |
17 #include "webkit/tools/test_shell/simple_dom_storage_system.h" | |
17 #include "webkit/tools/test_shell/simple_file_system.h" | 18 #include "webkit/tools/test_shell/simple_file_system.h" |
18 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" | 19 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" |
19 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" | 20 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" |
20 | 21 |
21 class TestShellWebBlobRegistryImpl; | 22 class TestShellWebBlobRegistryImpl; |
22 | 23 |
23 namespace WebKit { | 24 namespace WebKit { |
24 class WebAudioDevice; | 25 class WebAudioDevice; |
25 } | 26 } |
26 | 27 |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
123 WebKit::WebSocketStreamHandle* handle, | 124 WebKit::WebSocketStreamHandle* handle, |
124 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 125 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
125 | 126 |
126 private: | 127 private: |
127 TestShellWebMimeRegistryImpl mime_registry_; | 128 TestShellWebMimeRegistryImpl mime_registry_; |
128 MockWebClipboardImpl mock_clipboard_; | 129 MockWebClipboardImpl mock_clipboard_; |
129 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 130 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
130 ScopedTempDir appcache_dir_; | 131 ScopedTempDir appcache_dir_; |
131 SimpleAppCacheSystem appcache_system_; | 132 SimpleAppCacheSystem appcache_system_; |
132 SimpleDatabaseSystem database_system_; | 133 SimpleDatabaseSystem database_system_; |
134 SimpleDomStorageSystem dom_storage_system_; | |
benm (inactive)
2012/02/23 19:17:15
should this be guarded with the new #define?
michaeln
2012/02/25 19:20:32
dont think its needed, we'll instance the class (i
| |
133 SimpleWebCookieJarImpl cookie_jar_; | 135 SimpleWebCookieJarImpl cookie_jar_; |
134 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 136 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
135 SimpleFileSystem file_system_; | 137 SimpleFileSystem file_system_; |
136 ScopedTempDir file_system_root_; | 138 ScopedTempDir file_system_root_; |
137 WebURLLoaderMockFactory url_loader_factory_; | 139 WebURLLoaderMockFactory url_loader_factory_; |
138 bool unit_test_mode_; | 140 bool unit_test_mode_; |
139 WebKit::WebGamepads gamepad_data_; | 141 WebKit::WebGamepads gamepad_data_; |
140 | 142 |
141 #if defined(OS_WIN) || defined(OS_MACOSX) | 143 #if defined(OS_WIN) || defined(OS_MACOSX) |
142 WebKit::WebThemeEngine* active_theme_engine_; | 144 WebKit::WebThemeEngine* active_theme_engine_; |
143 #endif | 145 #endif |
144 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 146 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
145 }; | 147 }; |
146 | 148 |
147 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 149 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |