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

Side by Side Diff: Source/core/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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 // the frame name references a frame different from the openerFrame, e.g. when i t is 438 // the frame name references a frame different from the openerFrame, e.g. when i t is
441 // "_self" or "_parent". 439 // "_self" or "_parent".
442 // 440 //
443 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 441 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
444 // and moving it to a more appropriate location. 442 // and moving it to a more appropriate location.
445 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 443 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
446 444
447 } // namespace WebCore 445 } // namespace WebCore
448 446
449 #endif // FrameLoader_h 447 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698