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" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( | 132 virtual WebKit::WebGestureCurve* createFlingAnimationCurve( |
133 int device_source, | 133 int device_source, |
134 const WebKit::WebFloatPoint& velocity, | 134 const WebKit::WebFloatPoint& velocity, |
135 const WebKit::WebSize& cumulative_scroll) OVERRIDE; | 135 const WebKit::WebSize& cumulative_scroll) OVERRIDE; |
136 | 136 |
137 private: | 137 private: |
138 TestShellWebMimeRegistryImpl mime_registry_; | 138 TestShellWebMimeRegistryImpl mime_registry_; |
139 MockWebClipboardImpl mock_clipboard_; | 139 MockWebClipboardImpl mock_clipboard_; |
140 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 140 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
141 ScopedTempDir appcache_dir_; | 141 base::ScopedTempDir appcache_dir_; |
142 SimpleAppCacheSystem appcache_system_; | 142 SimpleAppCacheSystem appcache_system_; |
143 SimpleDatabaseSystem database_system_; | 143 SimpleDatabaseSystem database_system_; |
144 SimpleDomStorageSystem dom_storage_system_; | 144 SimpleDomStorageSystem dom_storage_system_; |
145 SimpleWebCookieJarImpl cookie_jar_; | 145 SimpleWebCookieJarImpl cookie_jar_; |
146 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 146 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
147 SimpleFileSystem file_system_; | 147 SimpleFileSystem file_system_; |
148 ScopedTempDir file_system_root_; | 148 base::ScopedTempDir file_system_root_; |
149 WebURLLoaderMockFactory url_loader_factory_; | 149 WebURLLoaderMockFactory url_loader_factory_; |
150 bool unit_test_mode_; | 150 bool unit_test_mode_; |
151 WebKit::WebGamepads gamepad_data_; | 151 WebKit::WebGamepads gamepad_data_; |
152 WebKit::Platform* shadow_platform_delegate_; | 152 WebKit::Platform* shadow_platform_delegate_; |
153 HyphenDict* hyphen_dictionary_; | 153 HyphenDict* hyphen_dictionary_; |
154 | 154 |
155 #if defined(OS_WIN) || defined(OS_MACOSX) | 155 #if defined(OS_WIN) || defined(OS_MACOSX) |
156 WebKit::WebThemeEngine* active_theme_engine_; | 156 WebKit::WebThemeEngine* active_theme_engine_; |
157 #endif | 157 #endif |
158 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 158 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
159 }; | 159 }; |
160 | 160 |
161 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 161 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |