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

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

Issue 2710063002: Revert of Add DidSaveScrollOrScaleState flag to prevent restoreScrollPosition... (Closed)
Patch Set: rebase update Created 3 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
« no previous file with comments | « third_party/WebKit/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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 BLINK_EXPORT void SetStateObject(const WebSerializedScriptValue&); 110 BLINK_EXPORT void SetStateObject(const WebSerializedScriptValue&);
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;
121 BLINK_EXPORT void SetDidSaveScrollOrScaleState(bool);
122
123 #if BLINK_IMPLEMENTATION 120 #if BLINK_IMPLEMENTATION
124 BLINK_EXPORT WebHistoryItem(HistoryItem*); 121 BLINK_EXPORT WebHistoryItem(HistoryItem*);
125 BLINK_EXPORT WebHistoryItem& operator=(HistoryItem*); 122 BLINK_EXPORT WebHistoryItem& operator=(HistoryItem*);
126 BLINK_EXPORT operator HistoryItem*() const; 123 BLINK_EXPORT operator HistoryItem*() const;
127 #endif 124 #endif
128 125
129 private: 126 private:
130 WebPrivatePtr<HistoryItem> private_; 127 WebPrivatePtr<HistoryItem> private_;
131 // TODO(dcheng): Remove this, since unique name is no longer a Blink concept. 128 // TODO(dcheng): Remove this, since unique name is no longer a Blink concept.
132 WebString target_; 129 WebString target_;
133 }; 130 };
134 131
135 } // namespace blink 132 } // namespace blink
136 133
137 #endif 134 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebHistoryItem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698