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

Unified Diff: Source/web/WebHistoryItem.cpp

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/web/WebFrameImpl.cpp ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebHistoryItem.cpp
diff --git a/Source/web/WebHistoryItem.cpp b/Source/web/WebHistoryItem.cpp
index ce6b1407a347fc13b76fceb2ade7e7f671398489..cd76cb5fb67bab887f2e5a3fdfae893fb7810a39 100644
--- a/Source/web/WebHistoryItem.cpp
+++ b/Source/web/WebHistoryItem.cpp
@@ -188,6 +188,17 @@ void WebHistoryItem::setDocumentSequenceNumber(long long documentSequenceNumber)
m_private->setDocumentSequenceNumber(documentSequenceNumber);
}
+long long WebHistoryItem::targetFrameID() const
+{
+ return m_private->targetFrameID();
+}
+
+void WebHistoryItem::setTargetFrameID(long long targetFrameID)
+{
+ ensureMutable();
+ m_private->setTargetFrameID(targetFrameID);
+}
+
WebSerializedScriptValue WebHistoryItem::stateObject() const
{
return WebSerializedScriptValue(m_private->stateObject());
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698