OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * | 9 * |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 void loadArchive(PassRefPtr<Archive>); | 122 void loadArchive(PassRefPtr<Archive>); |
123 | 123 |
124 static void reportLocalLoadFailed(Frame*, const String& url); | 124 static void reportLocalLoadFailed(Frame*, const String& url); |
125 | 125 |
126 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); | 126 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); |
127 | 127 |
128 bool canHandleRequest(const ResourceRequest&); | 128 bool canHandleRequest(const ResourceRequest&); |
129 | 129 |
130 // Also not cool. | 130 // Also not cool. |
| 131 // FIXME: We no longer need DatabasePolicy, since we always stop databases n
ow. |
131 void stopAllLoaders(DatabasePolicy = DatabasePolicyStop, ClearProvisionalIte
mPolicy = ShouldClearProvisionalItem); | 132 void stopAllLoaders(DatabasePolicy = DatabasePolicyStop, ClearProvisionalIte
mPolicy = ShouldClearProvisionalItem); |
132 void stopForUserCancel(bool deferCheckLoadComplete = false); | 133 void stopForUserCancel(bool deferCheckLoadComplete = false); |
133 | 134 |
134 bool isLoadingMainResource() const { return m_isLoadingMainResource; } | 135 bool isLoadingMainResource() const { return m_isLoadingMainResource; } |
135 bool isLoading() const; | 136 bool isLoading() const; |
136 bool frameHasLoaded() const; | 137 bool frameHasLoaded() const; |
137 void transferLoadingResourcesFromPage(Page*); | 138 void transferLoadingResourcesFromPage(Page*); |
138 void dispatchTransferLoadingResourceFromPage(unsigned long, DocumentLoader*,
const ResourceRequest&, Page*); | 139 void dispatchTransferLoadingResourceFromPage(unsigned long, DocumentLoader*,
const ResourceRequest&, Page*); |
139 | 140 |
140 int numPendingOrLoadingRequests(bool recurse) const; | 141 int numPendingOrLoadingRequests(bool recurse) const; |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 // the frame name references a frame different from the openerFrame, e.g. when i
t is | 503 // the frame name references a frame different from the openerFrame, e.g. when i
t is |
503 // "_self" or "_parent". | 504 // "_self" or "_parent". |
504 // | 505 // |
505 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) | 506 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) |
506 // and moving it to a more appropriate location. | 507 // and moving it to a more appropriate location. |
507 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); | 508 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); |
508 | 509 |
509 } // namespace WebCore | 510 } // namespace WebCore |
510 | 511 |
511 #endif // FrameLoader_h | 512 #endif // FrameLoader_h |
OLD | NEW |