OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. | 3 * Copyright (C) 2012 Research In Motion Limited. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 typedef Vector<RefPtr<HistoryItem> > HistoryItemVector; | 46 typedef Vector<RefPtr<HistoryItem> > HistoryItemVector; |
47 | 47 |
48 class HistoryItem : public RefCounted<HistoryItem> { | 48 class HistoryItem : public RefCounted<HistoryItem> { |
49 public: | 49 public: |
50 static PassRefPtr<HistoryItem> create() { return adoptRef(new HistoryItem);
} | 50 static PassRefPtr<HistoryItem> create() { return adoptRef(new HistoryItem);
} |
51 ~HistoryItem(); | 51 ~HistoryItem(); |
52 | 52 |
53 // Used when the frame this item represents was navigated to a different | 53 // Used when the frame this item represents was navigated to a different |
54 // url but a new item wasn't created. | 54 // url but a new item wasn't created. |
55 void generateNewSequenceNumbers(); | 55 void generateNewItemSequenceNumber(); |
| 56 void generateNewDocumentSequenceNumber(); |
56 | 57 |
57 const String& urlString() const; | 58 const String& urlString() const; |
58 KURL url() const; | 59 KURL url() const; |
59 | 60 |
60 const Referrer& referrer() const; | 61 const Referrer& referrer() const; |
61 const String& target() const; | 62 const String& target() const; |
62 | 63 |
63 FormData* formData(); | 64 FormData* formData(); |
64 const AtomicString& formContentType() const; | 65 const AtomicString& formContentType() const; |
65 | 66 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 134 |
134 // info used to repost form data | 135 // info used to repost form data |
135 RefPtr<FormData> m_formData; | 136 RefPtr<FormData> m_formData; |
136 AtomicString m_formContentType; | 137 AtomicString m_formContentType; |
137 | 138 |
138 }; // class HistoryItem | 139 }; // class HistoryItem |
139 | 140 |
140 } // namespace WebCore | 141 } // namespace WebCore |
141 | 142 |
142 #endif // HISTORYITEM_H | 143 #endif // HISTORYITEM_H |
OLD | NEW |