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

Unified Diff: Source/web/OpenedFrameTracker.h

Issue 271793002: Implement WebFrame::swap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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') | Source/web/WebFrame.cpp » ('J')
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..e6b2fc29273a81eb8d367f9381f6660cad9af4a7 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 tracker frames.
+ void updateOpener(WebFrame*);
+
private:
WTF::HashSet<WebFrame*> m_openedFrames;
};
« no previous file with comments | « no previous file | Source/web/OpenedFrameTracker.cpp » ('j') | Source/web/WebFrame.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698