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

Unified Diff: Source/core/history/HistoryItem.h

Issue 46783003: Add a unique frame id and save it on HistoryItem. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | « Source/core/frame/Frame.cpp ('k') | Source/core/history/HistoryItem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/history/HistoryItem.h
diff --git a/Source/core/history/HistoryItem.h b/Source/core/history/HistoryItem.h
index 15793db5257715c5c1aefb330499eba38d72e469..4bd3524f44a6daf47b4bbe4a952555f422ed4d5b 100644
--- a/Source/core/history/HistoryItem.h
+++ b/Source/core/history/HistoryItem.h
@@ -91,6 +91,9 @@ public:
void setDocumentSequenceNumber(long long number) { m_documentSequenceNumber = number; }
long long documentSequenceNumber() const { return m_documentSequenceNumber; }
+ void setTargetFrameID(int64_t id) { m_targetFrameID = id; }
+ int64_t targetFrameID() const { return m_targetFrameID; }
+
void setFormInfoFromRequest(const ResourceRequest&);
void setFormData(PassRefPtr<FormData>);
void setFormContentType(const String&);
@@ -140,6 +143,8 @@ private:
// such HistoryItem to another preserves the document.
int64_t m_documentSequenceNumber;
+ int64_t m_targetFrameID;
+
// Support for HTML5 History
RefPtr<SerializedScriptValue> m_stateObject;
« no previous file with comments | « Source/core/frame/Frame.cpp ('k') | Source/core/history/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698