| Index: Source/core/plugins/testing/DictionaryPluginPlaceholder.h
|
| diff --git a/Source/core/plugins/testing/DictionaryPluginPlaceholder.h b/Source/core/plugins/testing/DictionaryPluginPlaceholder.h
|
| deleted file mode 100644
|
| index 60ba5046ecb46d19f8f087ca7ff13a6df3a84050..0000000000000000000000000000000000000000
|
| --- a/Source/core/plugins/testing/DictionaryPluginPlaceholder.h
|
| +++ /dev/null
|
| @@ -1,51 +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.
|
| -
|
| -#ifndef DictionaryPluginPlaceholder_h
|
| -#define DictionaryPluginPlaceholder_h
|
| -
|
| -#include "core/html/shadow/PluginPlaceholderElement.h"
|
| -#include "core/plugins/PluginPlaceholder.h"
|
| -#include "core/testing/PluginPlaceholderOptions.h"
|
| -#include "wtf/text/WTFString.h"
|
| -
|
| -namespace blink {
|
| -
|
| -// Manipulates a plugin placeholder element based on a fixed dictionary given.
|
| -// Used for layout tests that examine the formatting of structured placeholders.
|
| -class DictionaryPluginPlaceholder : public NoBaseWillBeGarbageCollected<DictionaryPluginPlaceholder>, public PluginPlaceholder {
|
| - WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DictionaryPluginPlaceholder);
|
| -public:
|
| - static PassOwnPtrWillBeRawPtr<DictionaryPluginPlaceholder> create(Document& document, const PluginPlaceholderOptions& options)
|
| - {
|
| - RefPtrWillBeRawPtr<PluginPlaceholderElement> placeholder = PluginPlaceholderElement::create(document);
|
| - if (options.hasMessage())
|
| - placeholder->setMessage(options.message());
|
| -
|
| - if (options.hasCloseable())
|
| - placeholder->setIsCloseable(options.closeable());
|
| -
|
| - return adoptPtrWillBeNoop(new DictionaryPluginPlaceholder(placeholder.release()));
|
| - }
|
| -
|
| -#if !ENABLE(OILPAN)
|
| - ~DictionaryPluginPlaceholder() override { }
|
| -#endif
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { visitor->trace(m_pluginPlaceholderElement); }
|
| -
|
| - void loadIntoContainer(ContainerNode& container) override
|
| - {
|
| - container.removeChildren();
|
| - container.appendChild(m_pluginPlaceholderElement, ASSERT_NO_EXCEPTION);
|
| - }
|
| -
|
| -private:
|
| - DictionaryPluginPlaceholder(PassRefPtrWillBeRawPtr<PluginPlaceholderElement> element) : m_pluginPlaceholderElement(element) { }
|
| -
|
| - RefPtrWillBeMember<PluginPlaceholderElement> m_pluginPlaceholderElement;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // DictionaryPluginPlaceholder_h
|
|
|