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

Unified Diff: third_party/WebKit/public/web/WebHistoryItem.h

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: add test Created 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebHistoryItem.h
diff --git a/third_party/WebKit/public/web/WebHistoryItem.h b/third_party/WebKit/public/web/WebHistoryItem.h
index 2b91f34f07fef8fdb380a8365b33db3ff298fc99..a11ca0c1843cd03ebad3312f7d9749e2770b4eb4 100644
--- a/third_party/WebKit/public/web/WebHistoryItem.h
+++ b/third_party/WebKit/public/web/WebHistoryItem.h
@@ -116,6 +116,9 @@ class WebHistoryItem {
BLINK_EXPORT WebVector<WebString> getReferencedFilePaths() const;
+ BLINK_EXPORT bool didSaveScrollState() const;
+ BLINK_EXPORT void setDidSaveScrollState(bool);
+
#if BLINK_IMPLEMENTATION
BLINK_EXPORT WebHistoryItem(HistoryItem*);
BLINK_EXPORT WebHistoryItem& operator=(HistoryItem*);

Powered by Google App Engine
This is Rietveld 408576698