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

Side by Side Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 1910153002: Reland of DocumentLoader should commit the load before creating a DocumentWriter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 FrameLoadType loadType() const; 120 FrameLoadType loadType() const;
121 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; } 121 void setLoadType(FrameLoadType loadType) { m_loadType = loadType; }
122 122
123 FrameLoaderClient* client() const; 123 FrameLoaderClient* client() const;
124 124
125 void setDefersLoading(bool); 125 void setDefersLoading(bool);
126 126
127 void didExplicitOpen(); 127 void didExplicitOpen();
128 128
129 // Callbacks from DocumentWriter 129 // Callbacks from DocumentWriter
130 void didBeginDocument(bool dispatchWindowObjectAvailable); 130 void didInstallNewDocument(bool dispatchWindowObjectAvailable);
131
132 void didBeginDocument();
131 133
132 void receivedFirstData(); 134 void receivedFirstData();
133 135
134 String userAgent() const; 136 String userAgent() const;
135 137
136 void dispatchDidClearWindowObjectInMainWorld(); 138 void dispatchDidClearWindowObjectInMainWorld();
137 void dispatchDidClearDocumentOfWindowObject(); 139 void dispatchDidClearDocumentOfWindowObject();
138 void dispatchDocumentElementAvailable(); 140 void dispatchDocumentElementAvailable();
139 void runScriptsAtDocumentElementAvailable(); 141 void runScriptsAtDocumentElementAvailable();
140 142
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 280
279 SandboxFlags m_forcedSandboxFlags; 281 SandboxFlags m_forcedSandboxFlags;
280 282
281 bool m_dispatchingDidClearWindowObjectInMainWorld; 283 bool m_dispatchingDidClearWindowObjectInMainWorld;
282 bool m_protectProvisionalLoader; 284 bool m_protectProvisionalLoader;
283 }; 285 };
284 286
285 } // namespace blink 287 } // namespace blink
286 288
287 #endif // FrameLoader_h 289 #endif // FrameLoader_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/loader/DocumentLoader.cpp ('k') | third_party/WebKit/Source/core/loader/FrameLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698