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

Unified Diff: Source/core/html/shadow/PluginPlaceholderElement.cpp

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge origin/master Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/html/shadow/PluginPlaceholderElement.cpp
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.cpp b/Source/core/html/shadow/PluginPlaceholderElement.cpp
deleted file mode 100644
index 74efd5581f3fba8c0eea153e418bf9210b437e95..0000000000000000000000000000000000000000
--- a/Source/core/html/shadow/PluginPlaceholderElement.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-#include "core/html/shadow/PluginPlaceholderElement.h"
-
-#include "bindings/core/v8/V8PluginPlaceholderElement.h"
-#include "core/dom/Document.h"
-#include "wtf/Assertions.h"
-
-namespace blink {
-
-PluginPlaceholderElement::PluginPlaceholderElement(Document& document)
- : HTMLDivElement(document)
-{
-}
-
-PassRefPtrWillBeRawPtr<PluginPlaceholderElement> PluginPlaceholderElement::create(Document& document)
-{
- RefPtrWillBeRawPtr<PluginPlaceholderElement> element = adoptRefWillBeNoop(new PluginPlaceholderElement(document));
- bool success = V8PluginPlaceholderElement::PrivateScript::createdCallbackMethod(document.frame(), element.get());
- ASSERT_UNUSED(success, success);
- return element.release();
-}
-
-void PluginPlaceholderElement::setMessage(const String& message)
-{
- bool success = V8PluginPlaceholderElement::PrivateScript::messageAttributeSetter(document().frame(), this, message);
- ASSERT_UNUSED(success, success);
-}
-
-void PluginPlaceholderElement::setIsCloseable(bool closeable)
-{
- bool success = V8PluginPlaceholderElement::PrivateScript::closeableAttributeSetter(document().frame(), this, closeable);
- ASSERT_UNUSED(success, success);
-}
-
-} // namespace blink
« no previous file with comments | « Source/core/html/shadow/PluginPlaceholderElement.h ('k') | Source/core/html/shadow/PluginPlaceholderElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698