Index: third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameOrPlugin.h b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
index d9f398a40712bd5818981045dce6223663f79c2f..6684503969a007f4952d9c027853549752f50a6b 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOrPlugin.h |
@@ -26,6 +26,9 @@ class CORE_EXPORT FrameOrPlugin : public GarbageCollectedMixin { |
virtual void SetParent(FrameView*) = 0; |
virtual FrameView* Parent() const = 0; |
+ enum FrameOrPluginState { kNotAttached, kAttached, kDeferred, kDisposed }; |
+ virtual void SetFrameOrPluginState(FrameOrPluginState) = 0; |
+ virtual FrameOrPluginState GetFrameOrPluginState() const = 0; |
virtual void SetParentVisible(bool) = 0; |
virtual void SetFrameRect(const IntRect&) = 0; |
virtual void FrameRectsChanged() = 0; |