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

Unified Diff: Source/web/OpenedFrameTracker.h

Issue 271793002: Implement WebFrame::swap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo 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
« no previous file with comments | « no previous file | Source/web/OpenedFrameTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/OpenedFrameTracker.h
diff --git a/Source/web/OpenedFrameTracker.h b/Source/web/OpenedFrameTracker.h
index 2c362d71a3ae922436800a2125c62c63910357ff..d17e0f73bb3b7d898222f14c29b868e061faaa48 100644
--- a/Source/web/OpenedFrameTracker.h
+++ b/Source/web/OpenedFrameTracker.h
@@ -21,9 +21,13 @@ public:
OpenedFrameTracker();
~OpenedFrameTracker();
+ bool isEmpty() const;
void add(WebFrame*);
void remove(WebFrame*);
+ // Updates the opener for all tracked frames.
+ void updateOpener(WebFrame*);
+
private:
WTF::HashSet<WebFrame*> m_openedFrames;
};
« no previous file with comments | « no previous file | Source/web/OpenedFrameTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698