| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 const Vector<String>& referencedFilePaths = | 191 const Vector<String>& referencedFilePaths = |
| 192 m_private->getReferencedFilePaths(); | 192 m_private->getReferencedFilePaths(); |
| 193 for (size_t i = 0; i < referencedFilePaths.size(); ++i) | 193 for (size_t i = 0; i < referencedFilePaths.size(); ++i) |
| 194 filePaths.insert(referencedFilePaths[i]); | 194 filePaths.insert(referencedFilePaths[i]); |
| 195 | 195 |
| 196 Vector<String> results; | 196 Vector<String> results; |
| 197 copyToVector(filePaths, results); | 197 copyToVector(filePaths, results); |
| 198 return results; | 198 return results; |
| 199 } | 199 } |
| 200 | 200 |
| 201 bool WebHistoryItem::didSaveScrollOrScaleState() const { |
| 202 return m_private->didSaveScrollOrScaleState(); |
| 203 } |
| 204 |
| 205 void WebHistoryItem::setDidSaveScrollOrScaleState( |
| 206 bool hasSaveScrollOrScaleState) { |
| 207 m_private->setDidSaveScrollOrScaleState(hasSaveScrollOrScaleState); |
| 208 } |
| 209 |
| 201 WebHistoryItem::WebHistoryItem(HistoryItem* item) : m_private(item) {} | 210 WebHistoryItem::WebHistoryItem(HistoryItem* item) : m_private(item) {} |
| 202 | 211 |
| 203 WebHistoryItem& WebHistoryItem::operator=(HistoryItem* item) { | 212 WebHistoryItem& WebHistoryItem::operator=(HistoryItem* item) { |
| 204 m_private = item; | 213 m_private = item; |
| 205 return *this; | 214 return *this; |
| 206 } | 215 } |
| 207 | 216 |
| 208 WebHistoryItem::operator HistoryItem*() const { | 217 WebHistoryItem::operator HistoryItem*() const { |
| 209 return m_private.get(); | 218 return m_private.get(); |
| 210 } | 219 } |
| 211 | 220 |
| 212 } // namespace blink | 221 } // namespace blink |
| OLD | NEW |