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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoader.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
4 * (http://www.torchmobile.com/) 4 * (http://www.torchmobile.com/)
5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
6 * Copyright (C) 2011 Google Inc. All rights reserved. 6 * Copyright (C) 2011 Google Inc. All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions 9 * modification, are permitted provided that the following conditions
10 * are met: 10 * are met:
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 FrameLoadType, 238 FrameLoadType,
239 NavigationPolicy, 239 NavigationPolicy,
240 HistoryItem*); 240 HistoryItem*);
241 241
242 void LoadInSameDocument(const KURL&, 242 void LoadInSameDocument(const KURL&,
243 PassRefPtr<SerializedScriptValue> state_object, 243 PassRefPtr<SerializedScriptValue> state_object,
244 FrameLoadType, 244 FrameLoadType,
245 HistoryItem*, 245 HistoryItem*,
246 ClientRedirectPolicy, 246 ClientRedirectPolicy,
247 Document*); 247 Document*);
248 void RestoreScrollPositionAndViewStateForLoadType(FrameLoadType, 248 void RestoreScrollPositionAndViewState(FrameLoadType,
249 HistoryLoadType); 249 HistoryLoadType,
250 HistoryItem::ViewState*,
251 HistoryScrollRestorationType);
250 252
251 void ScheduleCheckCompleted(); 253 void ScheduleCheckCompleted();
252 254
253 void DetachDocumentLoader(Member<DocumentLoader>&); 255 void DetachDocumentLoader(Member<DocumentLoader>&);
254 256
255 void UpgradeInsecureRequest(ResourceRequest&, Document*) const; 257 void UpgradeInsecureRequest(ResourceRequest&, Document*) const;
256 258
257 std::unique_ptr<TracedValue> ToTracedValue() const; 259 std::unique_ptr<TracedValue> ToTracedValue() const;
258 void TakeObjectSnapshot() const; 260 void TakeObjectSnapshot() const;
259 261
(...skipping 27 matching lines...) Expand all
287 SandboxFlags forced_sandbox_flags_; 289 SandboxFlags forced_sandbox_flags_;
288 290
289 bool dispatching_did_clear_window_object_in_main_world_; 291 bool dispatching_did_clear_window_object_in_main_world_;
290 bool protect_provisional_loader_; 292 bool protect_provisional_loader_;
291 bool detached_; 293 bool detached_;
292 }; 294 };
293 295
294 } // namespace blink 296 } // namespace blink
295 297
296 #endif // FrameLoader_h 298 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698