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

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

Issue 1213913003: Don't revalidate all resources for FrameLoadTypeSame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | 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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 private: 188 private:
189 void checkTimerFired(Timer<FrameLoader>*); 189 void checkTimerFired(Timer<FrameLoader>*);
190 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*); 190 void didAccessInitialDocumentTimerFired(Timer<FrameLoader>*);
191 191
192 bool prepareRequestForThisFrame(FrameLoadRequest&); 192 bool prepareRequestForThisFrame(FrameLoadRequest&);
193 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Document*); 193 static void setReferrerForFrameRequest(ResourceRequest&, ShouldSendReferrer, Document*);
194 FrameLoadType determineFrameLoadType(const FrameLoadRequest&); 194 FrameLoadType determineFrameLoadType(const FrameLoadRequest&);
195 195
196 SubstituteData defaultSubstituteDataForURL(const KURL&); 196 SubstituteData defaultSubstituteDataForURL(const KURL&);
197 197
198 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht tpMethod, FrameLoadType, const KURL&); 198 bool shouldPerformFragmentNavigation(const FrameLoadRequest&, FrameLoadType) ;
199 void processFragment(const KURL&, LoadStartType); 199 void processFragment(const KURL&, LoadStartType);
200 200
201 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy); 201 void startLoad(FrameLoadRequest&, FrameLoadType, NavigationPolicy);
202 202
203 enum class HistoryNavigationType { 203 enum class HistoryNavigationType {
204 DifferentDocument, 204 DifferentDocument,
205 Fragment, 205 Fragment,
206 HistoryApi 206 HistoryApi
207 }; 207 };
208 void setHistoryItemStateForCommit(HistoryCommitType, HistoryNavigationType); 208 void setHistoryItemStateForCommit(HistoryCommitType, HistoryNavigationType);
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 Timer<FrameLoader> m_didAccessInitialDocumentTimer; 273 Timer<FrameLoader> m_didAccessInitialDocumentTimer;
274 274
275 SandboxFlags m_forcedSandboxFlags; 275 SandboxFlags m_forcedSandboxFlags;
276 276
277 bool m_dispatchingDidClearWindowObjectInMainWorld; 277 bool m_dispatchingDidClearWindowObjectInMainWorld;
278 }; 278 };
279 279
280 } // namespace blink 280 } // namespace blink
281 281
282 #endif // FrameLoader_h 282 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698