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

Unified Diff: public/web/WebFrameClient.h

Issue 1145973006: Add enum that specifies the frame detachment reason. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameClient.h
diff --git a/public/web/WebFrameClient.h b/public/web/WebFrameClient.h
index 1de7df29d595279f9b1c92d9de8619fe6e361a81..83753e4d56583e146cd3948b0425642c1a3a041d 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -155,6 +155,9 @@ public:
// See http://html.spec.whatwg.org/#dom-opener.
virtual void didDisownOpener(WebLocalFrame*) { }
+ // Specifies the reason for the detachment.
+ enum class DetachType { Remove, Swap };
+
// This frame has been detached from the view, but has not been closed yet.
virtual void frameDetached(WebFrame*) { }
« no previous file with comments | « no previous file | public/web/WebRemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698