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

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: updates 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
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..bceb6da2f112cae53c665068cfac528795daccdd 100644
--- a/content/public/browser/navigation_entry.h
+++ b/content/public/browser/navigation_entry.h
@@ -182,6 +182,11 @@ 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.
+ virtual void SetFrameToNavigate(const std::string& frame_name) = 0;
Charlie Reis 2013/01/23 01:38:45 I suppose this is a name rather than a frame ID be
jochen (gone - plz use gerrit) 2013/01/23 08:22:42 Yes, it's the (unique) name. In a layout test, we
+ virtual const std::string& GetFrameToNavigate() const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698