Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: Source/core/loader/HistoryItem.h

Issue 267613003: location.replace() breaks same-document back/forward navigations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/HistoryItem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698