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

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

Issue 927213004: Accept options in history APIs to allow scroll restoration to be disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve the test Created 5 years, 10 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) 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; 104 BLINK_EXPORT long long frameSequenceNumber() const;
105 BLINK_EXPORT void setFrameSequenceNumber(long long); 105 BLINK_EXPORT void setFrameSequenceNumber(long long);
106 106
107 BLINK_EXPORT bool isCreatedByHistoryAPI() const;
108 BLINK_EXPORT void setIsCreatedByHistoryAPI(bool);
109
107 BLINK_EXPORT WebSerializedScriptValue stateObject() const; 110 BLINK_EXPORT WebSerializedScriptValue stateObject() const;
108 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&); 111 BLINK_EXPORT void setStateObject(const WebSerializedScriptValue&);
109 112
110 BLINK_EXPORT WebString httpContentType() const; 113 BLINK_EXPORT WebString httpContentType() const;
111 BLINK_EXPORT void setHTTPContentType(const WebString&); 114 BLINK_EXPORT void setHTTPContentType(const WebString&);
112 115
113 BLINK_EXPORT WebHTTPBody httpBody() const; 116 BLINK_EXPORT WebHTTPBody httpBody() const;
114 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&); 117 BLINK_EXPORT void setHTTPBody(const WebHTTPBody&);
115 118
116 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const; 119 BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
117 120
118 #if BLINK_IMPLEMENTATION 121 #if BLINK_IMPLEMENTATION
119 WebHistoryItem(const PassRefPtrWillBeRawPtr<HistoryItem>&); 122 WebHistoryItem(const PassRefPtrWillBeRawPtr<HistoryItem>&);
120 WebHistoryItem& operator=(const PassRefPtrWillBeRawPtr<HistoryItem>&); 123 WebHistoryItem& operator=(const PassRefPtrWillBeRawPtr<HistoryItem>&);
121 operator PassRefPtrWillBeRawPtr<HistoryItem>() const; 124 operator PassRefPtrWillBeRawPtr<HistoryItem>() const;
122 #endif 125 #endif
123 126
124 private: 127 private:
125 WebPrivatePtr<HistoryItem> m_private; 128 WebPrivatePtr<HistoryItem> m_private;
126 }; 129 };
127 130
128 } // namespace blink 131 } // namespace blink
129 132
130 #endif 133 #endif
OLDNEW
« Source/core/loader/HistoryItem.h ('K') | « Source/web/WebHistoryItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698