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. (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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 void receivedMainResourceError(const ResourceError&); | 122 void receivedMainResourceError(const ResourceError&); |
123 | 123 |
124 bool isLoadingMainFrame() const; | 124 bool isLoadingMainFrame() const; |
125 | 125 |
126 bool shouldTreatURLAsSameAsCurrent(const KURL&) const; | 126 bool shouldTreatURLAsSameAsCurrent(const KURL&) const; |
127 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; | 127 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; |
128 | 128 |
129 FrameLoadType loadType() const; | 129 FrameLoadType loadType() const; |
130 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; } | 130 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; } |
131 | 131 |
132 void checkLoadComplete(DocumentLoader*); | |
133 void checkLoadComplete(); | 132 void checkLoadComplete(); |
134 | 133 |
135 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& orig
in); | 134 static void addHTTPOriginIfNeeded(ResourceRequest&, const AtomicString& orig
in); |
136 | 135 |
137 FrameLoaderClient* client() const { return m_client; } | 136 FrameLoaderClient* client() const { return m_client; } |
138 | 137 |
139 void setDefersLoading(bool); | 138 void setDefersLoading(bool); |
140 | 139 |
141 void didExplicitOpen(); | 140 void didExplicitOpen(); |
142 | 141 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 | 279 |
281 bool m_didAccessInitialDocument; | 280 bool m_didAccessInitialDocument; |
282 Timer<FrameLoader> m_didAccessInitialDocumentTimer; | 281 Timer<FrameLoader> m_didAccessInitialDocumentTimer; |
283 | 282 |
284 SandboxFlags m_forcedSandboxFlags; | 283 SandboxFlags m_forcedSandboxFlags; |
285 }; | 284 }; |
286 | 285 |
287 } // namespace WebCore | 286 } // namespace WebCore |
288 | 287 |
289 #endif // FrameLoader_h | 288 #endif // FrameLoader_h |
OLD | NEW |