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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 private: | 100 private: |
101 HistoryItem(); | 101 HistoryItem(); |
102 | 102 |
103 String m_urlString; | 103 String m_urlString; |
104 Referrer m_referrer; | 104 Referrer m_referrer; |
105 String m_target; | 105 String m_target; |
106 | 106 |
107 IntPoint m_scrollPoint; | 107 IntPoint m_scrollPoint; |
108 float m_pageScaleFactor; | 108 float m_pageScaleFactor; |
109 Vector<String> m_documentStateVector; | 109 Vector<String> m_documentStateVector; |
110 RefPtr<DocumentState> m_documentState; | 110 RefPtrWillBePersistent<DocumentState> m_documentState; |
111 | 111 |
112 // If two HistoryItems have the same item sequence number, then they are | 112 // If two HistoryItems have the same item sequence number, then they are |
113 // clones of one another. Traversing history from one such HistoryItem to | 113 // clones of one another. Traversing history from one such HistoryItem to |
114 // another is a no-op. HistoryItem clones are created for parent and | 114 // another is a no-op. HistoryItem clones are created for parent and |
115 // sibling frames when only a subframe navigates. | 115 // sibling frames when only a subframe navigates. |
116 int64_t m_itemSequenceNumber; | 116 int64_t m_itemSequenceNumber; |
117 | 117 |
118 // If two HistoryItems have the same document sequence number, then they | 118 // If two HistoryItems have the same document sequence number, then they |
119 // refer to the same instance of a document. Traversing history from one | 119 // refer to the same instance of a document. Traversing history from one |
120 // such HistoryItem to another preserves the document. | 120 // such HistoryItem to another preserves the document. |
121 int64_t m_documentSequenceNumber; | 121 int64_t m_documentSequenceNumber; |
122 | 122 |
123 // Support for HTML5 History | 123 // Support for HTML5 History |
124 RefPtr<SerializedScriptValue> m_stateObject; | 124 RefPtr<SerializedScriptValue> m_stateObject; |
125 | 125 |
126 // info used to repost form data | 126 // info used to repost form data |
127 RefPtr<FormData> m_formData; | 127 RefPtr<FormData> m_formData; |
128 AtomicString m_formContentType; | 128 AtomicString m_formContentType; |
129 | 129 |
130 }; // class HistoryItem | 130 }; // class HistoryItem |
131 | 131 |
132 } // namespace WebCore | 132 } // namespace WebCore |
133 | 133 |
134 #endif // HISTORYITEM_H | 134 #endif // HISTORYITEM_H |
OLD | NEW |