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

Unified Diff: content/public/browser/web_contents.h

Issue 9416031: Prerendered pages are swapped in at browser::Navigate time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests Created 8 years, 10 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 46e139eeec331b7960f022e7c9d6860ef80b4c59..dd5ef102aec5a0c3ce51b831547ef89cfb32eb43 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -357,6 +357,9 @@ class WebContents : public PageNavigator {
// Focuses the location bar.
virtual void SetFocusToLocationBar(bool select_all) = 0;
+
+ // Get the origin of the opener.
+ virtual const GURL& GetOpenerOrigin() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698