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

Side by Side Diff: content/public/browser/plugin_service.h

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/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual bool NPAPIPluginsSupported() = 0; 145 virtual bool NPAPIPluginsSupported() = 0;
146 146
147 // This is equivalent to specifying kDisablePluginsDiscovery, but is useful 147 // This is equivalent to specifying kDisablePluginsDiscovery, but is useful
148 // for unittests. 148 // for unittests.
149 virtual void DisablePluginsDiscoveryForTesting() = 0; 149 virtual void DisablePluginsDiscoveryForTesting() = 0;
150 150
151 #if defined(OS_MACOSX) 151 #if defined(OS_MACOSX)
152 // Called when the application is made active so that modal plugin windows can 152 // Called when the application is made active so that modal plugin windows can
153 // be made forward too. 153 // be made forward too.
154 virtual void AppActivated() = 0; 154 virtual void AppActivated() = 0;
155 #elif defined(OS_WIN)
156 // Returns the name and version of a plugin HWND. If the HWND isn't a valid
157 // plugin, returns false.
158 // This can be called from any thread.
159 virtual bool GetPluginInfoFromWindow(HWND window,
160 base::string16* plugin_name,
161 base::string16* plugin_version) = 0;
162 #endif 155 #endif
163 156
164 // Returns true iff PPAPI "dev channel" methods are supported. 157 // Returns true iff PPAPI "dev channel" methods are supported.
165 virtual bool PpapiDevChannelSupported(BrowserContext* browser_context, 158 virtual bool PpapiDevChannelSupported(BrowserContext* browser_context,
166 const GURL& document_url) = 0; 159 const GURL& document_url) = 0;
167 }; 160 };
168 161
169 } // namespace content 162 } // namespace content
170 163
171 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ 164 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/npapi/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698