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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoader.cpp

Issue 1444173002: third_party/WebKit: fix typos found in comments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL Description change, Typo patch apply to upstream master. Created 5 years 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, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 4 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
5 * Copyright (C) 2008 Alp Toker <alp@atoker.com> 5 * Copyright (C) 2008 Alp Toker <alp@atoker.com>
6 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2009. All rights reserved.
7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com> 7 * Copyright (C) 2011 Kris Jordan <krisjordan@gmail.com>
8 * Copyright (C) 2011 Google Inc. All rights reserved. 8 * Copyright (C) 2011 Google Inc. All rights reserved.
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 return false; 522 return false;
523 if (document->fetcher()->requestCount()) 523 if (document->fetcher()->requestCount())
524 return false; 524 return false;
525 if (document->isDelayingLoadEvent()) 525 if (document->isDelayingLoadEvent())
526 return false; 526 return false;
527 return allDescendantsAreComplete(document->frame()); 527 return allDescendantsAreComplete(document->frame());
528 } 528 }
529 529
530 static bool shouldSendFinishNotification(LocalFrame* frame) 530 static bool shouldSendFinishNotification(LocalFrame* frame)
531 { 531 {
532 // Don't send stop notifications for inital empty documents, since they don' t generate start notifications. 532 // Don't send stop notifications for initial empty documents, since they don 't generate start notifications.
533 if (!frame->loader().stateMachine()->committedFirstRealDocumentLoad()) 533 if (!frame->loader().stateMachine()->committedFirstRealDocumentLoad())
534 return false; 534 return false;
535 535
536 // Don't send didFinishLoad more than once per DocumentLoader. 536 // Don't send didFinishLoad more than once per DocumentLoader.
537 if (frame->loader().documentLoader()->sentDidFinishLoad()) 537 if (frame->loader().documentLoader()->sentDidFinishLoad())
538 return false; 538 return false;
539 539
540 // We might have declined to run the load event due to an imminent content-i nitiated navigation. 540 // We might have declined to run the load event due to an imminent content-i nitiated navigation.
541 if (!frame->document()->loadEventFinished()) 541 if (!frame->document()->loadEventFinished())
542 return false; 542 return false;
(...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after
1547 // FIXME: We need a way to propagate insecure requests policy flags to 1547 // FIXME: We need a way to propagate insecure requests policy flags to
1548 // out-of-process frames. For now, we'll always use default behavior. 1548 // out-of-process frames. For now, we'll always use default behavior.
1549 if (!parentFrame->isLocalFrame()) 1549 if (!parentFrame->isLocalFrame())
1550 return nullptr; 1550 return nullptr;
1551 1551
1552 ASSERT(toLocalFrame(parentFrame)->document()); 1552 ASSERT(toLocalFrame(parentFrame)->document());
1553 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade() ; 1553 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade() ;
1554 } 1554 }
1555 1555
1556 } // namespace blink 1556 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp ('k') | third_party/WebKit/Source/core/loader/LinkHeader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698