| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |