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

Unified Diff: content/browser/web_contents/navigation_entry_impl.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/browser/web_contents/navigation_entry_impl.h
diff --git a/content/browser/web_contents/navigation_entry_impl.h b/content/browser/web_contents/navigation_entry_impl.h
index f69cec9a2a879f6ec1c79fb84e314ca62369776e..4ca5aacabd80dd66403543b1e8392caed93a148f 100644
--- a/content/browser/web_contents/navigation_entry_impl.h
+++ b/content/browser/web_contents/navigation_entry_impl.h
@@ -73,6 +73,8 @@ class CONTENT_EXPORT NavigationEntryImpl
virtual base::Time GetTimestamp() const OVERRIDE;
virtual void SetCanLoadLocalResources(bool allow) OVERRIDE;
virtual bool GetCanLoadLocalResources() const OVERRIDE;
+ virtual void SetFrameToNavigate(const std::string& frame_name) OVERRIDE;
+ virtual const std::string& GetFrameToNavigate() const OVERRIDE;
void set_unique_id(int unique_id) {
unique_id_ = unique_id;
@@ -259,6 +261,9 @@ class CONTENT_EXPORT NavigationEntryImpl
// value is not needed after the entry commits and is not persisted.
bool can_load_local_resources_;
+ // If not empty, the name of the frame to navigate.
Charlie Reis 2013/01/23 01:38:45 Should this be persisted? (See the warning above.
jochen (gone - plz use gerrit) 2013/01/23 08:22:42 I'd rather not persist test-only data. I added a D
+ std::string frame_to_navigate_;
+
// Copy and assignment is explicitly allowed for this class.
};
« no previous file with comments | « no previous file | content/browser/web_contents/navigation_entry_impl.cc » ('j') | content/public/browser/navigation_entry.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698