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

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

Issue 2949073002: Changing scroll and view state in onpopstate shouldn't overwrite back/forward state restore (Closed)
Patch Set: Reset ViewState when trying to copy from a nullptr Created 3 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 BLINK_EXPORT WebString HttpContentType() const; 112 BLINK_EXPORT WebString HttpContentType() const;
113 BLINK_EXPORT void SetHTTPContentType(const WebString&); 113 BLINK_EXPORT void SetHTTPContentType(const WebString&);
114 114
115 BLINK_EXPORT WebHTTPBody HttpBody() const; 115 BLINK_EXPORT WebHTTPBody HttpBody() const;
116 BLINK_EXPORT void SetHTTPBody(const WebHTTPBody&); 116 BLINK_EXPORT void SetHTTPBody(const WebHTTPBody&);
117 117
118 BLINK_EXPORT WebVector<WebString> GetReferencedFilePaths() const; 118 BLINK_EXPORT WebVector<WebString> GetReferencedFilePaths() const;
119 119
120 BLINK_EXPORT bool DidSaveScrollOrScaleState() const; 120 BLINK_EXPORT bool DidSaveScrollOrScaleState() const;
121 BLINK_EXPORT void SetDidSaveScrollOrScaleState(bool);
122 121
123 #if BLINK_IMPLEMENTATION 122 #if BLINK_IMPLEMENTATION
124 BLINK_EXPORT WebHistoryItem(HistoryItem*); 123 BLINK_EXPORT WebHistoryItem(HistoryItem*);
125 BLINK_EXPORT WebHistoryItem& operator=(HistoryItem*); 124 BLINK_EXPORT WebHistoryItem& operator=(HistoryItem*);
126 BLINK_EXPORT operator HistoryItem*() const; 125 BLINK_EXPORT operator HistoryItem*() const;
127 #endif 126 #endif
128 127
129 private: 128 private:
130 WebPrivatePtr<HistoryItem> private_; 129 WebPrivatePtr<HistoryItem> private_;
131 // TODO(dcheng): Remove this, since unique name is no longer a Blink concept. 130 // TODO(dcheng): Remove this, since unique name is no longer a Blink concept.
132 WebString target_; 131 WebString target_;
133 }; 132 };
134 133
135 } // namespace blink 134 } // namespace blink
136 135
137 #endif 136 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698