1 // Copyright 2015 Samsung Electronics. 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.
5 #include "renderer/plugins/shadow_dom_plugin_placeholder.h"
11 class MissingPluginPlaceholder : public blink::WebPluginPlaceholder {
13 // blink::WebPluginPlaceholder overrides
14 blink::WebString message() const override {
15 return blink::WebString::fromUTF8(
16 std::string(dgettext("WebKit", "IDS_WEBVIEW_BODY_PLUG_IN_MISSING")));
22 scoped_ptr<blink::WebPluginPlaceholder>
23 CreateShadowDOMPlaceholderForMissingPlugin() {
24 return make_scoped_ptr(new MissingPluginPlaceholder);