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

Unified Diff: content/common/page_state_serialization.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: content/common/page_state_serialization.h
diff --git a/content/common/page_state_serialization.h b/content/common/page_state_serialization.h
index 51ad47a49b82099729b356b4ea9850c96273b76c..04771e4e2910a0f3de1e3ab7a42b4c7aec4ae4cd 100644
--- a/content/common/page_state_serialization.h
+++ b/content/common/page_state_serialization.h
@@ -44,6 +44,7 @@ struct CONTENT_EXPORT ExplodedFrameState {
int64_t item_sequence_number;
int64_t document_sequence_number;
double page_scale_factor;
+ bool did_save_scroll_state;
blink::WebReferrerPolicy referrer_policy;
ExplodedHttpBody http_body;
std::vector<ExplodedFrameState> children;

Powered by Google App Engine
This is Rietveld 408576698