Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: chrome/renderer/plugins/non_loadable_plugin_placeholder.h

Issue 1126073003: Plugin Placeholders: Refactor for platforms that don't support plugins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | chrome/renderer/plugins/non_loadable_plugin_placeholder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698