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

Side by Side Diff: public/web/WebHistoryItem.h

Issue 418103003: Add a frame sequence number to HistoryItem (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More descriptive comment for m_frameSequenceNumber Created 6 years, 4 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/web/WebHistoryItem.cpp ('k') | no next file » | 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) 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 BLINK_EXPORT WebVector<WebString> documentState() const; 95 BLINK_EXPORT WebVector<WebString> documentState() const;
96 BLINK_EXPORT void setDocumentState(const WebVector<WebString>&); 96 BLINK_EXPORT void setDocumentState(const WebVector<WebString>&);
97 97
98 BLINK_EXPORT long long itemSequenceNumber() const; 98 BLINK_EXPORT long long itemSequenceNumber() const;
99 BLINK_EXPORT void setItemSequenceNumber(long long); 99 BLINK_EXPORT void setItemSequenceNumber(long long);
100 100
101 BLINK_EXPORT long long documentSequenceNumber() const; 101 BLINK_EXPORT long long documentSequenceNumber() const;
102 BLINK_EXPORT void setDocumentSequenceNumber(long long); 102 BLINK_EXPORT void setDocumentSequenceNumber(long long);
103 103
104 BLINK_EXPORT long long frameSequenceNumber() const;
105 BLINK_EXPORT void setFrameSequenceNumber(long long);
106
104 BLINK_EXPORT WebSerializedScriptValue stateObject() const; 107 BLINK_EXPORT WebSerializedScriptValue stateObject() const;
105 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&); 108 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&);
106 109
107 BLINK_EXPORT WebString httpContentType() const; 110 BLINK_EXPORT WebString httpContentType() const;
108 BLINK_EXPORT void setHTTPContentType(const WebString&); 111 BLINK_EXPORT void setHTTPContentType(const WebString&);
109 112
110 BLINK_EXPORT WebHTTPBody httpBody() const; 113 BLINK_EXPORT WebHTTPBody httpBody() const;
111 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); 114 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&);
112 115
113 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; 116 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
114 117
115 #if BLINK_IMPLEMENTATION 118 #if BLINK_IMPLEMENTATION
116 WebHistoryItem(const WTF::PassRefPtr<blink::HistoryItem>&); 119 WebHistoryItem(const WTF::PassRefPtr<blink::HistoryItem>&);
117 WebHistoryItem& operator=(const WTF::PassRefPtr<blink::HistoryItem>&); 120 WebHistoryItem& operator=(const WTF::PassRefPtr<blink::HistoryItem>&);
118 operator WTF::PassRefPtr<blink::HistoryItem>() const; 121 operator WTF::PassRefPtr<blink::HistoryItem>() const;
119 #endif 122 #endif
120 123
121 private: 124 private:
122 WebPrivatePtr<blink::HistoryItem> m_private; 125 WebPrivatePtr<blink::HistoryItem> m_private;
123 }; 126 };
124 127
125 } // namespace blink 128 } // namespace blink
126 129
127 #endif 130 #endif
OLDNEW
« no previous file with comments | « Source/web/WebHistoryItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698