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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
117 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; | 117 virtual base::StringPiece GetDataResource(int resource_id) OVERRIDE; |
118 virtual void GetPlugins(bool refresh, | 118 virtual void GetPlugins(bool refresh, |
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 bool canAccelerate2dCanvas(); | |
darin (slow to review)
2012/03/13 19:34:36
nit: put this in the "correct" location relative t
| |
128 | |
127 private: | 129 private: |
128 TestShellWebMimeRegistryImpl mime_registry_; | 130 TestShellWebMimeRegistryImpl mime_registry_; |
129 MockWebClipboardImpl mock_clipboard_; | 131 MockWebClipboardImpl mock_clipboard_; |
130 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 132 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
131 ScopedTempDir appcache_dir_; | 133 ScopedTempDir appcache_dir_; |
132 SimpleAppCacheSystem appcache_system_; | 134 SimpleAppCacheSystem appcache_system_; |
133 SimpleDatabaseSystem database_system_; | 135 SimpleDatabaseSystem database_system_; |
134 SimpleDomStorageSystem dom_storage_system_; | 136 SimpleDomStorageSystem dom_storage_system_; |
135 SimpleWebCookieJarImpl cookie_jar_; | 137 SimpleWebCookieJarImpl cookie_jar_; |
136 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 138 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
137 SimpleFileSystem file_system_; | 139 SimpleFileSystem file_system_; |
138 ScopedTempDir file_system_root_; | 140 ScopedTempDir file_system_root_; |
139 WebURLLoaderMockFactory url_loader_factory_; | 141 WebURLLoaderMockFactory url_loader_factory_; |
140 bool unit_test_mode_; | 142 bool unit_test_mode_; |
141 WebKit::WebGamepads gamepad_data_; | 143 WebKit::WebGamepads gamepad_data_; |
142 | 144 |
143 #if defined(OS_WIN) || defined(OS_MACOSX) | 145 #if defined(OS_WIN) || defined(OS_MACOSX) |
144 WebKit::WebThemeEngine* active_theme_engine_; | 146 WebKit::WebThemeEngine* active_theme_engine_; |
145 #endif | 147 #endif |
146 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); | 148 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); |
147 }; | 149 }; |
148 | 150 |
149 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ | 151 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
OLD | NEW |