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

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

Issue 14264012: Create errors (especially cancellation errors) internally to WebCore, rather (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 FrameState state() const { return m_state; } 153 FrameState state() const { return m_state; }
154 154
155 const ResourceRequest& originalRequest() const; 155 const ResourceRequest& originalRequest() const;
156 const ResourceRequest& initialRequest() const; 156 const ResourceRequest& initialRequest() const;
157 void receivedMainResourceError(const ResourceError&); 157 void receivedMainResourceError(const ResourceError&);
158 158
159 bool willLoadMediaElementURL(KURL&); 159 bool willLoadMediaElementURL(KURL&);
160 160
161 void handleFallbackContent(); 161 void handleFallbackContent();
162 162
163 ResourceError cancelledError(const ResourceRequest&) const;
164
165 bool isHostedByObjectElement() const; 163 bool isHostedByObjectElement() const;
166 bool isLoadingMainFrame() const; 164 bool isLoadingMainFrame() const;
167 165
168 bool isReplacing() const; 166 bool isReplacing() const;
169 void setReplacing(); 167 void setReplacing();
170 bool subframeIsLoading() const; 168 bool subframeIsLoading() const;
171 void didChangeTitle(DocumentLoader*); 169 void didChangeTitle(DocumentLoader*);
172 void didChangeIcons(IconType); 170 void didChangeIcons(IconType);
173 171
174 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; 172 bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 // the frame name references a frame different from the openerFrame, e.g. when i t is 443 // the frame name references a frame different from the openerFrame, e.g. when i t is
446 // "_self" or "_parent". 444 // "_self" or "_parent".
447 // 445 //
448 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 446 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
449 // and moving it to a more appropriate location. 447 // and moving it to a more appropriate location.
450 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 448 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
451 449
452 } // namespace WebCore 450 } // namespace WebCore
453 451
454 #endif // FrameLoader_h 452 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698