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 // Creates a non-loadable plugin placeholder for platforms without plugins. | |
26 plugins::PluginPlaceholder* CreateMissingPluginPlaceholder( | |
Bernhard Bauer
2015/05/16 00:22:21
Put this into a (static) class like NonLoadablePlu
tommycli
2015/05/18 21:12:42
Done.
| |
27 content::RenderFrame* render_frame, | |
28 blink::WebLocalFrame* frame, | |
29 const blink::WebPluginParams& params); | |
30 | |
31 plugins::PluginPlaceholder* CreateErrorPluginPlaceholder( | |
32 content::RenderFrame* render_frame, | |
33 const base::FilePath& file_path); | |
34 | |
35 #endif // CHROME_RENDERER_PLUGINS_NON_LOADABLE_PLUGIN_PLACEHOLDER_H_ | |
OLD | NEW |