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

Unified Diff: public/web/WebRemoteFrameClient.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 | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebRemoteFrameClient.h
diff --git a/public/web/WebRemoteFrameClient.h b/public/web/WebRemoteFrameClient.h
index 86df1ca4709461089fb82f537f70a8cf8d2e841d..e11ca39968867b78b89b4e48da19e2ce85dea1bb 100644
--- a/public/web/WebRemoteFrameClient.h
+++ b/public/web/WebRemoteFrameClient.h
@@ -16,6 +16,9 @@ struct WebRect;
class WebRemoteFrameClient {
public:
+ // Specifies the reason for the detachment.
+ enum class DetachType { Remove, Swap };
+
// Notify the embedder that it should remove this frame from the frame tree
// and release any resources associated with it.
virtual void frameDetached() { }
« no previous file with comments | « public/web/WebFrameClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698