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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 class CachedResource; | 53 class CachedResource; |
54 class Chrome; | 54 class Chrome; |
55 class DOMWrapperWorld; | 55 class DOMWrapperWorld; |
56 class DocumentLoader; | 56 class DocumentLoader; |
57 class Event; | 57 class Event; |
58 class FormState; | 58 class FormState; |
59 class FormSubmission; | 59 class FormSubmission; |
60 class FrameLoaderClient; | 60 class FrameLoaderClient; |
61 class FrameNetworkingContext; | 61 class FrameNetworkingContext; |
62 class MHTMLArchive; | |
63 class NavigationAction; | 62 class NavigationAction; |
64 class NetworkingContext; | 63 class NetworkingContext; |
65 class Page; | 64 class Page; |
66 class ResourceError; | 65 class ResourceError; |
67 class ResourceRequest; | 66 class ResourceRequest; |
68 class ResourceResponse; | 67 class ResourceResponse; |
69 class SecurityOrigin; | 68 class SecurityOrigin; |
70 class SerializedScriptValue; | 69 class SerializedScriptValue; |
71 class StringWithDirection; | 70 class StringWithDirection; |
72 class SubstituteData; | 71 class SubstituteData; |
(...skipping 22 matching lines...) Expand all Loading... |
95 void prepareForHistoryNavigation(); | 94 void prepareForHistoryNavigation(); |
96 void setupForReplace(); | 95 void setupForReplace(); |
97 | 96 |
98 // FIXME: These are all functions which start loads. We have too many. | 97 // FIXME: These are all functions which start loads. We have too many. |
99 void loadURLIntoChildFrame(const KURL&, const String& referer, Frame*); | 98 void loadURLIntoChildFrame(const KURL&, const String& referer, Frame*); |
100 void loadFrameRequest(const FrameLoadRequest&, bool lockHistory, bool lockBa
ckForwardList, // Called by submitForm, calls loadPostRequest and loadURL. | 99 void loadFrameRequest(const FrameLoadRequest&, bool lockHistory, bool lockBa
ckForwardList, // Called by submitForm, calls loadPostRequest and loadURL. |
101 PassRefPtr<Event>, PassRefPtr<FormState>, ShouldSendReferrer); | 100 PassRefPtr<Event>, PassRefPtr<FormState>, ShouldSendReferrer); |
102 | 101 |
103 void load(const FrameLoadRequest&); | 102 void load(const FrameLoadRequest&); |
104 | 103 |
105 void loadArchive(PassRefPtr<MHTMLArchive>); | |
106 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); | 104 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); |
107 | 105 |
108 void changeLocation(SecurityOrigin*, const KURL&, const String& referrer, bo
ol lockHistory = true, bool lockBackForwardList = true, bool refresh = false); | 106 void changeLocation(SecurityOrigin*, const KURL&, const String& referrer, bo
ol lockHistory = true, bool lockBackForwardList = true, bool refresh = false); |
109 void urlSelected(const KURL&, const String& target, PassRefPtr<Event>, bool
lockHistory, bool lockBackForwardList, ShouldSendReferrer); | 107 void urlSelected(const KURL&, const String& target, PassRefPtr<Event>, bool
lockHistory, bool lockBackForwardList, ShouldSendReferrer); |
110 void submitForm(PassRefPtr<FormSubmission>); | 108 void submitForm(PassRefPtr<FormSubmission>); |
111 | 109 |
112 void reload(bool endToEndReload = false, const KURL& overrideURL = KURL(), c
onst String& overrideEncoding = String()); | 110 void reload(bool endToEndReload = false, const KURL& overrideURL = KURL(), c
onst String& overrideEncoding = String()); |
113 | 111 |
114 void loadItem(HistoryItem*, FrameLoadType); | 112 void loadItem(HistoryItem*, FrameLoadType); |
115 HistoryItem* requestedHistoryItem() const { return m_requestedHistoryItem.ge
t(); } | 113 HistoryItem* requestedHistoryItem() const { return m_requestedHistoryItem.ge
t(); } |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 // the frame name references a frame different from the openerFrame, e.g. when i
t is | 417 // the frame name references a frame different from the openerFrame, e.g. when i
t is |
420 // "_self" or "_parent". | 418 // "_self" or "_parent". |
421 // | 419 // |
422 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) | 420 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) |
423 // and moving it to a more appropriate location. | 421 // and moving it to a more appropriate location. |
424 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); | 422 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); |
425 | 423 |
426 } // namespace WebCore | 424 } // namespace WebCore |
427 | 425 |
428 #endif // FrameLoader_h | 426 #endif // FrameLoader_h |
OLD | NEW |