| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 long long WebHistoryItem::frameSequenceNumber() const | 162 long long WebHistoryItem::frameSequenceNumber() const |
| 163 { | 163 { |
| 164 return m_private->frameSequenceNumber(); | 164 return m_private->frameSequenceNumber(); |
| 165 } | 165 } |
| 166 | 166 |
| 167 void WebHistoryItem::setFrameSequenceNumber(long long frameSequenceNumber) | 167 void WebHistoryItem::setFrameSequenceNumber(long long frameSequenceNumber) |
| 168 { | 168 { |
| 169 m_private->setFrameSequenceNumber(frameSequenceNumber); | 169 m_private->setFrameSequenceNumber(frameSequenceNumber); |
| 170 } | 170 } |
| 171 | 171 |
| 172 WebHistoryScrollRestorationType WebHistoryItem::scrollRestorationType() const |
| 173 { |
| 174 return static_cast<WebHistoryScrollRestorationType>(m_private->scrollRestora
tionType()); |
| 175 } |
| 176 |
| 177 void WebHistoryItem::setScrollRestorationType(WebHistoryScrollRestorationType ty
pe) |
| 178 { |
| 179 m_private->setScrollRestorationType(static_cast<HistoryScrollRestorationType
>(type)); |
| 180 } |
| 181 |
| 172 WebSerializedScriptValue WebHistoryItem::stateObject() const | 182 WebSerializedScriptValue WebHistoryItem::stateObject() const |
| 173 { | 183 { |
| 174 return WebSerializedScriptValue(m_private->stateObject()); | 184 return WebSerializedScriptValue(m_private->stateObject()); |
| 175 } | 185 } |
| 176 | 186 |
| 177 void WebHistoryItem::setStateObject(const WebSerializedScriptValue& object) | 187 void WebHistoryItem::setStateObject(const WebSerializedScriptValue& object) |
| 178 { | 188 { |
| 179 m_private->setStateObject(object); | 189 m_private->setStateObject(object); |
| 180 } | 190 } |
| 181 | 191 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 m_private = item; | 240 m_private = item; |
| 231 return *this; | 241 return *this; |
| 232 } | 242 } |
| 233 | 243 |
| 234 WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const | 244 WebHistoryItem::operator PassRefPtrWillBeRawPtr<HistoryItem>() const |
| 235 { | 245 { |
| 236 return m_private.get(); | 246 return m_private.get(); |
| 237 } | 247 } |
| 238 | 248 |
| 239 } // namespace blink | 249 } // namespace blink |
| OLD | NEW |