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

Side by Side Diff: content/test/fake_plugin_service.cc

Issue 1815593002: Remove windowed NPAPI code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_test_plugin_windowless
Patch Set: rebase Created 4 years, 9 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
« no previous file with comments | « content/test/fake_plugin_service.h ('k') | content/test/test_render_view_host.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/test/fake_plugin_service.h" 6 #include "content/test/fake_plugin_service.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 FakePluginService::FakePluginService() { 10 FakePluginService::FakePluginService() {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 bool FakePluginService::NPAPIPluginsSupported() { 101 bool FakePluginService::NPAPIPluginsSupported() {
102 return false; 102 return false;
103 } 103 }
104 104
105 void FakePluginService::DisablePluginsDiscoveryForTesting() { 105 void FakePluginService::DisablePluginsDiscoveryForTesting() {
106 } 106 }
107 107
108 #if defined(OS_MACOSX) 108 #if defined(OS_MACOSX)
109 void FakePluginService::AppActivated() { 109 void FakePluginService::AppActivated() {
110 } 110 }
111 #elif defined(OS_WIN)
112 bool FakePluginService::GetPluginInfoFromWindow(
113 HWND window,
114 base::string16* plugin_name,
115 base::string16* plugin_version) {
116 return false;
117 }
118 #endif 111 #endif
119 112
120 bool FakePluginService::PpapiDevChannelSupported( 113 bool FakePluginService::PpapiDevChannelSupported(
121 BrowserContext* browser_context, 114 BrowserContext* browser_context,
122 const GURL& document_url) { 115 const GURL& document_url) {
123 return false; 116 return false;
124 } 117 }
125 118
126 } // namespace content 119 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_plugin_service.h ('k') | content/test/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698