| 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 PluginPlaceholder_h | |
| 6 #define PluginPlaceholder_h | |
| 7 | |
| 8 #include "platform/heap/Handle.h" | |
| 9 | |
| 10 namespace blink { | |
| 11 | |
| 12 class ContainerNode; | |
| 13 | |
| 14 class PluginPlaceholder : public WillBeGarbageCollectedMixin { | |
| 15 public: | |
| 16 #if !ENABLE(OILPAN) | |
| 17 virtual ~PluginPlaceholder() { } | |
| 18 #endif | |
| 19 | |
| 20 // Loads the plugin placeholder into a container, such as a shadow root. | |
| 21 // The placeholder may replace/remove any existing children. | |
| 22 virtual void loadIntoContainer(ContainerNode&) = 0; | |
| 23 }; | |
| 24 | |
| 25 } // namespace blink | |
| 26 | |
| 27 #endif // PluginPlaceholder_h | |
| OLD | NEW |