summaryrefslogtreecommitdiffstats
path: root/content/test
diff options
context:
space:
mode:
authorpiman <piman@chromium.org>2016-03-18 14:32:58 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-18 21:35:03 +0000
commitbfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e (patch)
treee92e098c0eb14a14f4bcb0c2bafca9b0193f9521 /content/test
parent69da898ef90feb49e414476934abf708ed04c093 (diff)
downloadchromium_src-bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e.zip
chromium_src-bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e.tar.gz
chromium_src-bfb2cebc0c8dacff0b93a37a822babe8c2bc0f5e.tar.bz2
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}
Diffstat (limited to 'content/test')
-rw-r--r--content/test/fake_plugin_service.cc7
-rw-r--r--content/test/fake_plugin_service.h4
-rw-r--r--content/test/test_render_view_host.h2
3 files changed, 0 insertions, 13 deletions
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<WebPluginGeometry>& moves) override {
- }
void Focus() override {}
void SetIsLoading(bool is_loading) override {}
void UpdateCursor(const WebCursor& cursor) override {}