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

Side by Side Diff: Source/core/loader/FrameLoader.h

Issue 239993011: Lazily generate HistoryItem's serialized form state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
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. (http://www.t orchmobile.com/) 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
4 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
5 * Copyright (C) 2011 Google Inc. All rights reserved. 5 * Copyright (C) 2011 Google Inc. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 10 *
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 bool shouldClose(); 180 bool shouldClose();
181 181
182 void started(); 182 void started();
183 183
184 bool allowPlugins(ReasonForCallingAllowPlugins); 184 bool allowPlugins(ReasonForCallingAllowPlugins);
185 185
186 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce, PassRefPtr<SerializedScriptValue>, UpdateBackForwardListPolicy); 186 void updateForSameDocumentNavigation(const KURL&, SameDocumentNavigationSour ce, PassRefPtr<SerializedScriptValue>, UpdateBackForwardListPolicy);
187 187
188 HistoryItem* currentItem() const { return m_currentItem.get(); } 188 HistoryItem* currentItem() const { return m_currentItem.get(); }
189 void markDocumentStateDirty();
190 void saveDocumentState();
191 void saveScrollState(); 189 void saveScrollState();
192 void clearScrollPositionAndViewState(); 190 void clearScrollPositionAndViewState();
193 191
194 void restoreScrollPositionAndViewState(); 192 void restoreScrollPositionAndViewState();
195 193
196 private: 194 private:
197 bool allChildrenAreComplete() const; // immediate children, not all descenda nts 195 bool allChildrenAreComplete() const; // immediate children, not all descenda nts
198 196
199 void completed(); 197 void completed();
200 198
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 280
283 bool m_didAccessInitialDocument; 281 bool m_didAccessInitialDocument;
284 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 282 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
285 283
286 SandboxFlags m_forcedSandboxFlags; 284 SandboxFlags m_forcedSandboxFlags;
287 }; 285 };
288 286
289 } // namespace WebCore 287 } // namespace WebCore
290 288
291 #endif // FrameLoader_h 289 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698