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

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: Cleanup in WebContentsImpl 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
Index: content/test/test_web_contents.h
diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
index 53bc82a04ea80a42cb5fd92bd07e073e0aa2c759..edc6dd946330aec86dc0bb40dbdaf003c2848421 100644
--- a/content/test/test_web_contents.h
+++ b/content/test/test_web_contents.h
@@ -77,7 +77,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);
alexmos 2015/06/01 17:44:55 Several unit tests rely on this, so I left this in
Charlie Reis 2015/06/03 20:01:37 Acknowledged.
// Allows us to simulate that a contents was created via CreateNewWindow.

Powered by Google App Engine
This is Rietveld 408576698