Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(323)

Side by Side Diff: webkit/support/test_webkit_platform_support.h

Issue 17447011: Shuffle media-related WebMimeRegistry code from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forgot some diffs Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/support/test_shell_webmimeregistry_impl.cc ('k') | webkit/support/webkit_support.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/public/platform/WebGamepads.h" 9 #include "third_party/WebKit/public/platform/WebGamepads.h"
10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" 10 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
11 #include "third_party/WebKit/public/platform/WebUnitTestSupport.h" 11 #include "third_party/WebKit/public/platform/WebUnitTestSupport.h"
12 #include "webkit/child/webkitplatformsupport_child_impl.h" 12 #include "webkit/child/webkitplatformsupport_child_impl.h"
13 #include "webkit/glue/simple_webmimeregistry_impl.h"
13 #include "webkit/glue/webfileutilities_impl.h" 14 #include "webkit/glue/webfileutilities_impl.h"
14 #include "webkit/mocks/mock_webhyphenator.h" 15 #include "webkit/mocks/mock_webhyphenator.h"
15 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h" 16 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h"
16 #include "webkit/support/mock_webclipboard_impl.h" 17 #include "webkit/support/mock_webclipboard_impl.h"
17 #include "webkit/support/simple_appcache_system.h" 18 #include "webkit/support/simple_appcache_system.h"
18 #include "webkit/support/simple_database_system.h" 19 #include "webkit/support/simple_database_system.h"
19 #include "webkit/support/simple_dom_storage_system.h" 20 #include "webkit/support/simple_dom_storage_system.h"
20 #include "webkit/support/simple_file_system.h" 21 #include "webkit/support/simple_file_system.h"
21 #include "webkit/support/simple_webcookiejar_impl.h" 22 #include "webkit/support/simple_webcookiejar_impl.h"
22 #include "webkit/support/test_shell_webmimeregistry_impl.h"
23 #include "webkit/support/weburl_loader_mock_factory.h" 23 #include "webkit/support/weburl_loader_mock_factory.h"
24 24
25 class TestShellWebBlobRegistryImpl; 25 class TestShellWebBlobRegistryImpl;
26 26
27 namespace cc { 27 namespace cc {
28 class ContextProvider; 28 class ContextProvider;
29 } 29 }
30 30
31 namespace WebKit { 31 namespace WebKit {
32 class WebAudioDevice; 32 class WebAudioDevice;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 const WebKit::WebURLError& error); 156 const WebKit::WebURLError& error);
157 virtual void unregisterMockedURL(const WebKit::WebURL& url); 157 virtual void unregisterMockedURL(const WebKit::WebURL& url);
158 virtual void unregisterAllMockedURLs(); 158 virtual void unregisterAllMockedURLs();
159 virtual void serveAsynchronousMockedRequests(); 159 virtual void serveAsynchronousMockedRequests();
160 virtual WebKit::WebString webKitRootDir(); 160 virtual WebKit::WebString webKitRootDir();
161 virtual WebKit::WebLayerTreeView* createLayerTreeViewForTesting(); 161 virtual WebKit::WebLayerTreeView* createLayerTreeViewForTesting();
162 virtual WebKit::WebLayerTreeView* createLayerTreeViewForTesting( 162 virtual WebKit::WebLayerTreeView* createLayerTreeViewForTesting(
163 TestViewType type); 163 TestViewType type);
164 164
165 private: 165 private:
166 TestShellWebMimeRegistryImpl mime_registry_; 166 webkit_glue::SimpleWebMimeRegistryImpl mime_registry_;
167 MockWebClipboardImpl mock_clipboard_; 167 MockWebClipboardImpl mock_clipboard_;
168 webkit_glue::WebFileUtilitiesImpl file_utilities_; 168 webkit_glue::WebFileUtilitiesImpl file_utilities_;
169 base::ScopedTempDir appcache_dir_; 169 base::ScopedTempDir appcache_dir_;
170 SimpleAppCacheSystem appcache_system_; 170 SimpleAppCacheSystem appcache_system_;
171 SimpleDatabaseSystem database_system_; 171 SimpleDatabaseSystem database_system_;
172 SimpleDomStorageSystem dom_storage_system_; 172 SimpleDomStorageSystem dom_storage_system_;
173 SimpleWebCookieJarImpl cookie_jar_; 173 SimpleWebCookieJarImpl cookie_jar_;
174 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_; 174 scoped_refptr<TestShellWebBlobRegistryImpl> blob_registry_;
175 SimpleFileSystem file_system_; 175 SimpleFileSystem file_system_;
176 base::ScopedTempDir file_system_root_; 176 base::ScopedTempDir file_system_root_;
177 webkit_glue::MockWebHyphenator hyphenator_; 177 webkit_glue::MockWebHyphenator hyphenator_;
178 WebURLLoaderMockFactory url_loader_factory_; 178 WebURLLoaderMockFactory url_loader_factory_;
179 WebKit::WebGamepads gamepad_data_; 179 WebKit::WebGamepads gamepad_data_;
180 webkit::WebCompositorSupportImpl compositor_support_; 180 webkit::WebCompositorSupportImpl compositor_support_;
181 181
182 scoped_refptr<cc::ContextProvider> main_thread_contexts_; 182 scoped_refptr<cc::ContextProvider> main_thread_contexts_;
183 183
184 #if defined(OS_WIN) || defined(OS_MACOSX) 184 #if defined(OS_WIN) || defined(OS_MACOSX)
185 WebKit::WebThemeEngine* active_theme_engine_; 185 WebKit::WebThemeEngine* active_theme_engine_;
186 #endif 186 #endif
187 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 187 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
188 }; 188 };
189 189
190 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 190 #endif // WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « webkit/support/test_shell_webmimeregistry_impl.cc ('k') | webkit/support/webkit_support.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698