| 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 |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 | 14 |
| 15 class FilePath; | 15 class FilePath; |
| 16 class GURL; | 16 class GURL; |
| 17 class PluginProcessHost; | |
| 18 | 17 |
| 19 namespace webkit { | 18 namespace webkit { |
| 20 struct WebPluginInfo; | 19 struct WebPluginInfo; |
| 21 namespace npapi { | 20 namespace npapi { |
| 22 class PluginList; | 21 class PluginList; |
| 23 } | 22 } |
| 24 } | 23 } |
| 25 | 24 |
| 26 namespace content { | 25 namespace content { |
| 27 | 26 |
| 28 class BrowserContext; | 27 class BrowserContext; |
| 28 class PluginProcessHost; |
| 29 class PluginServiceFilter; | 29 class PluginServiceFilter; |
| 30 class ResourceContext; | 30 class ResourceContext; |
| 31 struct PepperPluginInfo; | 31 struct PepperPluginInfo; |
| 32 | 32 |
| 33 // This must be created on the main thread but it's only called on the IO/file | 33 // This must be created on the main thread but it's only called on the IO/file |
| 34 // thread. This is an asynchronous wrapper around the PluginList interface for | 34 // thread. This is an asynchronous wrapper around the PluginList interface for |
| 35 // querying plugin information. This must be used instead of that to avoid | 35 // querying plugin information. This must be used instead of that to avoid |
| 36 // doing expensive disk operations on the IO/UI threads. | 36 // doing expensive disk operations on the IO/UI threads. |
| 37 class PluginService { | 37 class PluginService { |
| 38 public: | 38 public: |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 #if defined(OS_MACOSX) | 138 #if defined(OS_MACOSX) |
| 139 // Called when the application is made active so that modal plugin windows can | 139 // Called when the application is made active so that modal plugin windows can |
| 140 // be made forward too. | 140 // be made forward too. |
| 141 virtual void AppActivated() = 0; | 141 virtual void AppActivated() = 0; |
| 142 #endif | 142 #endif |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 } // namespace content | 145 } // namespace content |
| 146 | 146 |
| 147 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ | 147 #endif // CONTENT_PUBLIC_BROWSER_PLUGIN_SERVICE_H_ |
| OLD | NEW |