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

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

Issue 17519002: Reland r152781 - "Fix a history bug where a reload is given a standard load's history entry." (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 void setFirstPartyForCookies(const KURL&); 269 void setFirstPartyForCookies(const KURL&);
270 270
271 void clearProvisionalLoad(); 271 void clearProvisionalLoad();
272 void transitionToCommitted(); 272 void transitionToCommitted();
273 void frameLoadCompleted(); 273 void frameLoadCompleted();
274 274
275 SubstituteData defaultSubstituteDataForURL(const KURL&); 275 SubstituteData defaultSubstituteDataForURL(const KURL&);
276 276
277 bool fireBeforeUnloadEvent(Chrome&); 277 bool fireBeforeUnloadEvent(Chrome&);
278 278
279 void checkNavigationPolicyAndContinueLoad(PassRefPtr<FormState>); 279 void checkNavigationPolicyAndContinueLoad(PassRefPtr<FormState>, FrameLoadTy pe);
280 void checkNavigationPolicyAndContinueFragmentScroll(const NavigationAction&) ; 280 void checkNavigationPolicyAndContinueFragmentScroll(const NavigationAction&, bool isNewNavigation);
281 void checkNewWindowPolicyAndContinue(PassRefPtr<FormState>, const String& fr ameName, const NavigationAction&); 281 void checkNewWindowPolicyAndContinue(PassRefPtr<FormState>, const String& fr ameName, const NavigationAction&);
282 282
283 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht tpMethod, FrameLoadType, const KURL&); 283 bool shouldPerformFragmentNavigation(bool isFormSubmission, const String& ht tpMethod, FrameLoadType, const KURL&);
284 void scrollToFragmentWithParentBoundary(const KURL&); 284 void scrollToFragmentWithParentBoundary(const KURL&);
285 285
286 void checkLoadCompleteForThisFrame(); 286 void checkLoadCompleteForThisFrame();
287 287
288 void setDocumentLoader(DocumentLoader*); 288 void setDocumentLoader(DocumentLoader*);
289 void setPolicyDocumentLoader(DocumentLoader*); 289 void setPolicyDocumentLoader(DocumentLoader*);
290 void setProvisionalDocumentLoader(DocumentLoader*); 290 void setProvisionalDocumentLoader(DocumentLoader*);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // the frame name references a frame different from the openerFrame, e.g. when i t is 386 // the frame name references a frame different from the openerFrame, e.g. when i t is
387 // "_self" or "_parent". 387 // "_self" or "_parent".
388 // 388 //
389 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 389 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
390 // and moving it to a more appropriate location. 390 // and moving it to a more appropriate location.
391 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 391 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
392 392
393 } // namespace WebCore 393 } // namespace WebCore
394 394
395 #endif // FrameLoader_h 395 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/history/reload-during-load-after-load-event-expected.txt ('k') | Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698