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

Unified Diff: content/common/page_state_serialization.h

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: add dump file 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..9c1642da0ebb8a2f88313e2da87ec24a0963f7ca 100644
--- a/content/common/page_state_serialization.h
+++ b/content/common/page_state_serialization.h
@@ -39,6 +39,7 @@ struct CONTENT_EXPORT ExplodedFrameState {
base::NullableString16 state_object;
std::vector<base::NullableString16> document_state;
blink::WebHistoryScrollRestorationType scroll_restoration_type;
+ bool did_save_scroll_or_scale_state;
gfx::PointF visual_viewport_scroll_offset;
gfx::Point scroll_offset;
int64_t item_sequence_number;
« no previous file with comments | « content/browser/frame_host/navigation_controller_impl_browsertest.cc ('k') | content/common/page_state_serialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698