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

Unified Diff: public/web/WebFrameClient.h

Issue 146693005: Clarify when what notifications are send when a window object is cleared (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: updates Created 6 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
« Source/core/loader/FrameLoader.cpp ('K') | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | 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 d7e9b8e882e8c72d9f77455771263423df4a21f4..2a06a4f73b1ac544c6a4328dd4e013b93b67db5d 100644
--- a/public/web/WebFrameClient.h
+++ b/public/web/WebFrameClient.h
@@ -226,6 +226,9 @@ public:
// The window object for the frame has been cleared of any extra
// properties that may have been set by script from the previously
// loaded document.
+ virtual void didClearWindowObject(WebLocalFrame* frame) { didClearWindowObject(frame, 0); }
+
+ // Deprecated.
virtual void didClearWindowObject(WebLocalFrame* frame, int worldId) { }
// The document element has been created.
« Source/core/loader/FrameLoader.cpp ('K') | « Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698