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

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

Issue 13934004: Plumb an event through to content/ that is sent just before 'onload'. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « Source/WebCore/loader/EmptyClients.h ('k') | Source/WebCore/loader/FrameLoader.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 void setDefersLoading(bool); 203 void setDefersLoading(bool);
204 204
205 void didExplicitOpen(); 205 void didExplicitOpen();
206 206
207 // Callbacks from DocumentWriter 207 // Callbacks from DocumentWriter
208 void didBeginDocument(bool dispatchWindowObjectAvailable); 208 void didBeginDocument(bool dispatchWindowObjectAvailable);
209 209
210 void receivedFirstData(); 210 void receivedFirstData();
211 211
212 void willHandleOnloadEvents();
212 void handledOnloadEvents(); 213 void handledOnloadEvents();
213 String userAgent(const KURL&) const; 214 String userAgent(const KURL&) const;
214 215
215 void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*); 216 void dispatchDidClearWindowObjectInWorld(DOMWrapperWorld*);
216 void dispatchDidClearWindowObjectsInAllWorlds(); 217 void dispatchDidClearWindowObjectsInAllWorlds();
217 void dispatchDocumentElementAvailable(); 218 void dispatchDocumentElementAvailable();
218 219
219 // The following sandbox flags will be forced, regardless of changes to 220 // The following sandbox flags will be forced, regardless of changes to
220 // the sandbox attribute of any parent frames. 221 // the sandbox attribute of any parent frames.
221 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags; } 222 void forceSandboxFlags(SandboxFlags flags) { m_forcedSandboxFlags |= flags; }
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 // the frame name references a frame different from the openerFrame, e.g. when i t is 459 // the frame name references a frame different from the openerFrame, e.g. when i t is
459 // "_self" or "_parent". 460 // "_self" or "_parent".
460 // 461 //
461 // FIXME: Consider making this function part of an appropriate class (not FrameL oader) 462 // FIXME: Consider making this function part of an appropriate class (not FrameL oader)
462 // and moving it to a more appropriate location. 463 // and moving it to a more appropriate location.
463 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created); 464 Frame* createWindow(Frame* openerFrame, Frame* lookupFrame, const FrameLoadReque st&, const WindowFeatures&, bool& created);
464 465
465 } // namespace WebCore 466 } // namespace WebCore
466 467
467 #endif // FrameLoader_h 468 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « Source/WebCore/loader/EmptyClients.h ('k') | Source/WebCore/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698