Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_RENDERER_PLUGINS_NON_LOADABLE_PLUGIN_PLACEHOLDER_H_ | |
| 6 #define CHROME_RENDERER_PLUGINS_NON_LOADABLE_PLUGIN_PLACEHOLDER_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 class FilePath; | |
| 10 } | |
| 11 | |
| 12 namespace blink { | |
| 13 class WebLocalFrame; | |
| 14 struct WebPluginParams; | |
| 15 } | |
| 16 | |
| 17 namespace content { | |
| 18 class RenderFrame; | |
| 19 } | |
| 20 | |
| 21 namespace plugins { | |
| 22 class PluginPlaceholder; | |
| 23 } | |
| 24 | |
| 25 class NonLoadablePluginPlaceholder { | |
| 26 public: | |
| 27 // Creates a non-loadable plugin placeholder for platforms without plugins. | |
| 28 static plugins::PluginPlaceholder* CreateNotSupportedPlugin( | |
| 29 content::RenderFrame* render_frame, | |
| 30 blink::WebLocalFrame* frame, | |
| 31 const blink::WebPluginParams& params); | |
| 32 | |
| 33 static plugins::PluginPlaceholder* CreateErrorPlugin( | |
| 34 content::RenderFrame* render_frame, | |
| 35 const base::FilePath& file_path); | |
|
Bernhard Bauer
2015/05/18 21:29:12
Add DISALLOW_IMPLICIT_CONSTRUCTORS(NonLoadablePlug
tommycli
2015/05/18 22:09:57
Done.
| |
| 36 }; | |
| 37 | |
| 38 #endif // CHROME_RENDERER_PLUGINS_NON_LOADABLE_PLUGIN_PLACEHOLDER_H_ | |
| OLD | NEW |