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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; | 119 std::vector<webkit::WebPluginInfo>* plugins) OVERRIDE; |
120 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( | 120 virtual webkit_glue::ResourceLoaderBridge* CreateResourceLoader( |
121 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) | 121 const webkit_glue::ResourceLoaderBridge::RequestInfo& request_info) |
122 OVERRIDE; | 122 OVERRIDE; |
123 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( | 123 virtual webkit_glue::WebSocketStreamHandleBridge* CreateWebSocketBridge( |
124 WebKit::WebSocketStreamHandle* handle, | 124 WebKit::WebSocketStreamHandle* handle, |
125 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; | 125 webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE; |
126 | 126 |
127 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( | 127 virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter( |
128 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; | 128 WebKit::WebMediaStreamCenterClient* client) OVERRIDE; |
| 129 virtual WebKit::WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler( |
| 130 WebKit::WebRTCPeerConnectionHandlerClient* client) OVERRIDE; |
129 | 131 |
130 private: | 132 private: |
131 TestShellWebMimeRegistryImpl mime_registry_; | 133 TestShellWebMimeRegistryImpl mime_registry_; |
132 MockWebClipboardImpl mock_clipboard_; | 134 MockWebClipboardImpl mock_clipboard_; |
133 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 135 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
134 ScopedTempDir appcache_dir_; | 136 ScopedTempDir appcache_dir_; |
135 SimpleAppCacheSystem appcache_system_; | 137 SimpleAppCacheSystem appcache_system_; |
136 SimpleDatabaseSystem database_system_; | 138 SimpleDatabaseSystem database_system_; |
137 SimpleDomStorageSystem dom_storage_system_; | 139 SimpleDomStorageSystem dom_storage_system_; |
138 SimpleWebCookieJarImpl cookie_jar_; | 140 SimpleWebCookieJarImpl cookie_jar_; |
139 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 141 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
140 SimpleFileSystem file_system_; | 142 SimpleFileSystem file_system_; |
141 ScopedTempDir file_system_root_; | 143 ScopedTempDir file_system_root_; |
142 WebURLLoaderMockFactory url_loader_factory_; | 144 WebURLLoaderMockFactory url_loader_factory_; |
143 bool unit_test_mode_; | 145 bool unit_test_mode_; |
144 WebKit::WebGamepads gamepad_data_; | 146 WebKit::WebGamepads gamepad_data_; |
145 WebKit::Platform* shadow_platform_delegate_; | 147 WebKit::Platform* shadow_platform_delegate_; |
146 | 148 |
147 #if defined(OS_WIN) || defined(OS_MACOSX) | 149 #if defined(OS_WIN) || defined(OS_MACOSX) |
148 WebKit::WebThemeEngine* active_theme_engine_; | 150 WebKit::WebThemeEngine* active_theme_engine_; |
149 #endif | 151 #endif |
150 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 152 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
151 }; | 153 }; |
152 | 154 |
153 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 155 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |