OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 PluginPlaceholderElement_h |
| 6 #define PluginPlaceholderElement_h |
| 7 |
| 8 #include "core/dom/Element.h" |
| 9 #include "core/html/HTMLDivElement.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class PluginPlaceholderElement FINAL : public HTMLDivElement { |
| 14 public: |
| 15 // Returns a null pointer if the placeholder DOM could not be built. |
| 16 static PassRefPtrWillBeRawPtr<PluginPlaceholderElement> create(Document&); |
| 17 |
| 18 virtual void trace(Visitor*) OVERRIDE; |
| 19 |
| 20 void setMessage(const String&); |
| 21 |
| 22 private: |
| 23 explicit PluginPlaceholderElement(Document&); |
| 24 |
| 25 bool initializePlaceholderElements(); |
| 26 |
| 27 RefPtrWillBeMember<Element> m_messageElement; |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // PluginPlaceholderElement_h |
OLD | NEW |