From bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e Mon Sep 17 00:00:00 2001 From: piman Date: Fri, 18 Mar 2016 14:32:58 -0700 Subject: Remove windowed NPAPI code BUG=493212 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1815593002 Cr-Commit-Position: refs/heads/master@{#382094} --- content/test/fake_plugin_service.cc | 7 ------- content/test/fake_plugin_service.h | 4 ---- content/test/test_render_view_host.h | 2 -- 3 files changed, 13 deletions(-) (limited to 'content/test') diff --git a/content/test/fake_plugin_service.cc b/content/test/fake_plugin_service.cc index f34345d..e279c1a 100644 --- a/content/test/fake_plugin_service.cc +++ b/content/test/fake_plugin_service.cc @@ -108,13 +108,6 @@ void FakePluginService::DisablePluginsDiscoveryForTesting() { #if defined(OS_MACOSX) void FakePluginService::AppActivated() { } -#elif defined(OS_WIN) -bool FakePluginService::GetPluginInfoFromWindow( - HWND window, - base::string16* plugin_name, - base::string16* plugin_version) { - return false; -} #endif bool FakePluginService::PpapiDevChannelSupported( diff --git a/content/test/fake_plugin_service.h b/content/test/fake_plugin_service.h index 41460ff..7ccab2c 100644 --- a/content/test/fake_plugin_service.h +++ b/content/test/fake_plugin_service.h @@ -56,10 +56,6 @@ class FakePluginService : public PluginService { void DisablePluginsDiscoveryForTesting() override; #if defined(OS_MACOSX) void AppActivated() override; -#elif defined(OS_WIN) - bool GetPluginInfoFromWindow(HWND window, - base::string16* plugin_name, - base::string16* plugin_version) override; #endif bool PpapiDevChannelSupported(BrowserContext* browser_context, const GURL& document_url) override; diff --git a/content/test/test_render_view_host.h b/content/test/test_render_view_host.h index 80e1e58..5dbcd3e 100644 --- a/content/test/test_render_view_host.h +++ b/content/test/test_render_view_host.h @@ -98,8 +98,6 @@ class TestRenderWidgetHostView : public RenderWidgetHostViewBase { void InitAsPopup(RenderWidgetHostView* parent_host_view, const gfx::Rect& bounds) override {} void InitAsFullscreen(RenderWidgetHostView* reference_host_view) override {} - void MovePluginWindows(const std::vector& moves) override { - } void Focus() override {} void SetIsLoading(bool is_loading) override {} void UpdateCursor(const WebCursor& cursor) override {} -- cgit v1.1