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

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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 FrameState state() const { return m_state; } 151 FrameState state() const { return m_state; }
152 152
153 const ResourceRequest& originalRequest() const; 153 const ResourceRequest& originalRequest() const;
154 const ResourceRequest& initialRequest() const; 154 const ResourceRequest& initialRequest() const;
155 void receivedMainResourceError(const ResourceError&); 155 void receivedMainResourceError(const ResourceError&);
156 156
157 bool willLoadMediaElementURL(KURL&); 157 bool willLoadMediaElementURL(KURL&);
158 158
159 void handleFallbackContent(); 159 void handleFallbackContent();
160 160
161 ResourceError cancelledError(const ResourceRequest&) const;
162
163 bool isHostedByObjectElement() const; 161 bool isHostedByObjectElement() const;
164 bool isLoadingMainFrame() const; 162 bool isLoadingMainFrame() const;
165 163
166 bool isReplacing() const; 164 bool isReplacing() const;
167 void setReplacing(); 165 void setReplacing();
168 bool subframeIsLoading() const; 166 bool subframeIsLoading() const;
169 void didChangeTitle(DocumentLoader*); 167 void didChangeTitle(DocumentLoader*);
170 void didChangeIcons(IconType); 168 void didChangeIcons(IconType);
171 169
172 bool shouldTreatURLAsSrcdocDocument(const KURL&) const; 170 bool shouldTreatURLAsSrcdocDocument(const KURL&) const;
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 // the frame name references a frame different from the openerFrame, e.g. when i t is 432 // the frame name references a frame different from the openerFrame, e.g. when i t is
435 // "_self" or "_parent". 433 // "_self" or "_parent".
436 // 434 //
437 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 435 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
438 // and moving it to a more appropriate location. 436 // and moving it to a more appropriate location.
439 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 437 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
440 438
441 } // namespace WebCore 439 } // namespace WebCore
442 440
443 #endif // FrameLoader_h 441 #endif // FrameLoader_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698