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

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

Issue 1041473002: Detach old frame on WebFrame::swap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameClient.h
diff --git a/Source/core/frame/FrameClient.h b/Source/core/frame/FrameClient.h
index 70e5d959f52a689721518d99ad9f27fdef0ac34c..945c71419481175f0671a72c7d2285018c169c87 100644
--- a/Source/core/frame/FrameClient.h
+++ b/Source/core/frame/FrameClient.h
@@ -13,6 +13,7 @@ class Frame;
class LocalFrame;
class MessageEvent;
class SecurityOrigin;
+enum class FrameDetachType;
class CORE_EXPORT FrameClient {
public:
@@ -21,7 +22,7 @@ public:
// TODO(dcheng): Move this into FrameLoaderClient, since remote frames don't
// need this.
virtual void willBeDetached() = 0;
- virtual void detached() = 0;
+ virtual void detached(FrameDetachType) = 0;
virtual Frame* opener() const = 0;
virtual void setOpener(Frame*) = 0;
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/frame/LocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698