Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: Source/WebCore/loader/FrameLoader.h

Issue 9617017: Merge 109480 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 void changeLocation(SecurityOrigin*, const KURL&, const String& referrer, bo ol lockHistory = true, bool lockBackForwardList = true, bool refresh = false); 113 void changeLocation(SecurityOrigin*, const KURL&, const String& referrer, bo ol lockHistory = true, bool lockBackForwardList = true, bool refresh = false);
114 void urlSelected(const KURL&, const String& target, PassRefPtr<Event>, bool lockHistory, bool lockBackForwardList, ShouldSendReferrer); 114 void urlSelected(const KURL&, const String& target, PassRefPtr<Event>, bool lockHistory, bool lockBackForwardList, ShouldSendReferrer);
115 void submitForm(PassRefPtr<FormSubmission>); 115 void submitForm(PassRefPtr<FormSubmission>);
116 116
117 void reload(bool endToEndReload = false); 117 void reload(bool endToEndReload = false);
118 void reloadWithOverrideEncoding(const String& overrideEncoding); 118 void reloadWithOverrideEncoding(const String& overrideEncoding);
119 119
120 void open(CachedFrameBase&); 120 void open(CachedFrameBase&);
121 void loadItem(HistoryItem*, FrameLoadType); 121 void loadItem(HistoryItem*, FrameLoadType);
122 HistoryItem* requestedHistoryItem() const { return m_requestedHistoryItem.ge t(); }
122 123
123 static void reportLocalLoadFailed(Frame*, const String& url); 124 static void reportLocalLoadFailed(Frame*, const String& url);
124 125
125 // FIXME: These are all functions which stop loads. We have too many. 126 // FIXME: These are all functions which stop loads. We have too many.
126 void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem) ; 127 void stopAllLoaders(ClearProvisionalItemPolicy = ShouldClearProvisionalItem) ;
127 void stopForUserCancel(bool deferCheckLoadComplete = false); 128 void stopForUserCancel(bool deferCheckLoadComplete = false);
128 void stop(); 129 void stop();
129 void stopLoading(UnloadEventPolicy); 130 void stopLoading(UnloadEventPolicy);
130 bool closeURL(); 131 bool closeURL();
131 void cancelAndClear(); 132 void cancelAndClear();
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 427
427 SandboxFlags m_forcedSandboxFlags; 428 SandboxFlags m_forcedSandboxFlags;
428 429
429 RefPtr<FrameNetworkingContext> m_networkingContext; 430 RefPtr<FrameNetworkingContext> m_networkingContext;
430 431
431 #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML) 432 #if ENABLE(WEB_ARCHIVE) || ENABLE(MHTML)
432 RefPtr<Archive> m_archive; 433 RefPtr<Archive> m_archive;
433 #endif 434 #endif
434 435
435 KURL m_previousUrl; 436 KURL m_previousUrl;
437 RefPtr<HistoryItem> m_requestedHistoryItem;
436 }; 438 };
437 439
438 // This function is called by createWindow() in JSDOMWindowBase.cpp, for example , for 440 // This function is called by createWindow() in JSDOMWindowBase.cpp, for example , for
439 // modal dialog creation. The lookupFrame is for looking up the frame name in c ase 441 // modal dialog creation. The lookupFrame is for looking up the frame name in c ase
440 // the frame name references a frame different from the openerFrame, e.g. when i t is 442 // the frame name references a frame different from the openerFrame, e.g. when i t is
441 // "_self" or "_parent". 443 // "_self" or "_parent".
442 // 444 //
443 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 445 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
444 // and moving it to a more appropriate location. 446 // and moving it to a more appropriate location.
445 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 447 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
446 448
447 } // namespace WebCore 449 } // namespace WebCore
448 450
449 #endif // FrameLoader_h 451 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698