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

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

Issue 12052023: Add "frame to navigate" to NavigationEntry and plumb it to the RenderViewImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 7 years, 11 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/common/view_messages.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/navigation_entry.h
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h
index 63af6871b20e202b7d796960e9d298c9d86e2a35..cc25a254cf08c2904dc5aa10e5b09122a70f481f 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -182,6 +182,12 @@ class NavigationEntry {
// resources.
virtual void SetCanLoadLocalResources(bool allow) = 0;
virtual bool GetCanLoadLocalResources() const = 0;
+
+ // Used to specify which frame to navigate. If empty, the main frame is
+ // navigated. This is currently not persisted in session restore, because it
+ // is currently only used in tests.
+ virtual void SetFrameToNavigate(const std::string& frame_name) = 0;
+ virtual const std::string& GetFrameToNavigate() const = 0;
};
} // namespace content
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698