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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

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/browser/web_contents/navigation_entry_impl.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index 61836db1e4325317a3a4cb308cfaa4831c8ded9e..44dc6e593f4ebda5fcc5c3ad625f2cb1ffb591f6 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -271,6 +271,14 @@ bool NavigationEntryImpl::GetCanLoadLocalResources() const {
return can_load_local_resources_;
}
+void NavigationEntryImpl::SetFrameToNavigate(const std::string& frame_name) {
+ frame_to_navigate_ = frame_name;
+}
+
+const std::string& NavigationEntryImpl::GetFrameToNavigate() const {
+ return frame_to_navigate_;
+}
+
void NavigationEntryImpl::SetScreenshotPNGData(
const std::vector<unsigned char>& png_data) {
screenshot_ = png_data.empty() ? NULL : new base::RefCountedBytes(png_data);

Powered by Google App Engine
This is Rietveld 408576698