| OLD | NEW |
| 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. | 3 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. |
| 4 * (http://www.torchmobile.com/) | 4 * (http://www.torchmobile.com/) |
| 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
| 6 * Copyright (C) 2011 Google Inc. All rights reserved. | 6 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
| 9 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
| 10 * are met: | 10 * are met: |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 FrameLoadType = FrameLoadTypeStandard, | 97 FrameLoadType = FrameLoadTypeStandard, |
| 98 HistoryItem* = nullptr, | 98 HistoryItem* = nullptr, |
| 99 HistoryLoadType = HistoryDifferentDocumentLoad); | 99 HistoryLoadType = HistoryDifferentDocumentLoad); |
| 100 | 100 |
| 101 static void reportLocalLoadFailed(LocalFrame*, const String& url); | 101 static void reportLocalLoadFailed(LocalFrame*, const String& url); |
| 102 | 102 |
| 103 // Warning: stopAllLoaders can and will detach the LocalFrame out from under | 103 // Warning: stopAllLoaders can and will detach the LocalFrame out from under |
| 104 // you. All callers need to either protect the LocalFrame or guarantee they | 104 // you. All callers need to either protect the LocalFrame or guarantee they |
| 105 // won't in any way access the LocalFrame after stopAllLoaders returns. | 105 // won't in any way access the LocalFrame after stopAllLoaders returns. |
| 106 void stopAllLoaders(); | 106 void stopAllLoaders(); |
| 107 bool isInStopAllLoaders() const { return m_inStopAllLoaders; } |
| 107 | 108 |
| 108 // FIXME: clear() is trying to do too many things. We should break it down | 109 // FIXME: clear() is trying to do too many things. We should break it down |
| 109 // into smaller functions. | 110 // into smaller functions. |
| 110 void clear(); | 111 void clear(); |
| 111 | 112 |
| 112 void replaceDocumentWhileExecutingJavaScriptURL(const String& source, | 113 void replaceDocumentWhileExecutingJavaScriptURL(const String& source, |
| 113 Document* ownerDocument); | 114 Document* ownerDocument); |
| 114 | 115 |
| 115 // Notifies the client that the initial empty document has been accessed, and | 116 // Notifies the client that the initial empty document has been accessed, and |
| 116 // thus it is no longer safe to show a provisional URL above the document | 117 // thus it is no longer safe to show a provisional URL above the document |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 SandboxFlags m_forcedSandboxFlags; | 318 SandboxFlags m_forcedSandboxFlags; |
| 318 | 319 |
| 319 bool m_dispatchingDidClearWindowObjectInMainWorld; | 320 bool m_dispatchingDidClearWindowObjectInMainWorld; |
| 320 bool m_protectProvisionalLoader; | 321 bool m_protectProvisionalLoader; |
| 321 bool m_isNavigationHandledByClient; | 322 bool m_isNavigationHandledByClient; |
| 322 }; | 323 }; |
| 323 | 324 |
| 324 } // namespace blink | 325 } // namespace blink |
| 325 | 326 |
| 326 #endif // FrameLoader_h | 327 #endif // FrameLoader_h |
| OLD | NEW |