OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/Source/WebKit/chromium/public/WebIDBFactory.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa
lue.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageNamespace.h
" |
14 #include "webkit/glue/webclipboard_impl.h" | 14 #include "webkit/glue/webclipboard_impl.h" |
15 #include "webkit/glue/webfileutilities_impl.h" | 15 #include "webkit/glue/webfileutilities_impl.h" |
16 #include "webkit/glue/webkit_glue.h" | 16 #include "webkit/glue/webkit_glue.h" |
17 #include "webkit/glue/webkitplatformsupport_impl.h" | 17 #include "webkit/glue/webkitplatformsupport_impl.h" |
18 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 18 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
19 #include "webkit/support/simple_database_system.h" | 19 #include "webkit/support/simple_database_system.h" |
20 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" | 20 #include "webkit/tools/test_shell/mock_webclipboard_impl.h" |
21 #include "webkit/tools/test_shell/simple_appcache_system.h" | 21 #include "webkit/tools/test_shell/simple_appcache_system.h" |
| 22 #include "webkit/tools/test_shell/simple_clipboard_impl.h" |
22 #include "webkit/tools/test_shell/simple_file_system.h" | 23 #include "webkit/tools/test_shell/simple_file_system.h" |
23 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" | 24 #include "webkit/tools/test_shell/simple_resource_loader_bridge.h" |
24 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" | 25 #include "webkit/tools/test_shell/simple_webcookiejar_impl.h" |
25 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" | 26 #include "webkit/tools/test_shell/test_shell_webblobregistry_impl.h" |
26 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" | 27 #include "webkit/tools/test_shell/test_shell_webmimeregistry_impl.h" |
27 | 28 |
28 #if defined(OS_WIN) | 29 #if defined(OS_WIN) |
29 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" | 30 #include "webkit/tools/test_shell/test_shell_webthemeengine.h" |
30 #endif | 31 #endif |
31 | 32 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 return active_theme_engine_; | 101 return active_theme_engine_; |
101 } | 102 } |
102 #endif | 103 #endif |
103 | 104 |
104 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 105 virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |
105 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); | 106 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(); |
106 | 107 |
107 private: | 108 private: |
108 scoped_ptr<webkit_glue::SimpleWebMimeRegistryImpl> mime_registry_; | 109 scoped_ptr<webkit_glue::SimpleWebMimeRegistryImpl> mime_registry_; |
109 MockWebClipboardImpl mock_clipboard_; | 110 MockWebClipboardImpl mock_clipboard_; |
| 111 SimpleClipboardClient clipboard_client_; |
110 webkit_glue::WebClipboardImpl real_clipboard_; | 112 webkit_glue::WebClipboardImpl real_clipboard_; |
111 webkit_glue::WebFileUtilitiesImpl file_utilities_; | 113 webkit_glue::WebFileUtilitiesImpl file_utilities_; |
112 ScopedTempDir appcache_dir_; | 114 ScopedTempDir appcache_dir_; |
113 SimpleAppCacheSystem appcache_system_; | 115 SimpleAppCacheSystem appcache_system_; |
114 SimpleDatabaseSystem database_system_; | 116 SimpleDatabaseSystem database_system_; |
115 SimpleWebCookieJarImpl cookie_jar_; | 117 SimpleWebCookieJarImpl cookie_jar_; |
116 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; | 118 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; |
117 SimpleFileSystem file_system_; | 119 SimpleFileSystem file_system_; |
118 | 120 |
119 #if defined(OS_WIN) | 121 #if defined(OS_WIN) |
120 WebKit::WebThemeEngine* active_theme_engine_; | 122 WebKit::WebThemeEngine* active_theme_engine_; |
121 #endif | 123 #endif |
122 }; | 124 }; |
123 | 125 |
124 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ | 126 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_WEBKIT_INIT_H_ |
OLD | NEW |