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

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: Limit to origin process 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 898b4365d5069cfb4ea7f99018c2b85fabaeaaa7..5b1c3ee88e9f65fb9156369cc1e7aa0cce5849a4 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -365,6 +365,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