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

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

Issue 1144383008: Remove HistoryItem::m_frameSequenceNumber, it is unused (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 long long WebHistoryItem::documentSequenceNumber() const 152 long long WebHistoryItem::documentSequenceNumber() const
153 { 153 {
154 return m_private->documentSequenceNumber(); 154 return m_private->documentSequenceNumber();
155 } 155 }
156 156
157 void WebHistoryItem::setDocumentSequenceNumber(long long documentSequenceNumber) 157 void WebHistoryItem::setDocumentSequenceNumber(long long documentSequenceNumber)
158 { 158 {
159 m_private->setDocumentSequenceNumber(documentSequenceNumber); 159 m_private->setDocumentSequenceNumber(documentSequenceNumber);
160 } 160 }
161 161
162 long long WebHistoryItem::frameSequenceNumber() const
163 {
164 return m_private->frameSequenceNumber();
165 }
166
167 void WebHistoryItem::setFrameSequenceNumber(long long frameSequenceNumber)
168 {
169 m_private->setFrameSequenceNumber(frameSequenceNumber);
170 }
171
172 WebHistoryScrollRestorationType WebHistoryItem::scrollRestorationType() const 162 WebHistoryScrollRestorationType WebHistoryItem::scrollRestorationType() const
173 { 163 {
174 return static_cast<WebHistoryScrollRestorationType>(m_private->scrollRestora tionType()); 164 return static_cast<WebHistoryScrollRestorationType>(m_private->scrollRestora tionType());
175 } 165 }
176 166
177 void WebHistoryItem::setScrollRestorationType(WebHistoryScrollRestorationType ty pe) 167 void WebHistoryItem::setScrollRestorationType(WebHistoryScrollRestorationType ty pe)
178 { 168 {
179 m_private->setScrollRestorationType(static_cast<HistoryScrollRestorationType >(type)); 169 m_private->setScrollRestorationType(static_cast<HistoryScrollRestorationType >(type));
180 } 170 }
181 171
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 m_private = item; 230 m_private = item;
241 return *this; 231 return *this;
242 } 232 }
243 233
244 WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const 234 WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const
245 { 235 {
246 return m_private.get(); 236 return m_private.get();
247 } 237 }
248 238
249 } // namespace blink 239 } // 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