| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| 7 | 7 |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" | 9 #include "third_party/WebKit/WebKit/chromium/public/WebIDBFactory.h" |
| 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBKey.h" | 10 #include "third_party/WebKit/WebKit/chromium/public/WebIDBKey.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 virtual WebKit::WebThemeEngine *themeEngine() { | 154 virtual WebKit::WebThemeEngine *themeEngine() { |
| 155 return active_theme_engine_; | 155 return active_theme_engine_; |
| 156 } | 156 } |
| 157 #endif | 157 #endif |
| 158 | 158 |
| 159 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() { | 159 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository() { |
| 160 return NULL; | 160 return NULL; |
| 161 } | 161 } |
| 162 | 162 |
| 163 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() { | 163 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D() { |
| 164 return new webkit_gpu::WebGraphicsContext3DInProcessImpl(); | 164 return new webkit::gpu::WebGraphicsContext3DInProcessImpl(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 private: | 167 private: |
| 168 scoped_ptr<webkit_glue::SimpleWebMimeRegistryImpl> mime_registry_; | 168 scoped_ptr<webkit_glue::SimpleWebMimeRegistryImpl> mime_registry_; |
| 169 MockWebClipboardImpl mock_clipboard_; | 169 MockWebClipboardImpl mock_clipboard_; |
| 170 webkit_glue::WebClipboardImpl real_clipboard_; | 170 webkit_glue::WebClipboardImpl real_clipboard_; |
| 171 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 171 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
| 172 ScopedTempDir appcache_dir_; | 172 ScopedTempDir appcache_dir_; |
| 173 SimpleAppCacheSystem appcache_system_; | 173 SimpleAppCacheSystem appcache_system_; |
| 174 SimpleDatabaseSystem database_system_; | 174 SimpleDatabaseSystem database_system_; |
| 175 SimpleWebCookieJarImpl cookie_jar_; | 175 SimpleWebCookieJarImpl cookie_jar_; |
| 176 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 176 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
| 177 SimpleFileSystem file_system_; | 177 SimpleFileSystem file_system_; |
| 178 | 178 |
| 179 #if defined(OS_WIN) | 179 #if defined(OS_WIN) |
| 180 WebKit::WebThemeEngine* active_theme_engine_; | 180 WebKit::WebThemeEngine* active_theme_engine_; |
| 181 #endif | 181 #endif |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 184 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
| OLD | NEW |