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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 27 matching lines...) Expand all
38 #include "wtf/text/WTFString.h" 38 #include "wtf/text/WTFString.h"
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class Document; 42 class Document;
43 class DocumentState; 43 class DocumentState;
44 class EncodedFormData; 44 class EncodedFormData;
45 class KURL; 45 class KURL;
46 class ResourceRequest; 46 class ResourceRequest;
47 47
48 class CORE_EXPORT HistoryItem final : public RefCountedWillBeGarbageCollectedFin alized<HistoryItem> { 48 class CORE_EXPORT HistoryItem final : public GarbageCollectedFinalized<HistoryIt em> {
49 public: 49 public:
50 static PassRefPtrWillBeRawPtr<HistoryItem> create() 50 static RawPtr<HistoryItem> create()
51 { 51 {
52 return adoptRefWillBeNoop(new HistoryItem); 52 return adoptRefWillBeNoop(new HistoryItem);
53 } 53 }
54 ~HistoryItem(); 54 ~HistoryItem();
55 55
56 const String& urlString() const; 56 const String& urlString() const;
57 KURL url() const; 57 KURL url() const;
58 58
59 const Referrer& referrer() const; 59 const Referrer& referrer() const;
60 const String& target() const; 60 const String& target() const;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 HistoryItem(); 105 HistoryItem();
106 106
107 String m_urlString; 107 String m_urlString;
108 Referrer m_referrer; 108 Referrer m_referrer;
109 String m_target; 109 String m_target;
110 110
111 FloatPoint m_visualViewportScrollPoint; 111 FloatPoint m_visualViewportScrollPoint;
112 IntPoint m_scrollPoint; 112 IntPoint m_scrollPoint;
113 float m_pageScaleFactor; 113 float m_pageScaleFactor;
114 Vector<String> m_documentStateVector; 114 Vector<String> m_documentStateVector;
115 RefPtrWillBeMember<DocumentState> m_documentState; 115 Member<DocumentState> m_documentState;
116 116
117 // If two HistoryItems have the same item sequence number, then they are 117 // If two HistoryItems have the same item sequence number, then they are
118 // clones of one another. Traversing history from one such HistoryItem to 118 // clones of one another. Traversing history from one such HistoryItem to
119 // another is a no-op. HistoryItem clones are created for parent and 119 // another is a no-op. HistoryItem clones are created for parent and
120 // sibling frames when only a subframe navigates. 120 // sibling frames when only a subframe navigates.
121 int64_t m_itemSequenceNumber; 121 int64_t m_itemSequenceNumber;
122 122
123 // If two HistoryItems have the same document sequence number, then they 123 // If two HistoryItems have the same document sequence number, then they
124 // refer to the same instance of a document. Traversing history from one 124 // refer to the same instance of a document. Traversing history from one
125 // such HistoryItem to another preserves the document. 125 // such HistoryItem to another preserves the document.
126 int64_t m_documentSequenceNumber; 126 int64_t m_documentSequenceNumber;
127 127
128 // Type of the scroll restoration for the history item determines if scroll 128 // Type of the scroll restoration for the history item determines if scroll
129 // position should be restored when it is loaded during history traversal. 129 // position should be restored when it is loaded during history traversal.
130 HistoryScrollRestorationType m_scrollRestorationType; 130 HistoryScrollRestorationType m_scrollRestorationType;
131 131
132 // Support for HTML5 History 132 // Support for HTML5 History
133 RefPtr<SerializedScriptValue> m_stateObject; 133 RefPtr<SerializedScriptValue> m_stateObject;
134 134
135 // info used to repost form data 135 // info used to repost form data
136 RefPtr<EncodedFormData> m_formData; 136 RefPtr<EncodedFormData> m_formData;
137 AtomicString m_formContentType; 137 AtomicString m_formContentType;
138 138
139 }; // class HistoryItem 139 }; // class HistoryItem
140 140
141 } // namespace blink 141 } // namespace blink
142 142
143 #endif // HISTORYITEM_H 143 #endif // HISTORYITEM_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698