#include "components/plugins/renderer/loadable_plugin_placeholder.h"
#include <memory>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/json/string_escape.h"
#include "base/metrics/user_metrics_action.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_thread.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_plugin_container.h"
#include "third_party/blink/public/web/web_script_source.h"
#include "third_party/blink/public/web/web_view.h"
#include "url/gurl.h"
#include "url/origin.h"
UserMetricsAction;
RenderFrame;
RenderThread;
namespace plugins {
void LoadablePluginPlaceholder::MaybeLoadBlockedPlugin(
const std::string& identifier) { … }
LoadablePluginPlaceholder::LoadablePluginPlaceholder(
RenderFrame* render_frame,
const blink::WebPluginParams& params)
: … { … }
LoadablePluginPlaceholder::~LoadablePluginPlaceholder() { … }
void LoadablePluginPlaceholder::ReplacePlugin(blink::WebPlugin* new_plugin) { … }
void LoadablePluginPlaceholder::UpdateMessage() { … }
bool LoadablePluginPlaceholder::IsErrorPlaceholder() { … }
void LoadablePluginPlaceholder::OnSetIsPrerendering(bool is_prerendering) { … }
void LoadablePluginPlaceholder::LoadPlugin() { … }
void LoadablePluginPlaceholder::LoadCallback() { … }
void LoadablePluginPlaceholder::DidFinishLoadingCallback() { … }
void LoadablePluginPlaceholder::SetPluginInfo(
const content::WebPluginInfo& plugin_info) { … }
const content::WebPluginInfo& LoadablePluginPlaceholder::GetPluginInfo() const { … }
void LoadablePluginPlaceholder::SetIdentifier(const std::string& identifier) { … }
bool LoadablePluginPlaceholder::LoadingBlocked() const { … }
}