| OLD | NEW |
| 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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 886 | 886 |
| 887 if (m_inStopAllLoaders) | 887 if (m_inStopAllLoaders) |
| 888 return; | 888 return; |
| 889 | 889 |
| 890 if (m_frame->page()->defersLoading() && isBackForwardLoadType(frameLoadType)
) { | 890 if (m_frame->page()->defersLoading() && isBackForwardLoadType(frameLoadType)
) { |
| 891 m_deferredHistoryLoad = DeferredHistoryLoad::create(passedRequest.resour
ceRequest(), historyItem, frameLoadType, historyLoadType); | 891 m_deferredHistoryLoad = DeferredHistoryLoad::create(passedRequest.resour
ceRequest(), historyItem, frameLoadType, historyLoadType); |
| 892 return; | 892 return; |
| 893 } | 893 } |
| 894 | 894 |
| 895 FrameLoadRequest request(passedRequest); | 895 FrameLoadRequest request(passedRequest); |
| 896 request.resourceRequest().setHasUserGesture(UserGestureIndicator::processing
UserGesture()); | 896 request.resourceRequest().setHasUserGesture(UserGestureIndicator::processing
UserGestureUntracked()); |
| 897 | 897 |
| 898 if (!prepareRequestForThisFrame(request)) | 898 if (!prepareRequestForThisFrame(request)) |
| 899 return; | 899 return; |
| 900 | 900 |
| 901 RefPtrWillBeRawPtr<Frame> targetFrame = request.form() ? nullptr : m_frame->
findFrameForNavigation(AtomicString(request.frameName()), *m_frame); | 901 RefPtrWillBeRawPtr<Frame> targetFrame = request.form() ? nullptr : m_frame->
findFrameForNavigation(AtomicString(request.frameName()), *m_frame); |
| 902 | 902 |
| 903 if (isBackForwardLoadType(frameLoadType)) { | 903 if (isBackForwardLoadType(frameLoadType)) { |
| 904 ASSERT(historyItem); | 904 ASSERT(historyItem); |
| 905 m_provisionalItem = historyItem; | 905 m_provisionalItem = historyItem; |
| 906 } | 906 } |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1574 // FIXME: We need a way to propagate insecure requests policy flags to | 1574 // FIXME: We need a way to propagate insecure requests policy flags to |
| 1575 // out-of-process frames. For now, we'll always use default behavior. | 1575 // out-of-process frames. For now, we'll always use default behavior. |
| 1576 if (!parentFrame->isLocalFrame()) | 1576 if (!parentFrame->isLocalFrame()) |
| 1577 return nullptr; | 1577 return nullptr; |
| 1578 | 1578 |
| 1579 ASSERT(toLocalFrame(parentFrame)->document()); | 1579 ASSERT(toLocalFrame(parentFrame)->document()); |
| 1580 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade()
; | 1580 return toLocalFrame(parentFrame)->document()->insecureNavigationsToUpgrade()
; |
| 1581 } | 1581 } |
| 1582 | 1582 |
| 1583 } // namespace blink | 1583 } // namespace blink |
| OLD | NEW |