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

Unified Diff: webkit/support/test_webkit_platform_support.h

Issue 10703114: Adding support for overriding TestWebKitPlatformSupport in DumpRenderTree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Fixed review comments" Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/test_webkit_platform_support.h
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h
index b5c78ad5d192e20dcf72b47cdd3f9d10cc5f97cf..0e04b96126b53c681b7d8b937b474e7f813277c5 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -29,7 +29,8 @@ namespace WebKit {
class TestWebKitPlatformSupport :
public webkit_glue::WebKitPlatformSupportImpl {
public:
- explicit TestWebKitPlatformSupport(bool unit_test_mode);
+ TestWebKitPlatformSupport(bool unit_test_mode,
+ WebKit::Platform* shadow_platform_delegate);
virtual ~TestWebKitPlatformSupport();
virtual WebKit::WebMimeRegistry* mimeRegistry() OVERRIDE;
@@ -123,6 +124,9 @@ class TestWebKitPlatformSupport :
WebKit::WebSocketStreamHandle* handle,
webkit_glue::WebSocketStreamHandleDelegate* delegate) OVERRIDE;
+ virtual WebKit::WebMediaStreamCenter* createMediaStreamCenter(
+ WebKit::WebMediaStreamCenterClient* client) OVERRIDE;
+
private:
TestShellWebMimeRegistryImpl mime_registry_;
MockWebClipboardImpl mock_clipboard_;
@@ -138,6 +142,7 @@ class TestWebKitPlatformSupport :
WebURLLoaderMockFactory url_loader_factory_;
bool unit_test_mode_;
WebKit::WebGamepads gamepad_data_;
+ WebKit::Platform* shadow_platform_delegate_;
#if defined(OS_WIN) || defined(OS_MACOSX)
WebKit::WebThemeEngine* active_theme_engine_;
« no previous file with comments | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698