From 50285fffa5e44c61cbf6141908c6297fbd0b20d4 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Fri, 11 Mar 2011 23:10:56 +0000 Subject: Remove Gears from Chrome. There are probably a few more bits and pieces that can be removed, but I think this is the majority of it. BUG=51934 Review URL: http://codereview.chromium.org/6576020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77888 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/support/test_webkit_client.cc | 3 --- webkit/support/test_webplugin_page_delegate.h | 5 ----- 2 files changed, 8 deletions(-) (limited to 'webkit/support') diff --git a/webkit/support/test_webkit_client.cc b/webkit/support/test_webkit_client.cc index 7b90dea..c69cf6e 100644 --- a/webkit/support/test_webkit_client.cc +++ b/webkit/support/test_webkit_client.cc @@ -34,7 +34,6 @@ #include "webkit/appcache/web_application_cache_host_impl.h" #include "webkit/database/vfs_backend.h" #include "webkit/extensions/v8/gc_extension.h" -#include "webkit/extensions/v8/gears_extension.h" #include "webkit/glue/simple_webmimeregistry_impl.h" #include "webkit/glue/webclipboard_impl.h" #include "webkit/glue/webkit_glue.h" @@ -73,8 +72,6 @@ TestWebKitClient::TestWebKitClient(bool unit_test_mode) WebKit::WebSecurityPolicy::registerURLSchemeAsNoAccess( WebKit::WebString::fromUTF8("test-shell-resource")); WebScriptController::enableV8SingleThreadMode(); - WebScriptController::registerExtension( - extensions_v8::GearsExtension::Get()); WebKit::WebRuntimeFeatures::enableSockets(true); WebKit::WebRuntimeFeatures::enableApplicationCache(true); WebKit::WebRuntimeFeatures::enableDatabase(true); diff --git a/webkit/support/test_webplugin_page_delegate.h b/webkit/support/test_webplugin_page_delegate.h index 035f335..94b571e 100644 --- a/webkit/support/test_webplugin_page_delegate.h +++ b/webkit/support/test_webplugin_page_delegate.h @@ -25,11 +25,6 @@ class TestWebPluginPageDelegate : public webkit::npapi::WebPluginPageDelegate { virtual void DidMovePlugin(const webkit::npapi::WebPluginGeometry& move) {} virtual void DidStartLoadingForPlugin() {} virtual void DidStopLoadingForPlugin() {} - virtual void ShowModalHTMLDialogForPlugin( - const GURL& url, - const gfx::Size& size, - const std::string& json_arguments, - std::string* json_retval) {} virtual WebKit::WebCookieJar* GetCookieJar(); }; -- cgit v1.1