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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 84 |
85 Frame* frame() const { return m_frame; } | 85 Frame* frame() const { return m_frame; } |
86 | 86 |
87 HistoryController* history() const { return &m_history; } | 87 HistoryController* history() const { return &m_history; } |
88 ResourceLoadNotifier* notifier() const { return &m_notifer; } | 88 ResourceLoadNotifier* notifier() const { return &m_notifer; } |
89 SubframeLoader* subframeLoader() const { return &m_subframeLoader; } | 89 SubframeLoader* subframeLoader() const { return &m_subframeLoader; } |
90 IconController* icon() const { return m_icon.get(); } | 90 IconController* icon() const { return m_icon.get(); } |
91 MixedContentChecker* mixedContentChecker() const { return &m_mixedContentChe
cker; } | 91 MixedContentChecker* mixedContentChecker() const { return &m_mixedContentChe
cker; } |
92 | 92 |
93 void prepareForHistoryNavigation(); | 93 void prepareForHistoryNavigation(); |
94 void setupForReplace(); | |
95 | 94 |
96 // FIXME: These are all functions which start loads. We have too many. | 95 // FIXME: These are all functions which start loads. We have too many. |
97 void loadURLIntoChildFrame(const ResourceRequest&, Frame*); | 96 void loadURLIntoChildFrame(const ResourceRequest&, Frame*); |
98 void loadFrameRequest(const FrameLoadRequest&, bool lockBackForwardList, //
Called by submitForm, calls loadPostRequest and loadURL. | 97 void loadFrameRequest(const FrameLoadRequest&, bool lockBackForwardList, //
Called by submitForm, calls loadPostRequest and loadURL. |
99 PassRefPtr<Event>, PassRefPtr<FormState>, ShouldSendReferrer); | 98 PassRefPtr<Event>, PassRefPtr<FormState>, ShouldSendReferrer); |
100 | 99 |
101 void load(const FrameLoadRequest&); | 100 void load(const FrameLoadRequest&); |
102 | 101 |
103 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); | 102 unsigned long loadResourceSynchronously(const ResourceRequest&, StoredCreden
tials, ResourceError&, ResourceResponse&, Vector<char>& data); |
104 | 103 |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 // the frame name references a frame different from the openerFrame, e.g. when i
t is | 386 // the frame name references a frame different from the openerFrame, e.g. when i
t is |
388 // "_self" or "_parent". | 387 // "_self" or "_parent". |
389 // | 388 // |
390 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) | 389 // FIXME: Consider making this function part of an appropriate class (not FrameL
oader) |
391 // and moving it to a more appropriate location. | 390 // and moving it to a more appropriate location. |
392 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); | 391 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque
st&, const WindowFeatures&, bool& created); |
393 | 392 |
394 } // namespace WebCore | 393 } // namespace WebCore |
395 | 394 |
396 #endif // FrameLoader_h | 395 #endif // FrameLoader_h |
OLD | NEW |