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

Unified Diff: Source/core/frame/FrameOwner.h

Issue 334483002: Add Blink APIs for frame tree mirroring. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix some more crashes, etc. Created 6 years, 6 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/frame/FrameOwner.h
diff --git a/Source/core/frame/FrameOwner.h b/Source/core/frame/FrameOwner.h
index 7b1f891402c6ac56408f1eacb910e4a3412110b4..749e69c52c584602565d540e4a16849c2191c3a8 100644
--- a/Source/core/frame/FrameOwner.h
+++ b/Source/core/frame/FrameOwner.h
@@ -9,12 +9,21 @@
namespace WebCore {
+class Frame;
+
class FrameOwner {
public:
virtual bool isLocal() const = 0;
+ virtual void setContentFrame(Frame&) = 0;
+ // clearContentFrame() may result in the destruction of the FrameOwner.
+ virtual void clearContentFrame() = 0;
+
virtual SandboxFlags sandboxFlags() const = 0;
virtual void dispatchLoad() = 0;
+
+protected:
+ virtual ~FrameOwner() { }
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698