OLD | NEW |
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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 #elif defined(OS_WIN) | 154 #elif defined(OS_WIN) |
155 // Returns the name and version of a plugin HWND. If the HWND isn't a valid | 155 // Returns the name and version of a plugin HWND. If the HWND isn't a valid |
156 // plugin, returns false. | 156 // plugin, returns false. |
157 // This can be called from any thread. | 157 // This can be called from any thread. |
158 virtual bool GetPluginInfoFromWindow(HWND window, | 158 virtual bool GetPluginInfoFromWindow(HWND window, |
159 base::string16* plugin_name, | 159 base::string16* plugin_name, |
160 base::string16* plugin_version) = 0; | 160 base::string16* plugin_version) = 0; |
161 #endif | 161 #endif |
162 | 162 |
163 // Returns true iff PPAPI "dev channel" methods are supported. | 163 // Returns true iff PPAPI "dev channel" methods are supported. |
164 virtual bool PpapiDevChannelSupported() = 0; | 164 virtual bool PpapiDevChannelSupported(BrowserContext* browser_context, |
| 165 const GURL& document_url) = 0; |
165 }; | 166 }; |
166 | 167 |
167 } // namespace content | 168 } // namespace content |
168 | 169 |
169 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ | 170 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ |
OLD | NEW |