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

Side by Side Diff: Source/web/WebHistoryItem.cpp

Issue 418103003: Add a frame sequence number to HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More descriptive comment for m_frameSequenceNumber Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/HistoryItem.cpp ('k') | public/web/WebHistoryItem.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 long long WebHistoryItem::documentSequenceNumber() const 154 long long WebHistoryItem::documentSequenceNumber() const
155 { 155 {
156 return m_private->documentSequenceNumber(); 156 return m_private->documentSequenceNumber();
157 } 157 }
158 158
159 void WebHistoryItem::setDocumentSequenceNumber(long long documentSequenceNumber) 159 void WebHistoryItem::setDocumentSequenceNumber(long long documentSequenceNumber)
160 { 160 {
161 m_private->setDocumentSequenceNumber(documentSequenceNumber); 161 m_private->setDocumentSequenceNumber(documentSequenceNumber);
162 } 162 }
163 163
164 long long WebHistoryItem::frameSequenceNumber() const
165 {
166 return m_private->frameSequenceNumber();
167 }
168
169 void WebHistoryItem::setFrameSequenceNumber(long long frameSequenceNumber)
170 {
171 m_private->setFrameSequenceNumber(frameSequenceNumber);
172 }
173
164 WebSerializedScriptValue WebHistoryItem::stateObject() const 174 WebSerializedScriptValue WebHistoryItem::stateObject() const
165 { 175 {
166 return WebSerializedScriptValue(m_private->stateObject()); 176 return WebSerializedScriptValue(m_private->stateObject());
167 } 177 }
168 178
169 void WebHistoryItem::setStateObject(const WebSerializedScriptValue& object) 179 void WebHistoryItem::setStateObject(const WebSerializedScriptValue& object)
170 { 180 {
171 m_private->setStateObject(object); 181 m_private->setStateObject(object);
172 } 182 }
173 183
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 m_private = item; 232 m_private = item;
223 return *this; 233 return *this;
224 } 234 }
225 235
226 WebHistoryItem::operator PassRefPtr<HistoryItem>() const 236 WebHistoryItem::operator PassRefPtr<HistoryItem>() const
227 { 237 {
228 return m_private.get(); 238 return m_private.get();
229 } 239 }
230 240
231 } // namespace blink 241 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/loader/HistoryItem.cpp ('k') | public/web/WebHistoryItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698