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

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

Issue 1807033003: Rewrite how RemoteFrameOwners retain life. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/core/frame/FrameOwner.h
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h
index 4aa63f5cb14915775af4d577183f72e6ed4207da..c48bfbe3aa44340cb0c20bdf66f84534a0b585dc 100644
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h
@@ -23,6 +23,7 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { }
virtual bool isLocal() const = 0;
+ virtual bool isRemote() const = 0;
dcheng 2016/03/16 21:15:04 I went through and audited all existing calls (tha
virtual void setContentFrame(Frame&) = 0;
virtual void clearContentFrame() = 0;
@@ -51,6 +52,7 @@ public:
// FrameOwner overrides:
bool isLocal() const override { return false; }
+ bool isRemote() const override { return false; }
void setContentFrame(Frame&) override { }
void clearContentFrame() override { }
SandboxFlags getSandboxFlags() const override { return SandboxNone; }
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698