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

Unified Diff: content/test/test_web_contents.h

Issue 1086283002: Track frame openers in FrameTreeNodes instead of WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second round of feedback Created 5 years, 6 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 | « content/public/browser/web_contents.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_web_contents.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index de3a10353bcde6289bd32cd1baf22e7ed2cdca72..b94aed63cd2737cc0042f9a6df2baa96cb4643eb 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -79,7 +79,8 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
delegate_view_override_ = view;
}
- // Allows us to simulate this tab having an opener.
+ // Allows us to simulate this tab's main frame having an opener that points
+ // to the main frame of the |opener|.
void SetOpener(TestWebContents* opener);
// Allows us to simulate that a contents was created via CreateNewWindow.
« no previous file with comments | « content/public/browser/web_contents.cc ('k') | content/test/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698