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

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 // 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698