| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // be made forward too. | 152 // be made forward too. |
| 153 virtual void AppActivated() = 0; | 153 virtual void AppActivated() = 0; |
| 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 |
| 163 // Returns true iff PPAPI "dev channel" methods are supported. |
| 164 virtual bool PpapiDevChannelSupported() = 0; |
| 162 }; | 165 }; |
| 163 | 166 |
| 164 } // namespace content | 167 } // namespace content |
| 165 | 168 |
| 166 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ | 169 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ |
| OLD | NEW |